From 421267417ce5b976f1a31e23de9dfec99f68906c Mon Sep 17 00:00:00 2001 From: Fredrik Oseberg Date: Mon, 2 Sep 2024 15:34:56 +0200 Subject: [PATCH] fix: test timing --- 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 d9801a4943..64cff31cf1 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(500); + cy.wait(8000); // Takes a bit to load the screen - this will wait until it finds it or fail cy.get('[data-testid=FLEXIBLE_STRATEGY_STICKINESS_ID]'); if (ENTERPRISE) {