Skip to content

Commit 20e0ba2

Browse files
committed
Add wait in test to wait for search return
1 parent 5213bc8 commit 20e0ba2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cypress/integration/search-ui.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ describe(`${playground} playground test`, () => {
5353
it('click on facets', () => {
5454
const checkbox = `.ais-RefinementList-list .ais-RefinementList-checkbox`
5555
cy.get(checkbox).eq(1).click()
56+
cy.wait(1000)
5657
cy.get(HIT_ITEM_CLASS).eq(1).contains('Team Fortress Classic')
5758
cy.get(HIT_ITEM_CLASS).eq(1).contains('4.99 $')
5859
})

0 commit comments

Comments
 (0)