Fix Playwright E2E tests - SideEffects (https://github.com/woocommerce/woocommerce-blocks/pull/11638)
* Removed span text and test
This commit is contained in:
parent
948fc1ac53
commit
b3b52dbff4
|
@ -94,6 +94,5 @@ test.describe( 'Shopper → Checkout block → Shipping', () => {
|
|||
overrideBillingDetails
|
||||
);
|
||||
await pageObject.verifyAddressDetails( 'shipping' );
|
||||
await expect( page.getByText( FLAT_RATE_SHIPPING_NAME ) ).toBeVisible();
|
||||
} );
|
||||
} );
|
||||
|
|
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue