Skip to content

Commit

Permalink
Fixing #34 load event exception
Browse files Browse the repository at this point in the history
  • Loading branch information
shivamguys committed Apr 11, 2024
1 parent cadc6c9 commit 0c252a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/irctc.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { PASSENGER_DETAILS, SOURCE_STATION, DESTINATION_STATION, TRAIN_NO, TRAIN

describe('IRCTC TATKAL BOOKING', () => {
it('Tatkal Booking Begins......', () => {
// Catching Load Event Exception
// Catching Load Event Exception..
cy.on('fail', (err, runnable) => {
if (String(err).includes('Your page did not fire its `load` event')) {
return true
Expand Down

0 comments on commit 0c252a7

Please sign in to comment.