diff --git a/tests/e2e/tests/checkout/checkout-block-shipping.block_theme.side_effects.spec.ts b/tests/e2e/tests/checkout/checkout-block-shipping.block_theme.side_effects.spec.ts index b855a0ccc91..38570ab27e2 100644 --- a/tests/e2e/tests/checkout/checkout-block-shipping.block_theme.side_effects.spec.ts +++ b/tests/e2e/tests/checkout/checkout-block-shipping.block_theme.side_effects.spec.ts @@ -94,6 +94,5 @@ test.describe( 'Shopper → Checkout block → Shipping', () => { overrideBillingDetails ); await pageObject.verifyAddressDetails( 'shipping' ); - await expect( page.getByText( FLAT_RATE_SHIPPING_NAME ) ).toBeVisible(); } ); } ); diff --git a/tests/e2e/tests/checkout/checkout.page.ts b/tests/e2e/tests/checkout/checkout.page.ts index f0515402aa3..84f92ce6138 100644 --- a/tests/e2e/tests/checkout/checkout.page.ts +++ b/tests/e2e/tests/checkout/checkout.page.ts @@ -91,7 +91,7 @@ export class CheckoutPage { ...this.testData, ...overrideAddressDetails, }; - const selector = `.woocommerce-column--${ shippingOrBilling }-address`; + const selector = `.wc-block-order-confirmation-${ shippingOrBilling }-address`; const addressContainer = this.page.locator( selector ); await expect( addressContainer.getByText( customerAddressDetails.firstname )