Skip to content

cy.wait() always gives a timeout error: No request ever occurred. #3427

@t-zander

Description

@t-zander

Current behavior:

I am just following he tutorial at your site and there is a part when cy.wait('@alias') is shown.

On the video it worked fine, However I always getting an error

CypressError: Timed out retrying: cy.wait() timed out waiting 5000ms for the 1st request to the route: 'create'. No request ever occurred.

I have tried it both in my project and in your completed tutorial project
The error is present in both cases.

Here is an image
Request is going

When I don't use cy.wait() it seems to work fine

Can you help me with this please?

Desired behavior:

cy.wait should for the request to resolve

Versions

"cypress": "3.1.5",
Google Chrome Version 71.0.3578.98

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions