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'); }