diff --git a/tests/e2e/core-tests/specs/shopper/front-end-cart-redirection.test.js b/tests/e2e/core-tests/specs/shopper/front-end-cart-redirection.test.js index 2f6d637752c..bff1ada7665 100644 --- a/tests/e2e/core-tests/specs/shopper/front-end-cart-redirection.test.js +++ b/tests/e2e/core-tests/specs/shopper/front-end-cart-redirection.test.js @@ -31,6 +31,7 @@ const runCartRedirectionTest = () => { simplePostIdValue = await createSimpleProduct(); // Set checkbox in settings to enable cart redirection + await merchant.login(); await merchant.openSettings('products'); await setCheckbox('#woocommerce_cart_redirect_after_add'); await settingsPageSaveChanges(); diff --git a/tests/e2e/core-tests/specs/shopper/front-end-checkout-login-account.test.js b/tests/e2e/core-tests/specs/shopper/front-end-checkout-login-account.test.js index 8c287e72c70..6f8bf2b6b0a 100644 --- a/tests/e2e/core-tests/specs/shopper/front-end-checkout-login-account.test.js +++ b/tests/e2e/core-tests/specs/shopper/front-end-checkout-login-account.test.js @@ -29,6 +29,7 @@ const runCheckoutLoginAccountTest = () => { await createSimpleProduct(); // Set checkbox for logging to account during checkout + await merchant.login(); await merchant.openSettings('account'); await setCheckbox('#woocommerce_enable_checkout_login_reminder'); await settingsPageSaveChanges();