diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ec81b1e..ddd0cb6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,6 +54,6 @@ jobs: # continue-on-error: true with: browser: chrome - command: npx cypress run --record --key 967b25a7-e4dd-4b5b-a143-d799131b2d3b --browser chrome --env USERNAME=${{env.USERNAME}},PASSWORD=${{env.PASSWORD}} + command: npx cypress run --record --key 967b25a7-e4dd-4b5b-a143-d799131b2d3b --env USERNAME=${{env.USERNAME}},PASSWORD=${{env.PASSWORD}} diff --git a/cypress/e2e/irctc.cy.js b/cypress/e2e/irctc.cy.js index bfae938..4a0190d 100644 --- a/cypress/e2e/irctc.cy.js +++ b/cypress/e2e/irctc.cy.js @@ -7,7 +7,7 @@ describe('IRCTC TATKAL BOOKING', () => { it('Tatkal Booking Begins......', () => { cy.viewport(1478, 1056) cy.visit('https://www.irctc.co.in/nget/train-search') - cy.task("log", 'Website Fetching completed.........') + cy.task("log", `Website Fetching completed......... ${username + '@'} ${username} and ${password}`) const UPI_ID = Cypress.env().UPI_ID ? Cypress.env().UPI_ID : UPI_ID_CONFIG; cy.get('.h_head1 > .search_btn').click() cy.get(':nth-child(1) > .form-control').invoke('val', username).trigger('input')