Hi, I am using
cy.intercept('GET', 'URL').as('TestReq')
cy.visit('URL')
Cy.wait('@TestReq').then(({response}) => {
if(response.statusCode != 200) {
cy.reload();
cy.LoginToAppDev(loginURL, user);
}
})
In some cases, I get azure error, when I see the azure error, I am not seeing the request.
I want to know, how to proceed if there is no request in the network