Skip to content

Update react-flow#867

Merged
loichuder merged 1 commit into
mainfrom
reactflow-update
Jun 9, 2026
Merged

Update react-flow#867
loichuder merged 1 commit into
mainfrom
reactflow-update

Conversation

@loichuder

@loichuder loichuder commented Jun 8, 2026

Copy link
Copy Markdown
Member

Two things to fix:


The way nodes are rendered changed meaning we had to change how to address them in the tests. Previously, they were buttons with a label corresponding to the node label, now they are groups with empty labels. The fix is twofold:

  1. Add the ariaLabel to nodes ourselves using OnNodesChange: https://reactflow.dev/api-reference/types/on-nodes-change
  2. Put the way we address nodes in the test in a new command findNode that is changed to find group rather than button.

The MarkerType type did change to use a enum rather than strings. This has effect in both the conversion from Ewoks to ReactFlow edges and in the UI element that controls marker ends. I therefore put some logic in common to avoid duplicating the fix.

Base automatically changed from update-deps to main June 8, 2026 14:59
@loichuder loichuder force-pushed the reactflow-update branch 4 times, most recently from 39bc1a6 to 005b185 Compare June 9, 2026 09:47
Comment thread cypress.config.ts
fixturesFolder: false,
screenshotOnRunFailure: false,
defaultCommandTimeout: 10_000,
allowCypressEnv: false,

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixing a deprecation warning from Cypress

@loichuder loichuder requested a review from axelboc June 9, 2026 12:02
@loichuder loichuder merged commit f3db5a4 into main Jun 9, 2026
2 checks passed
@loichuder loichuder deleted the reactflow-update branch June 9, 2026 12:41
@loichuder loichuder mentioned this pull request Jun 9, 2026
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.

2 participants