Clean test
This commit is contained in:
parent
00578d472f
commit
bf12533f0f
|
@ -1,8 +1,3 @@
|
||||||
/**
|
|
||||||
* External dependencies
|
|
||||||
*/
|
|
||||||
import { withRestApi } from '@woocommerce/e2e-utils';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Internal dependencies
|
* Internal dependencies
|
||||||
*/
|
*/
|
||||||
|
@ -10,10 +5,6 @@ import { withRestApi } from '@woocommerce/e2e-utils';
|
||||||
import { OnboardingWizard } from '../../pages/OnboardingWizard';
|
import { OnboardingWizard } from '../../pages/OnboardingWizard';
|
||||||
import { WcHomescreen } from '../../pages/WcHomescreen';
|
import { WcHomescreen } from '../../pages/WcHomescreen';
|
||||||
import {
|
import {
|
||||||
removeAllOrders,
|
|
||||||
unhideTaskList,
|
|
||||||
runActionScheduler,
|
|
||||||
updateOption,
|
|
||||||
resetWooCommerceState,
|
resetWooCommerceState,
|
||||||
} from '../../fixtures';
|
} from '../../fixtures';
|
||||||
|
|
||||||
|
@ -35,11 +26,6 @@ const testAdminHomescreenWelcomeModal = () => {
|
||||||
} );
|
} );
|
||||||
|
|
||||||
afterAll( async () => {
|
afterAll( async () => {
|
||||||
await withRestApi.deleteAllProducts();
|
|
||||||
await removeAllOrders();
|
|
||||||
await unhideTaskList( 'setup' );
|
|
||||||
await runActionScheduler();
|
|
||||||
await updateOption( 'woocommerce_task_list_hidden', 'no' );
|
|
||||||
await login.logout();
|
await login.logout();
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue