diff --git a/frontend/cypress/integration/feature/feature.spec.ts b/frontend/cypress/integration/feature/feature.spec.ts index d52c7ecd55..7b12459141 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', () => {