From 84d6ae1075414eb35dbddd6078ee179405f4da22 Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Wed, 5 Jun 2024 11:58:51 +0200 Subject: [PATCH] chore: remove cypress tests for name validation --- .../cypress/integration/feature/feature.spec.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/frontend/cypress/integration/feature/feature.spec.ts b/frontend/cypress/integration/feature/feature.spec.ts index ec3dd69b80..5bc54f3e6b 100644 --- a/frontend/cypress/integration/feature/feature.spec.ts +++ b/frontend/cypress/integration/feature/feature.spec.ts @@ -29,20 +29,6 @@ describe('feature', () => { cy.url().should('include', featureToggleName); }); - it('gives an error if a toggle exists with the same name', () => { - cy.createFeature_UI(featureToggleName, false, projectName); - cy.get("[data-testid='INPUT_ERROR_TEXT']").contains( - 'A flag with that name already exists', - ); - }); - - it('gives an error if a toggle name is url unsafe', () => { - cy.createFeature_UI('featureToggleUnsafe####$#//', false, projectName); - cy.get("[data-testid='INPUT_ERROR_TEXT']").contains( - `"name" must be URL friendly`, - ); - }); - it('can add, update and delete a gradual rollout strategy to the development environment', () => { cy.addFlexibleRolloutStrategyToFeature_UI({ featureToggleName,