1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +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({
featureToggleName,
project: projectName,
}).then(() => {
cy.updateFlexibleRolloutStrategy_UI(
featureToggleName,
projectName,
).then(() =>
cy.deleteFeatureStrategy_UI(
featureToggleName,
false,
projectName,
),
);
});
cy.updateFlexibleRolloutStrategy_UI(featureToggleName, projectName);
cy.deleteFeatureStrategy_UI(featureToggleName, false, projectName);
});
});