Skip to content

Commit

Permalink
Update fork.cy.js
Browse files Browse the repository at this point in the history
Added one more test to check the number of container options available
  • Loading branch information
avneet-raj committed Jan 10, 2024
1 parent bef70c0 commit 8b217a6
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ describe( 'SiteGen Fork Step', function () {
cy.get( '.nfd-onboarding-step__heading__subtitle' ).should('be.visible');
} );

it ( 'Check the number of container options available', () => {
cy.get( '.nfd-onboarding-sitegen-options__container__options' )
.should( 'be.visible' )
.should('have.length', 3);
} );

it( 'Check for selection of different container options', () => {
let options = 0;
const className = '.nfd-onboarding-sitegen-options__container__options';
Expand Down

0 comments on commit 8b217a6

Please sign in to comment.