Skip to content

Commit

Permalink
NTR: revert cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalij Mik committed Oct 9, 2024
1 parent 0eaf0f7 commit 3008fc0
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ describe('Apple Pay Direct - UI Tests', () => {
topMenu.clickOnSecondCategory();
listing.clickOnFirstProduct();

repoPDP.getApplePayDirectButton().should('not.have.class', 'd-none');
repoPDP.getApplePayDirectButton().should('have.class', 'd-none');
})

})
Expand All @@ -304,7 +304,7 @@ describe('Apple Pay Direct - UI Tests', () => {
cy.visit('/');
topMenu.clickOnSecondCategory();

repoListing.getApplePayDirectButton().should('not.have.class', 'd-none');
repoListing.getApplePayDirectButton().should('have.class', 'd-none');
})
})

Expand Down Expand Up @@ -332,7 +332,7 @@ describe('Apple Pay Direct - UI Tests', () => {
listing.clickOnFirstProduct();
pdp.addToCart(1);

repoOffcanvas.getApplePayDirectButton().should('not.have.class', 'd-none');
repoOffcanvas.getApplePayDirectButton().should('have.class', 'd-none');
})

})
Expand Down Expand Up @@ -364,7 +364,7 @@ describe('Apple Pay Direct - UI Tests', () => {

checkout.goToCartInOffCanvas();

repoCart.getApplePayDirectButton().should('not.have.class', 'd-none');
repoCart.getApplePayDirectButton().should('have.class', 'd-none');
})

})
Expand Down

0 comments on commit 3008fc0

Please sign in to comment.