From df17ca7bcbcda3b213caee53b7014aa3d99c8e53 Mon Sep 17 00:00:00 2001 From: Vitalij Mik Date: Mon, 29 Jul 2024 16:05:19 +0200 Subject: [PATCH] NTR: fix cypress for 6.4 --- .../support/actions/storefront/checkout/CheckoutAction.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Cypress/cypress/support/actions/storefront/checkout/CheckoutAction.js b/tests/Cypress/cypress/support/actions/storefront/checkout/CheckoutAction.js index 6e0df1291..8b4d66b42 100644 --- a/tests/Cypress/cypress/support/actions/storefront/checkout/CheckoutAction.js +++ b/tests/Cypress/cypress/support/actions/storefront/checkout/CheckoutAction.js @@ -112,11 +112,11 @@ export default class CheckoutAction { changeBillingCountry(billingCountry){ - cy.get('.confirm-shipping-address a[data-address-editor]').click(); + cy.get('.js-confirm-overview-addresses .card:eq(0) .card-actions a[data-address-editor]').click(); cy.wait(2000); cy.get('.address-editor-edit').click(); cy.wait(1000); - cy.get('select#shipping-addressAddressCountry.country-select').eq(0).select(billingCountry); - cy.get('.address-form-actions button').eq(0).click(); + cy.get('select.country-select:eq(0)').select(billingCountry); + cy.get('.address-form-actions:eq(0) button').click(); } }