requestTimeout
and responseTimeout
should apply individually to each request in cy.wait([])
with array of requests
#6650
Labels
pkg/driver
This is due to an issue in the packages/driver directory
stage: proposal 💡
No work has been done of this issue
type: breaking change
Requires a new major release version
type: enhancement
Requested enhancement of existing feature
Current behavior:
cy.wait()
can be passed an array of aliases. This is good. However, it is not clear what the impact on the timeout is.cy.wait()
has 2 timeouts,requestTimeout
andresponseTimeout
.I guess that if before
requestTimeout
all aliases have matched, thency.wait()
will be happy. But what if only a few of the aliases have matched while others have not matched yet?From my experiment, passing several aliases to
cy.wait()
means:Desired behavior:
The current behavior makes sense but I was expecting a completely different semantics:
I think the documentation should be improved about that so I opened an issue on the cypress-documentation project.
Still, @jennifer-shehane believes that the semantics of
cy.wait()
could benefit from being changed to match what we both expect.More information about my context: #6563.
Versions
The text was updated successfully, but these errors were encountered: