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', () => {