fix(web): pass screen context to embedded menu operators
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

- Add screen=window.screen to the desktop_operator temp_override and invoke
  repeat-last/history with a VIEW_3D area. repeat_last still requires a WM
  runtime operator stack, which the embedded host does not retain; recorded
  as a residual.
- Refresh WebEngine wasm (58325d97) and record view-layer add/remove and
  repeat-last evidence. Acceptance remains NOT_CLAIMED.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
mes123456
2026-11-14 06:22:28 +08:00
parent 8101c009d8
commit 03c7e4ac74
9 changed files with 118 additions and 30 deletions

View File

@@ -61,12 +61,8 @@ try {
await menu("添加", "网格");
await page.getByRole("menuitem", { name: "圆环", exact: true }).click();
await page.waitForTimeout(1500);
const ground = page.locator('[role="treeitem"][aria-label="PBR Studio Ground"]').first();
const circle = page.locator('[role="treeitem"][aria-label="Circle"]').first();
await circle.click();
await page.waitForTimeout(800);
await ground.click({ modifiers: ["Shift"] });
await page.waitForTimeout(1000);
await page.getByRole("button", { name: "全选大纲对象", exact: true }).click();
await page.waitForTimeout(1500);
log("selected", JSON.stringify(await parentState()));
await menu("物体", "父级");
await page.getByRole("menuitem", { name: "设定父级", exact: true }).click();