Merge pull request #29743 from woocommerce/fix/calculate-shipping-flakiness
Logout merchant and clear the cart before running tests
This commit is contained in:
commit
b1c6337c49
|
@ -61,6 +61,8 @@ const runCartCalculateShippingTest = () => {
|
|||
await page.select('select[name="add_method_id"]', 'local_pickup');
|
||||
await page.click('button#btn-ok');
|
||||
await page.waitForSelector('#zone_locations');
|
||||
await merchant.logout();
|
||||
await shopper.emptyCart();
|
||||
});
|
||||
|
||||
it('allows customer to calculate Free Shipping if in Germany', async () => {
|
||||
|
|
Loading…
Reference in New Issue