From 07edb2763a7cb97141b2d9a23a915a2a85a38831 Mon Sep 17 00:00:00 2001 From: sangeetha-nayak Date: Mon, 29 Apr 2024 15:43:30 +0530 Subject: [PATCH] Increase timeout on preview step --- .../integration/5-AI-SiteGen-onboarding-flow/7-editor.cy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cypress/integration/5-AI-SiteGen-onboarding-flow/7-editor.cy.js b/tests/cypress/integration/5-AI-SiteGen-onboarding-flow/7-editor.cy.js index 980f64f0c..449e590fa 100644 --- a/tests/cypress/integration/5-AI-SiteGen-onboarding-flow/7-editor.cy.js +++ b/tests/cypress/integration/5-AI-SiteGen-onboarding-flow/7-editor.cy.js @@ -15,13 +15,13 @@ describe( 'SiteGen Site Editor Step', function () { cy.visit( 'wp-admin/index.php?page=nfd-onboarding#/sitegen/step/preview' ); - cy.wait( 15000 ); + cy.wait( 10000 ); } ); it( 'Select any theme and go forward to the next step', () => { cy.get( '.live-preview-sitegen--selectable-card__live-preview-container__overlay', - { timeout: 10000 } + { timeout: 60000 } ) .eq( 0 ) .click();