Skip to content

Commit 58a9bdf

Browse files
committed
Update 8-restart-onboarding.cy.js
1 parent a5614d9 commit 58a9bdf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/cypress/integration/5-AI-SiteGen-onboarding-flow/8-restart-onboarding.cy.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ const {
55
} = require('../wp-module-support/single-events-track.cy');
66

77
describe('Restart Onboarding', function () {
8-
// Create the option for Restarting Onboarding
9-
cy.exec(
10-
`npx wp-env run cli wp option set nfd_module_onboarding_can_restart true`
11-
);
128
before(() => {
9+
// Create the option for Restarting Onboarding
10+
cy.exec(
11+
`npx wp-env run cli wp option set nfd_module_onboarding_can_restart true`
12+
);
1313
cy.visit('wp-admin/themes.php');
1414
cy.wait(2000);
1515
});

0 commit comments

Comments
 (0)