You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(e2e): replace clickNextDiagramPlus with explicit diagram link indices
The default automation template wraps the function body in a do/on fail
Error Handler block. clickNextDiagramPlus (hover-last-link strategy) was
always landing on the function-level link AFTER the Error Handler, placing
Match, Log Error, Log Warn, and While outside the do block — making count
invisible to those nodes and causing "undefined symbol 'count'".
Replace all four clickNextDiagramPlus calls with targeted actions:
- Match: clickHoverAddButtonByIndex(5) — link after If, inside do block
- Log Error: click last empty-node-add-button — Match 1=> clause is last
- Log Warn: clickHoverAddButtonByIndex(7) — inside Match after Log Error
- While: clickHoverAddButtonByIndex(6) — after Match, inside do block
Remove the now-unused clickNextDiagramPlus helper entirely.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments