From 8b217a684d29b56c1f43d405121c2b1efb125700 Mon Sep 17 00:00:00 2001 From: Avneet Raj Date: Wed, 10 Jan 2024 17:16:20 +0530 Subject: [PATCH] Update fork.cy.js Added one more test to check the number of container options available --- .../integration/5-AI-SiteGen-onboarding-flow/fork.cy.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/cypress/integration/5-AI-SiteGen-onboarding-flow/fork.cy.js b/tests/cypress/integration/5-AI-SiteGen-onboarding-flow/fork.cy.js index a5973464e..98b9db108 100644 --- a/tests/cypress/integration/5-AI-SiteGen-onboarding-flow/fork.cy.js +++ b/tests/cypress/integration/5-AI-SiteGen-onboarding-flow/fork.cy.js @@ -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';