* Removed span text and test
This commit is contained in:
Paulo Arromba 2023-11-07 11:50:59 +00:00 committed by GitHub
parent 948fc1ac53
commit b3b52dbff4
2 changed files with 1 additions and 2 deletions

View File

@ -94,6 +94,5 @@ test.describe( 'Shopper → Checkout block → Shipping', () => {
overrideBillingDetails
);
await pageObject.verifyAddressDetails( 'shipping' );
await expect( page.getByText( FLAT_RATE_SHIPPING_NAME ) ).toBeVisible();
} );
} );

View File

@ -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 )