From c05f8ab3694dfcd4a0f1adcdfdbabe784d59bd7c Mon Sep 17 00:00:00 2001 From: Shivam Pandey Date: Tue, 9 Apr 2024 13:29:05 +0530 Subject: [PATCH] projectid changed --- .github/workflows/{main.yml => irctc.yml} | 6 +++--- cypress.config.js | 2 +- readme.md | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) rename .github/workflows/{main.yml => irctc.yml} (75%) diff --git a/.github/workflows/main.yml b/.github/workflows/irctc.yml similarity index 75% rename from .github/workflows/main.yml rename to .github/workflows/irctc.yml index 6a28fc7..f59bd40 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/irctc.yml @@ -1,4 +1,4 @@ -name: IRCTC Booking +name: IRCTC Automation Booking on: # schedule: @@ -24,7 +24,7 @@ jobs: - run: | pip install -r irctc-captcha-solver/requirements.txt python3 irctc-captcha-solver/app.py "" - # python3 irctc-captcha-solver/app.py --image-base-64 "" is used for models to load before starting tatkal tickets + # python3 irctc-captcha-solver/app.py "" is used for models to load before starting tatkal tickets - name: Install Node.js and npm uses: actions/setup-node@v4 @@ -36,4 +36,4 @@ jobs: # continue-on-error: true with: browser: chrome - command: npx cypress run --record --key 967b25a7-e4dd-4b5b-a143-d799131b2d3b --browser chrome --env USERNAME=${{secrets.USERNAME}},PASSWORD=${{secrets.PASSWORD}} + command: npx cypress run --record --key a15b31a6-b9ee-4678-b9ac-f45a190851fe --browser chrome --env USERNAME=${{secrets.USERNAME}},PASSWORD=${{secrets.PASSWORD}} diff --git a/cypress.config.js b/cypress.config.js index 3d26e04..87c4b41 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -1,7 +1,7 @@ const { defineConfig } = require("cypress"); module.exports = defineConfig({ - projectId: 'wy3npb', + projectId: '7afdkj', defaultCommandTimeout: 120000, // video: true, diff --git a/readme.md b/readme.md index fd07ff9..3bf1a3d 100644 --- a/readme.md +++ b/readme.md @@ -15,7 +15,7 @@ > activities. > ``` -[![IRCTC Automation](https://github.com/shivamguys/irctc-cypress-automation/actions/workflows/main.yml/badge.svg)](https://github.com/shivamguys/irctc-cypress-automation/actions/workflows/main.yml) +[![IRCTC Automation](https://github.com/shivamguys/irctc-cypress-automation/actions/workflows/irctc.yml/badge.svg)](https://github.com/shivamguys/irctc-cypress-automation/actions/workflows/irctc.yml) [![IRCTC Automation](https://img.shields.io/endpoint?url=https://cloud.cypress.io/badge/simple/7afdkj/main&style=for-the-badge&logo=cypress)](https://cloud.cypress.io/projects/7afdkj/runs) @@ -179,9 +179,9 @@ pip3 install -r irctc-captcha-solver/requirements.txt # <---- Make Sure You Run ``` #### Check If Everything Works Fine.... -This Would Print **No --image-base-64 provided** Which Means You Have Followed Correctly at this point. +This Would Print **No base-64 String provided** Which Means You Have Followed Correctly at this point. ``` -python irctc-captcha-solver/app.py --image-base-64 "" +python irctc-captcha-solver/app.py "" ```