mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-05 17:53:12 +02:00
chore: remove cypress tests for name validation
This commit is contained in:
parent
a9f579f1d9
commit
84d6ae1075
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user