mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-26 13:48:33 +02:00
fix: demo flow step 4 is too eager on add strategy (#9771)
https://linear.app/unleash/issue/2-3512/bug-flow-2-enable-for-a-specific-user-doesnt-work https://linear.app/unleash/issue/2-3513/bug-flow-4-adjust-variants-doesnt-work Follow-up to #9770 This "add strategy" step of `demoApp.step4` was a bit too eager and did not properly wait for the accordion to be fully expanded. This change makes it consistent with the same step in `demoApp.step2`, also improving its "back" behavior.
This commit is contained in:
parent
aabb364415
commit
86cfb2f651
@ -495,7 +495,6 @@ export const TOPICS: ITutorialTopic[] = [
|
||||
delay: 500,
|
||||
},
|
||||
{
|
||||
href: `/projects/${PROJECT}/features/demoApp.step4`,
|
||||
target: `div[data-testid="FEATURE_ENVIRONMENT_ACCORDION_${ENVIRONMENT}"] button[data-testid="ADD_STRATEGY_BUTTON"]`,
|
||||
content: (
|
||||
<Description>
|
||||
@ -503,6 +502,8 @@ export const TOPICS: ITutorialTopic[] = [
|
||||
button.
|
||||
</Description>
|
||||
),
|
||||
delay: 500,
|
||||
backCollapseExpanded: true,
|
||||
},
|
||||
{
|
||||
target: `a[href="${basePath}/projects/${PROJECT}/features/demoApp.step4/strategies/create?environmentId=${ENVIRONMENT}&strategyName=flexibleRollout&defaultStrategy=true"]`,
|
||||
|
Loading…
Reference in New Issue
Block a user