Skip to content

Commit 42edcde

Browse files
committed
Add a wait in cypress method resolving to fast
1 parent 1bf47bf commit 42edcde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cypress/integration/search-ui.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ describe(`${playground} playground test`, () => {
5555
const checkbox = `.ais-RefinementList-checkbox`
5656
const facetCount = '.ais-RefinementList-count'
5757
cy.get(facet).eq(0).find(checkbox).eq(1).click() // genres > action
58+
cy.wait(1000)
5859
cy.get(facet).eq(0).find(facetCount).eq(0).contains('5') // genres > action count
59-
6060
cy.get(facet).eq(1).find(facetCount).eq(0).contains('4') // players > multiplayer
6161
cy.wait(1000)
6262
})

0 commit comments

Comments
 (0)