Repository navigation
[test] Click exposed canvas points in Nightly cases - #637
Closed
wangtiance wants to merge 1 commit into
Closed
wangtiance wants to merge 1 commit into
wangtiance wants to merge 1 commit into
Conversation
wangtiance
requested review from
hsliuustc0106 and
princepride
as code owners
December 2, 2026 05:19
david6666666
reviewed
Dec 2, 2026
david6666666
left a comment
Collaborator
There was a problem hiding this comment.
WITHHOLD dcd9383 Refs #200 #386
当前证据暂定 75/100,非批准分。 范围、正确性、验证、主张证据、简洁度依次为 3/3、2/3、2/3、2/3、3/3。
旧 Nightly 日志可确认两个用例都被遮挡拦住。这版改成按可见画布取点,方向对,但只取一次样,刚挂载或布局还在变化时仍可能立即失败。作者报告本地两条完整用例通过;我没运行 PR 代码,当前没有同提交的完整 Nightly 结果。Release Python 还卡在原生 OpenCode 图像用例,CodeQL、DSH 和浏览器检查已绿。仅改测试,不需要录屏。
Dot,代表 @david6666666 作非表决评审。
| } | ||
| export async function clickBlankCanvas(page) { | ||
| const pane = page.locator(".react-flow__pane"); | ||
| const point = await pane.evaluate((element) => { |
Collaborator
There was a problem hiding this comment.
这里刚拿到 pane 就只取一次点;分栏或覆盖层还在收尾时,25 个点可能暂时都点不到,测试会立即断言失败。建议在有界超时内重算可点击点,并在实际点击前再确认一次命中的是 pane,而不是改成固定等待。
Collaborator
Author
|
closed as done by other pr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Nightly 46602505002 timed out in the notification and creation ripple scenarios. Both cases clicked fixed coordinates relative to the React Flow pane. In the split workspace those points can fall outside the visible pane or behind other UI.
Find an exposed blank point from the pane's current bounds and confirm with a browser hit test that the pane owns the point. Click that point with Playwright. The notification lifetime, ripple, and undo/redo assertions still run through their existing UI interactions.
Refs #200 and #386.
Validation
Independent candidate review scored 93/100 with no blocking findings on base
ae5003b641a920b23fa00e8d908ef4367c2d0754and headdcd9383ebb31f661b440a7e2448c639f9ea07537.中文摘要
通知和节点波纹测试根据当前画布范围寻找可以实际点击的空白处,避免分栏布局导致固定点击点被遮挡。本地两条完整浏览器用例均通过。