1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-03-09 00:18:26 +01:00

fix: test timing

This commit is contained in:
Fredrik Oseberg 2024-09-02 15:34:56 +02:00
parent eb55067983
commit 421267417c
No known key found for this signature in database
GPG Key ID: 816A423246CADD4E

View File

@ -151,7 +151,7 @@ export const addFlexibleRolloutStrategyToFeature_UI = (
cy.visit( cy.visit(
`/projects/${projectName}/features/${featureToggleName}/strategies/create?environmentId=${env}&strategyName=flexibleRollout`, `/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 // Takes a bit to load the screen - this will wait until it finds it or fail
cy.get('[data-testid=FLEXIBLE_STRATEGY_STICKINESS_ID]'); cy.get('[data-testid=FLEXIBLE_STRATEGY_STICKINESS_ID]');
if (ENTERPRISE) { if (ENTERPRISE) {