From 1e538d4d7cb94b7abea1a61dd61aa667f13bcca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Thu, 30 Nov 2023 18:05:19 +0100 Subject: [PATCH] Remove splash close and add always pull policy --- frontend/cypress/support/UI.ts | 3 +-- test-migrations/docker-compose.yml | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/cypress/support/UI.ts b/frontend/cypress/support/UI.ts index 54eedf70ab10..363eb9eeffee 100644 --- a/frontend/cypress/support/UI.ts +++ b/frontend/cypress/support/UI.ts @@ -124,7 +124,7 @@ export const addFlexibleRolloutStrategyToFeature_UI = ( const defaultStickiness = stickiness || 'default'; cy.visit(`/projects/${projectName}/features/${featureToggleName}`); - cy.get("[data-testid='CloseIcon']").click(); // Close splash + cy.intercept( 'POST', `/api/admin/projects/${projectName}/features/${featureToggleName}/environments/development/strategies`, @@ -324,7 +324,6 @@ export const deleteVariant_UI = ( ): Chainable => { const project = projectName || 'default'; cy.visit(`/projects/${project}/features/${featureToggleName}/variants`); - cy.get("[data-testid='CloseIcon']").click(); // Close splash cy.get('[data-testid=EDIT_VARIANTS_BUTTON]').click(); cy.wait(300); cy.get(`[data-testid=VARIANT_DELETE_BUTTON_${variant}]`).first().click(); diff --git a/test-migrations/docker-compose.yml b/test-migrations/docker-compose.yml index 273d0d6f097d..ee88f279da8b 100644 --- a/test-migrations/docker-compose.yml +++ b/test-migrations/docker-compose.yml @@ -4,6 +4,7 @@ services: # migrations container to be healthy. unleash: image: unleashorg/unleash-server:latest # this is the latest stable release + pull_policy: "always" ports: - "4242:4242" environment: