reset onboarding on retest
This commit is contained in:
parent
614ae96516
commit
d129a980d9
|
@ -11,7 +11,7 @@ const { addConsoleSuppression, updateReadyPageStatus } = require( '@woocommerce/
|
|||
const { DEFAULT_TIMEOUT_OVERRIDE } = process.env;
|
||||
|
||||
// @todo: remove this once https://github.com/woocommerce/woocommerce-admin/issues/6992 has been addressed
|
||||
addConsoleSuppression( 'woocommerce_shared_settings' );
|
||||
addConsoleSuppression( 'woocommerce_shared_settings', false );
|
||||
|
||||
/**
|
||||
* Uses the WordPress API to delete all existing posts
|
||||
|
|
|
@ -2,6 +2,15 @@ const {
|
|||
testAdminOnboardingWizard,
|
||||
testSelectiveBundleWCPay,
|
||||
} = require( '@woocommerce/admin-e2e-tests' );
|
||||
const {
|
||||
withRestApi,
|
||||
IS_RETEST_MODE,
|
||||
} = require( '@woocommerce/e2e-utils' );
|
||||
|
||||
// Reset onboarding profile when re-running tests on a site
|
||||
if ( IS_RETEST_MODE ) {
|
||||
withRestApi.resetOnboarding();
|
||||
}
|
||||
|
||||
testAdminOnboardingWizard();
|
||||
testSelectiveBundleWCPay();
|
||||
|
|
Loading…
Reference in New Issue