diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5409be7..8a82011 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 "" is used for models to load before starting tatkal tickets - name: Install Node.js and npm uses: actions/setup-node@v4 @@ -36,6 +36,6 @@ 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 --browser chrome --env USERNAME=${{secrets.USERNAME}},PASSWORD=${{secrets.PASSWORD}} diff --git a/cypress/e2e/irctc.cy.js b/cypress/e2e/irctc.cy.js index f81e09c..a6d902b 100644 --- a/cypress/e2e/irctc.cy.js +++ b/cypress/e2e/irctc.cy.js @@ -231,8 +231,8 @@ describe('IRCTC TATKAL BOOKING', () => { // https://securegw.paytm.in/theia/processTransaction?orderid=100004437462426 cy.wait("@payment", { timeout: 200000 }).then((interception) => { - cy.task("log", interception) - cy.task("log", interception.response.body) + console.log(interception) + console.log(interception.response.body) // MAKE SURE UPI ID EXIST THEN PROCEED PLEASE FILL UPI_ID VALUE IN cypress/fixtures/passenger_data.json as something like this "123713278162@paytm" if (UPI_ID) { diff --git a/cypress/fixtures/passenger_data.json b/cypress/fixtures/passenger_data.json index 886ae48..36dc314 100644 --- a/cypress/fixtures/passenger_data.json +++ b/cypress/fixtures/passenger_data.json @@ -1,7 +1,7 @@ { "TRAIN_NO": "12274", "TRAIN_COACH": "SL", - "TRAVEL_DATE": "16/04/2024", + "TRAVEL_DATE": "16/06/2024", "SOURCE_STATION": "NDLS", "BOARDING_STATION": null, "DESTINATION_STATION": "PNBE",