diff --git a/.github/workflows/irctc.yml b/.github/workflows/irctc.yml index 52b2c66..3d15d2e 100644 --- a/.github/workflows/irctc.yml +++ b/.github/workflows/irctc.yml @@ -30,6 +30,7 @@ jobs: cache: 'pip' # caching pip dependencies - run: | sudo timedatectl set-timezone Asia/Kolkata + pip install -r irctc-captcha-solver/requirements.txt python3 irctc-captcha-solver/app.py "" # python3 irctc-captcha-solver/app.py "" is used for models to load before starting tatkal tickets PASSWORD=$(jq -r '.inputs.PASSWORD' $GITHUB_EVENT_PATH) diff --git a/cypress.env.json b/cypress.env.json index a41937e..51c9875 100644 --- a/cypress.env.json +++ b/cypress.env.json @@ -1,5 +1,5 @@ { - "USERNAME": "Shivamguys", - "PASSWORD": "SHIVAMpandey1!", + "USERNAME": USERMKY", + "PASSWORD": "Yadav@2002", "MANUAL_CAPTCHA": false -} \ No newline at end of file +} diff --git a/cypress/fixtures/passenger_data.json b/cypress/fixtures/passenger_data.json index 9841d09..fab07e6 100644 --- a/cypress/fixtures/passenger_data.json +++ b/cypress/fixtures/passenger_data.json @@ -1,28 +1,21 @@ { - "TRAIN_NO": "13185", + "TRAIN_NO": "19408", "TRAIN_COACH": "3A", - "TRAVEL_DATE": "24/08/2024", - "SOURCE_STATION": "SDAH", + "TRAVEL_DATE": "30/11/2024", + "SOURCE_STATION": "BSB", "BOARDING_STATION": null, - "DESTINATION_STATION": "DBG", + "DESTINATION_STATION": "ADI", "TATKAL": true, "PREMIUM_TATKAL": false, - "UPI_ID_CONFIG": "", + "UPI_ID_CONFIG": "my6816063@oksbi", "PASSENGER_DETAILS": [ { - "NAME": "Shivam Pandey", - "AGE": 26, + "NAME": "Akshay Singh Yadav", + "AGE": 31, "GENDER": "Male", "SEAT": "No Preference", "FOOD": "No Food" }, - { - "NAME": "Shivam Dubey", - "AGE": 26, - "GENDER": "Female", - "SEAT": "No Preference", - "FOOD": "No Food" - } ], "__valid_coaches__": "SL | 2A | 3A | 3E | 1A | CC | EC | 2S", "__valid_seats__": "Lower | Middle | Upper | Side Lower | Side Upper | Window Side | No Preference",