Fix cy intercept

pull/2520/head
Jérémy Rialland 2023-03-01 11:04:35 +01:00 committed by Jérémy Rialland
parent ee5db7c7eb
commit c280fac70c
1 changed files with 3 additions and 1 deletions

View File

@ -53,7 +53,9 @@ describe('Landing page', function () {
req.responseTimeout = 10 * 1000
req.continue()
}
)
).as('search')
cy.wait('@search')
cy.get(searchResultsPath).children().should('have.length', 6)
cy.get(searchResultsPath).children().first().click()