Skip to content

Commit 333676b

Browse files
committed
GH-1765 Fixing assertions
1 parent a285584 commit 333676b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/storefrontapp-e2e-cypress/cypress/helpers/product-search-rating-flow.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ export function productRatingFlow(mobile?: string) {
2222
cy.get('.page-item:last-of-type .page-link:first').click();
2323
cy.get('.page-item.active > .page-link').should('contain', '2');
2424

25-
cy.get('cx-product-list-item:nth-child(1)').should('contain', 'DSC-WX1');
25+
cy.get('cx-product-list-item:nth-child(1)').should('contain', 'DSC-W180');
2626

2727
// Sort by top rated
2828
cy.get('cx-sorting .ng-select:first').ngSelect(
2929
PRODUCT_LISTING.SORTING_TYPES.BY_TOP_RATED
3030
);
3131
cy.get('.page-item.active > .page-link').should('contain', '2');
32-
cy.get('cx-product-list-item:first').should('contain', 'DSC-H20_MD');
32+
cy.get('cx-product-list-item:first').should('contain', 'DSC-WX1');
3333

3434
// Navigate to previous page
3535
cy.get('.page-item:first-of-type .page-link:first').click();

0 commit comments

Comments
 (0)