Skip to content

Commit

Permalink
PRESSO-2083: skip for non bluehost brand
Browse files Browse the repository at this point in the history
  • Loading branch information
Amrutha Bhat Shivaswamy committed Sep 18, 2024
1 parent 3dc00f6 commit 527a653
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/cypress/integration/Migration/migrationAM.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ describe(
{ testIsolation: true },
() => {
before( () => {
wpLogin();

if ( pluginId !== 'bluehost' ) {
this.skip();
}
wpLogin();

cy.exec(
`npx wp-env run cli wp option set nfd_migrate_site "true"`
);
Expand All @@ -25,6 +25,9 @@ describe(
} );

it('Verify Migration page is loaded', ()=>{
if ( pluginId !== 'bluehost' ) {
this.skip();
}
cy.intercept(
'GET',
'https://migrate.bluehost.com/api/v2/initial-data'
Expand Down

0 comments on commit 527a653

Please sign in to comment.