Added necessary merchant login calls
This commit is contained in:
parent
e7b8591d5c
commit
d66f1b7075
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue