Skip to content

Commit

Permalink
further simplify test - checking url should be sufficient
Browse files Browse the repository at this point in the history
we dont need to validate onboarding content thats already covered by onboarding and dependent on options and capabilities.
  • Loading branch information
circlecube committed Nov 6, 2024
1 parent 9cc5b56 commit 3bed08c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions tests/cypress/integration/notifications.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,8 @@ describe( 'Notifications', () => {
.should( 'be.visible' )
.and( 'contain', 'TRY NOW' )
.click();
cy.url().should(
'include',
'nfd-onboarding#/wp-setup/step'
);
cy.get( '.nfd-onboarding-sitegen-options__option--large' ).should(
'be.visible'
);
cy.get( '.ai-sitegen-modal' ).should( 'not.visible' );
cy.url().should( 'include', 'nfd-onboarding' );
} );

it( 'Should close the modal when NO THANKS button is clicked', () => {
Expand Down

0 comments on commit 3bed08c

Please sign in to comment.