From 49d1950ca4cd34df93f8e9065221ea51e2ff125d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Mon, 2 Sep 2024 16:48:18 +0200 Subject: [PATCH] Revert wait for 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 e682a579f0..54a66f8c77 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(10000); + cy.wait(500); // 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]');