Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 851ce15

Browse files
wavvvesmikejolley
authored andcommitted
fix verifyAddressDetails() selector
Revert "fix verifyAddressDetails() selector" This reverts commit f9e01d8. Revert "Revert "fix verifyAddressDetails() selector"" This reverts commit 24bba53. re-added "via xxx" span text on Order Confirmation Removed span text and test
1 parent 7a761c0 commit 851ce15

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tests/e2e/tests/checkout/checkout-block-shipping.block_theme.side_effects.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,5 @@ test.describe( 'Shopper → Checkout block → Shipping', () => {
9494
overrideBillingDetails
9595
);
9696
await pageObject.verifyAddressDetails( 'shipping' );
97-
await expect( page.getByText( FLAT_RATE_SHIPPING_NAME ) ).toBeVisible();
9897
} );
9998
} );

tests/e2e/tests/checkout/checkout.page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export class CheckoutPage {
9191
...this.testData,
9292
...overrideAddressDetails,
9393
};
94-
const selector = `.woocommerce-column--${ shippingOrBilling }-address`;
94+
const selector = `.wc-block-order-confirmation-${ shippingOrBilling }-address`;
9595
const addressContainer = this.page.locator( selector );
9696
await expect(
9797
addressContainer.getByText( customerAddressDetails.firstname )

0 commit comments

Comments
 (0)