This commit is contained in:
Mike Jolley 2023-06-14 16:59:21 +01:00 committed by GitHub
parent 31138031f6
commit c30c6afc53
1 changed files with 4 additions and 5 deletions

View File

@ -171,11 +171,10 @@ export const shopper = {
await uiUnblocked();
}
await page.waitForSelector( '.woocommerce-info' );
// eslint-disable-next-line jest/no-standalone-expect
await expect( page ).toMatchElement(
'.woocommerce-info.cart-empty'
);
// Wait for form to be hidden.
await page.waitForSelector( '.woocommerce-cart-form', {
hidden: true,
} );
},
placeOrder: async () => {