Merge branch 'e2e/e2e-fix-flaky-checkout-test' into e2e/e2e-merchant-initiate-wccom

This commit is contained in:
Veljko 2021-04-22 21:27:41 +02:00
commit 9e3a883478
1 changed files with 2 additions and 0 deletions

View File

@ -86,6 +86,8 @@ const runCheckoutApplyCouponsTest = () => {
});
it('allows customer to apply multiple coupons', async () => {
await page.reload();
await page.waitForSelector('.woocommerce-notices-wrapper');
await applyCoupon(couponFixedProduct);
await expect(page).toMatchElement('.woocommerce-message', {text: 'Coupon code applied successfully.'});