Skip to content

Commit 6ba4b72

Browse files
committed
Update tests to match new settings
1 parent e8f4ec9 commit 6ba4b72

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

cypress/integration/search-ui.spec.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,10 @@ describe(`${playground} playground test`, () => {
6161
cy.get(checkbox).eq(1).click()
6262
if (playground === 'react') cy.contains('1,939')
6363
if (playground === 'angular') cy.contains('1939')
64-
cy.get(HIT_ITEM_CLASS).eq(0).contains('Kings Quest Collection')
65-
cy.get(HIT_ITEM_CLASS).eq(0).contains('19.99 $')
64+
cy.get(HIT_ITEM_CLASS)
65+
.eq(0)
66+
.contains('Safecracker: The Ultimate Puzzle Adventure')
67+
cy.get(HIT_ITEM_CLASS).eq(0).contains('4.99 $')
6668
})
6769

6870
it('Search', () => {
@@ -92,7 +94,7 @@ describe(`${playground} playground test`, () => {
9294
if (playground === 'vue') cy.get('.ais-Pagination-item').eq(3).click()
9395
else cy.get('.ais-Pagination-item--page').eq(1).click()
9496
cy.wait(500)
95-
cy.get(HIT_ITEM_CLASS).eq(0).contains('Kings Quest Collection')
97+
cy.get(HIT_ITEM_CLASS).eq(0).contains('Darwinia')
9698
}
9799
})
98100
})

0 commit comments

Comments
 (0)