Focused crawls are collections of frequently-updated webcrawl data from narrow (as opposed to broad or wide) web crawls, often focused on a single domain or subdomain.
a wait that accepts an array of aliases, should return an array of Interception
This doesnt seem to be the case when the array has one interception. The then callback receives a response with a single interception, so either this is incorrect, or the type definition is incorrect
e.g. having cy.wait([@myIterception]).then((res) => ...) currently yields res as a single interception object
Desired behavior
cy.wait([@myIterception]).then((res) => ...) should yield res as a an array of Interception objects, granted it would be an array of one Interception
Test code to reproduce
.
Cypress Version
8.4.1
Other
No response
The text was updated successfully, but these errors were encountered:
Current behavior
According to the docs, https://docs.cypress.io/api/commands/wait#Aliases
and also the type definition for
wait()-a
waitthat accepts an array of aliases, should return an array ofInterceptionThis doesnt seem to be the case when the array has one interception. The
thencallback receives a response with a single interception, so either this is incorrect, or the type definition is incorrecte.g. having
cy.wait([@myIterception]).then((res) => ...)currently yieldsresas a single interception objectDesired behavior
cy.wait([@myIterception]).then((res) => ...)should yieldresas a an array ofInterceptionobjects, granted it would be an array of oneInterceptionTest code to reproduce
.
Cypress Version
8.4.1
Other
No response
The text was updated successfully, but these errors were encountered: