1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-04 00:18:01 +01:00

Remove nested then

This commit is contained in:
Gastón Fournier 2024-09-02 14:31:59 +02:00
parent 36fc1f3609
commit 644285d686
No known key found for this signature in database
GPG Key ID: AF45428626E17A8E

View File

@ -56,21 +56,15 @@ describe('feature', () => {
); );
}); });
it('can add, update and delete a gradual rollout strategy to the development environment', () => { it(`can add, update and delete a gradual rollout strategy to the development environment (${projectName} ${featureToggleName})`, () => {
cy.log('Add a gradual rollout strategy to the development environment');
cy.addFlexibleRolloutStrategyToFeature_UI({ cy.addFlexibleRolloutStrategyToFeature_UI({
featureToggleName, featureToggleName,
project: projectName, project: projectName,
}).then(() => { });
cy.updateFlexibleRolloutStrategy_UI(
featureToggleName, cy.updateFlexibleRolloutStrategy_UI(featureToggleName, projectName);
projectName,
).then(() => cy.deleteFeatureStrategy_UI(featureToggleName, false, projectName);
cy.deleteFeatureStrategy_UI(
featureToggleName,
false,
projectName,
),
);
});
}); });
}); });