From 0574173496fbdc297cbc77c2a06c696c3c231ab3 Mon Sep 17 00:00:00 2001 From: Avneet Raj Date: Wed, 28 Feb 2024 16:44:46 +0530 Subject: [PATCH] remove back button in get started welcome step --- .../2-general-onboarding-flow/get-started-welcome.cy.js | 4 ++-- .../3-ecommerce-onboarding-flow/get-started-welcome.cy.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/cypress/integration/2-general-onboarding-flow/get-started-welcome.cy.js b/tests/cypress/integration/2-general-onboarding-flow/get-started-welcome.cy.js index c07993ab1..3d569ec7d 100644 --- a/tests/cypress/integration/2-general-onboarding-flow/get-started-welcome.cy.js +++ b/tests/cypress/integration/2-general-onboarding-flow/get-started-welcome.cy.js @@ -84,8 +84,8 @@ describe( 'Get Started Welcome Page', function () { GetPluginName(); } ); - it( 'Check navigation back is visible', () => { - cy.get( '.navigation-buttons_back' ).should('exist'); + it( 'Check navigation back is not visible', () => { + cy.get( '.navigation-buttons_back' ).should('not.exist'); } ); it( 'Check if next step loads on clicking navigation next', () => { diff --git a/tests/cypress/integration/3-ecommerce-onboarding-flow/get-started-welcome.cy.js b/tests/cypress/integration/3-ecommerce-onboarding-flow/get-started-welcome.cy.js index 6f24fc950..0752c9380 100644 --- a/tests/cypress/integration/3-ecommerce-onboarding-flow/get-started-welcome.cy.js +++ b/tests/cypress/integration/3-ecommerce-onboarding-flow/get-started-welcome.cy.js @@ -83,8 +83,8 @@ describe( 'Get Started Welcome Page', function () { GetPluginName(); } ); - it( 'Check navigation back is visible', () => { - cy.get( '.navigation-buttons_back' ).should( 'exist' ); + it( 'Check navigation back is not visible', () => { + cy.get( '.navigation-buttons_back' ).should( 'not.exist' ); } ); it( 'Check if next step loads on clicking navigation next', () => {