Fix spaces issue

This commit is contained in:
Veljko 2021-03-30 08:48:20 +02:00
parent 29ed6bd6e7
commit 0ee581e662
1 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@
createSimpleProduct,
uiUnblocked,
setCheckbox,
settingsPageSaveChanges,
settingsPageSaveChanges,
} = require( '@woocommerce/e2e-utils' );
/**
@ -28,9 +28,9 @@ const runCheckoutCreateAccountTest = () => {
beforeAll(async () => {
await merchant.login();
await createSimpleProduct();
await merchant.openSettings('account');
await setCheckbox('#woocommerce_enable_signup_and_login_from_checkout');
await settingsPageSaveChanges();
await merchant.openSettings('account');
await setCheckbox('#woocommerce_enable_signup_and_login_from_checkout');
await settingsPageSaveChanges();
await merchant.logout();
await shopper.goToShop();
await shopper.addToCartFromShopPage(simpleProductName);