From 3008fc03a6c4a5496220fe6a00e30fcd647caac5 Mon Sep 17 00:00:00 2001 From: Vitalij Mik Date: Wed, 9 Oct 2024 09:57:29 +0200 Subject: [PATCH] NTR: revert cypress --- .../e2e/storefront/payment-methods/applepay-direct.cy.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Cypress/cypress/e2e/storefront/payment-methods/applepay-direct.cy.js b/tests/Cypress/cypress/e2e/storefront/payment-methods/applepay-direct.cy.js index 0539ae0d6..0cc3608de 100644 --- a/tests/Cypress/cypress/e2e/storefront/payment-methods/applepay-direct.cy.js +++ b/tests/Cypress/cypress/e2e/storefront/payment-methods/applepay-direct.cy.js @@ -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'); }) }) @@ -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'); }) }) @@ -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'); }) }) @@ -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'); }) })