From af21ddcb00c264c5da69240d08e25b15aad24a9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20G=C3=B3is?= Date: Tue, 26 Nov 2024 15:40:16 +0000 Subject: [PATCH] test: fix feature e2e test by checking flag name in a td instead of url --- frontend/cypress/integration/feature/feature.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/cypress/integration/feature/feature.spec.ts b/frontend/cypress/integration/feature/feature.spec.ts index d52c7ecd5516..7b1245914189 100644 --- a/frontend/cypress/integration/feature/feature.spec.ts +++ b/frontend/cypress/integration/feature/feature.spec.ts @@ -53,7 +53,7 @@ describe('feature', () => { it('can create a feature flag', () => { cy.createFeature_UI(featureToggleName, true, projectName); - cy.url().should('include', featureToggleName); + cy.contains('td', featureToggleName).should('exist'); }); it('gives an error if a toggle exists with the same name', () => {