Clean test

This commit is contained in:
Fernando Marichal 2022-04-07 10:39:16 -03:00
parent 00578d472f
commit bf12533f0f
1 changed files with 0 additions and 14 deletions

View File

@ -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();
} ); } );