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:
parent
36fc1f3609
commit
644285d686
@ -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);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user