Closed shivamguys closed 4 months ago
describe('IRCTC TATKAL BOOKING', () => {
it('Tatkal Booking Begins......', () => {
// Catching Load Event Exception..
cy.on('fail', (err, runnable) => {
if (String(err).includes('Your page did not fire its `load` event')) {
return true
}
else {
return false
}
})
Fixed.....
Describe the bug
despite page half being loaded but scripts and stylesheets takes some time to load and thus causing load event error
Screenshots![image](https://github.com/shivamguys/irctc-cypress-automation/assets/25263989/b48755e0-46d9-4b03-87a7-847a5ad64831)