Skip to content

Commit

Permalink
set coming soon to true before test
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Aug 15, 2023
1 parent 5f0365f commit d7368f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/cypress/integration/coming-soon.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ describe('Coming Soon', function () {
let appClass = '.' + Cypress.env('appId');

before(() => {
// Set coming soon to true
cy.exec(`npx wp-env run cli wp option update nfd_coming_soon true`);

cy.visit('/wp-admin/admin.php?page=' + Cypress.env('pluginId') + '#/settings');
cy.injectAxe();
});
Expand Down

0 comments on commit d7368f6

Please sign in to comment.