From 2707d97d2af750124a61627c398fe98ccc9c1e93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Mon, 2 Sep 2024 15:22:13 +0200 Subject: [PATCH] Wait 10s --- frontend/cypress/support/UI.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/cypress/support/UI.ts b/frontend/cypress/support/UI.ts index 7830e4d52d..e682a579f0 100644 --- a/frontend/cypress/support/UI.ts +++ b/frontend/cypress/support/UI.ts @@ -151,7 +151,7 @@ export const addFlexibleRolloutStrategyToFeature_UI = ( cy.visit( `/projects/${projectName}/features/${featureToggleName}/strategies/create?environmentId=${env}&strategyName=flexibleRollout`, ); - cy.wait(1000); + cy.wait(10000); // Takes a bit to load the screen - this will wait until it finds it or fail console.log('Waiting for strategy to load'); cy.get('[data-testid=FLEXIBLE_STRATEGY_STICKINESS_ID]');