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

Commit

Permalink
Fix local pickup e2e test (#9643)
Browse files Browse the repository at this point in the history
Co-authored-by: Niels Lange <[email protected]>
  • Loading branch information
tarhi-saad and nielslange authored Jun 1, 2023
1 parent f85b97c commit fcf200e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/specs/shopper/cart-checkout/checkout.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ describe( 'Shopper → Checkout', () => {
* but cannot be reproduced manually.
*/
// eslint-disable-next-line jest/no-disabled-tests
it.skip( 'Switching between local pickup and shipping does not affect the address', async () => {
it( 'Switching between local pickup and shipping does not affect the address', async () => {
await shopper.block.emptyCart();
await shopper.block.goToShop();
await shopper.addToCartFromShopPage( SIMPLE_PHYSICAL_PRODUCT_NAME );
Expand All @@ -157,7 +157,7 @@ describe( 'Shopper → Checkout', () => {
);

await page.waitForXPath(
`//div[contains(@class, "wc-block-components-totals-item__description")][contains(text(), "${ NORMAL_SHIPPING_NAME }")]`
`//span[contains(@class, "wc-block-components-radio-control__label")][contains(text(), "${ NORMAL_SHIPPING_NAME }")]`
);

const enteredEmail = await page.evaluate( () => {
Expand Down

0 comments on commit fcf200e

Please sign in to comment.