Skip to content

fix(ci): use broader canvas selector in migration UI test_01 - #216

Merged
lice-reis merged 1 commit into
mainfrom
fix/migration-ui-canvas-selector
May 11, 2026
Merged

fix(ci): use broader canvas selector in migration UI test_01#216
lice-reis merged 1 commit into
mainfrom
fix/migration-ui-canvas-selector

Conversation

@lice-reis

Copy link
Copy Markdown
Collaborator

Problem

test_01_open_flow keeps failing: the .react-flow exact class selector no longer matches in the current nightly build. Tests 02–06 pass because they use text/attribute selectors, not CSS class names tied to ReactFlow internals.

Fix

  • Changed .react-flow[class*='react-flow'] (prefix match — covers react-flow, react-flow__renderer, react-flow__pane, etc.)
  • Added fallback to .generic-node, [data-testid*='node'], .node-card in case the prefix match also returns nothing

🤖 Generated with Claude Code

.react-flow exact class no longer matches in current nightly (ReactFlow
version bump changed class names). Use [class*='react-flow'] prefix
match with a fallback to generic node selectors.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@lice-reis
lice-reis merged commit 09635c0 into main May 11, 2026
2 checks passed
@Victor-w-Madeira
Victor-w-Madeira deleted the fix/migration-ui-canvas-selector branch May 18, 2026 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant