Closed
Description
- Operating System:OSX
- Cypress Version:19.4
- Browser Version:Chrome 58.0.3029.110
Is this a Feature or Bug?
Bug
Current behavior:
CypressError: Timed out retrying: cy.wait() timed out waiting 5000ms for the 1st request to the route: 'submit'. No request ever occured.
Desired behavior:
Explict wait should work
How to reproduce:
Test code:
The endpoint on which I want to apply explicit wait is
api/v1/account/a5f35b5f-bc8f-4c7b-a79d-68950dc2fcb7/submit
api/v1/account/<unique application id for every request>/submit
cy.server()
//Tried Regex and Glob one at a time and not all together
cy.route(//api/v1/account/./submit/).as('submit')
cy.route('/api/v1/account/**').as('submit')
cy.route('/api/v1/account//submit').as('submit')
cy.get('button').click()
cy.wait('@submit').its('url').should('verify/complete')
Additional Info (images, stack traces, etc)
Metadata
Metadata
Assignees
Labels
No labels