From 28dce7153453d79ae407097fa0186a279e57844b Mon Sep 17 00:00:00 2001 From: PioBar <72926984+Pio-Bar@users.noreply.github.com> Date: Tue, 16 Jul 2024 13:24:53 +0200 Subject: [PATCH] fix: (CXSPA-1001) - Fixed outdated selector (#19052) --- .../cypress/helpers/checkout-backoff.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/storefrontapp-e2e-cypress/cypress/helpers/checkout-backoff.ts b/projects/storefrontapp-e2e-cypress/cypress/helpers/checkout-backoff.ts index 722414aec01..4c0915bbd31 100644 --- a/projects/storefrontapp-e2e-cypress/cypress/helpers/checkout-backoff.ts +++ b/projects/storefrontapp-e2e-cypress/cypress/helpers/checkout-backoff.ts @@ -22,5 +22,5 @@ export function visitCheckoutDeliveryModePage() { ); cy.visit('/checkout/delivery-mode'); cy.wait(`@${deliveryModePage}`).its('response.statusCode').should('eq', 200); - cy.get('cx-delivery-mode h2').should('contain', 'Delivery Method'); + cy.get('cx-delivery-mode legend').should('contain', 'Delivery Method'); }