Skip to main content

Profile Save Flow Recycles DOM Nodes After Rerender

Med.AuthLocators

Mission

  • Incident

    Rerenders that recycle nodes are a classic source of flaky locators in mature settings flows

  • Goal

    Use resilient locators to trigger the real save action and verify the rerendered flow still ends in done

  • Pass condition

    Use the primary save action after rerender-safe targeting

What counts

  • Use the primary save action after rerender-safe targeting
  • idle before save
  • done after save lifecycle completes
Constraints1 rules + 1 mutation note

Rules

  • Do not couple selectors to transient node version wrappers

Mutation

  • Form node versions rotate v1 -> v2 -> v3 after attempts
Hint 1

Action: Use the primary save action after rerender-safe targeting.

Hint 2

Assertion: Assert idle before save.

Hint 3

Assertion: Assert done after save lifecycle completes.

0 Online

Code

Auto
Saved
Ln 1, Col 1
You need to log in / sign up to run or submit
Profile editorUpdate profile details and save securely.
idle