Skip to content

Commit

Permalink
Merge pull request #420 from newfold-labs/update/testisolation
Browse files Browse the repository at this point in the history
update Cypress test with testIsolation
  • Loading branch information
circlecube authored Jan 29, 2025
2 parents d24cc69 + a882833 commit f807d21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cypress/integration/Home/ecommerce-next-steps.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const customCommandTimeout = 20000;
const pluginId = GetPluginId();
const hg_region = 'br';

describe( 'e-commerce Home Page- Next Steps', () => {
describe( 'e-commerce Home Page- Next Steps', { testIsolation: true }, () => {
const step_id = [
'add-a-new-page-to-your-site',
'upload-media-to-your-site',
Expand All @@ -29,7 +29,7 @@ describe( 'e-commerce Home Page- Next Steps', () => {
...novice_step_id,
];

before( () => {
beforeEach( () => {
wpLogin();
cy.exec( `npx wp-env run cli wp plugin deactivate woocommerce`, {
failOnNonZeroExit: false,
Expand Down

0 comments on commit f807d21

Please sign in to comment.