-
Notifications
You must be signed in to change notification settings - Fork 366
Fix/toolbox node detection #5361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🎭 Playwright Test Results✅ All tests passed across all browsers! ⏰ Completed at: 09/05/2025, 12:12:08 AM UTC 📊 Test Reports by Browser🎉 Your tests are passing across all browsers! |
You can still click the buttons though, right? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming this was tested manually and the Playwright tests cover it otherwise 👍🏻
Looks like playwright is failing due to an item within the toolbox, color picker. Checking out main, it is broken there as well. Not sure how its in main if playwright caught it here. Undoing my changes still shows it broken... I have a fix but not sure if I should roll it into this PR to appease playwright. Edit: patching now to pass tests. Will improve in a follow up. |
...ionToolbox.spec.ts-snapshots/selection-toolbox-multiple-selections-border-chromium-linux.png
Show resolved
Hide resolved
b1b404e
to
2cb5e63
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Went through the test logic with @simula-r , some of the fixture behavior doesn't match the comments' declared intent. Should be looked at later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Context on misleading test snapshot filename:
It clicks both text encode nodes
And the test implies that it's going to select the KSampler when in reality the select deselects the KSampler
Checking for the selection box's appearance and disappearance could catch a real issue
nit: A TODO or comment or change filename would be good
* refactor: dont need will change on animations * fix: by disabling parent pointer events and forcing on child element * fix: color picker watch with immediate option * Update test expectations [skip ci] --------- Co-authored-by: Jake Schroeder <[email protected]> Co-authored-by: github-actions <[email protected]>
* refactor: dont need will change on animations * fix: by disabling parent pointer events and forcing on child element * fix: color picker watch with immediate option * Update test expectations [skip ci] --------- Co-authored-by: Simula_r <[email protected]> Co-authored-by: Jake Schroeder <[email protected]> Co-authored-by: github-actions <[email protected]>
* refactor: dont need will change on animations * fix: by disabling parent pointer events and forcing on child element * fix: color picker watch with immediate option * Update test expectations [skip ci] --------- Co-authored-by: Jake Schroeder <[email protected]> Co-authored-by: github-actions <[email protected]>
Summary
Fix pointer events on SelectionToolbox to prevent unintended clicks on parent container by setting pointer-events: none on parent and pointer-events: auto on child Panel.
Review Focus
Fixes #5340
Screenshots (if applicable)
┆Issue is synchronized with this Notion page by Unito