From 2ae37c88aef6f7795f5c4bb31773dd93018088bb Mon Sep 17 00:00:00 2001 From: Kieran Osgood Date: Tue, 18 Aug 2026 11:25:49 +0100 Subject: [PATCH] fix(e2e): configure the billing postal label --- e2e/flows/checkout/fill-billing-address.yaml | 2 +- e2e/tests/shared/checkout-hardcoded-buyer-identity.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/e2e/flows/checkout/fill-billing-address.yaml b/e2e/flows/checkout/fill-billing-address.yaml index 8e7ffc9a9..1519aff0a 100644 --- a/e2e/flows/checkout/fill-billing-address.yaml +++ b/e2e/flows/checkout/fill-billing-address.yaml @@ -37,7 +37,7 @@ appId: ${E2E_APP_ID} - inputText: "${BILLING_CITY}" - runFlow: dismiss-active-field.yaml - tapOn: - text: "^Postal code$" + text: "^${BILLING_POSTAL_FIELD_LABEL}$" - inputText: "${BILLING_POSTAL_CODE}" - runFlow: dismiss-active-field.yaml - waitForAnimationToEnd diff --git a/e2e/tests/shared/checkout-hardcoded-buyer-identity.yaml b/e2e/tests/shared/checkout-hardcoded-buyer-identity.yaml index fb4719ace..ffba5d9c1 100644 --- a/e2e/tests/shared/checkout-hardcoded-buyer-identity.yaml +++ b/e2e/tests/shared/checkout-hardcoded-buyer-identity.yaml @@ -25,6 +25,7 @@ env: BILLING_LAST_NAME: "Shopify" BILLING_ADDRESS_LINE1: "620 King Street West" BILLING_CITY: "Toronto" + BILLING_POSTAL_FIELD_LABEL: "Postal code" BILLING_POSTAL_CODE: "M5V 1M7" # Accepted successful checkout states for this smoke test.