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:
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({
|
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,
|
|
||||||
),
|
|
||||||
);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user