Record 29-workbench GUI parity baseline
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -36,7 +36,7 @@ const response = await page.goto(url, { waitUntil: "domcontentloaded", timeout:
|
||||
await page.waitForSelector('select[aria-label="Workbench"]', { timeout: 120000 }).catch(() => {});
|
||||
await page.waitForTimeout(1500);
|
||||
if (workbench !== "Part") {
|
||||
await page.locator('nav[aria-label="Application menus"] details').filter({ hasText: "File" }).locator("summary").click();
|
||||
await page.locator('nav[aria-label="Application menus"] > details').first().locator(':scope > summary').click();
|
||||
await page.getByRole("button", { name: "新建 Document", exact: true }).click();
|
||||
await page.waitForTimeout(1800);
|
||||
await page.evaluate(() => { for (const details of document.querySelectorAll('nav[aria-label="Application menus"] details[open]')) details.open = false; });
|
||||
|
||||
Reference in New Issue
Block a user