Skip to content

fix: Anthropic request errors when using parallel tool calls #10289

fix: Anthropic request errors when using parallel tool calls

fix: Anthropic request errors when using parallel tool calls #10289

Triggered via pull request October 1, 2025 16:07
Status Success
Total duration 13m 34s
Artifacts 1

playwright.yml

on: pull_request
Playwright Tests (ubuntu-22.04, Node.js 22.x)
13m 30s
Playwright Tests (ubuntu-22.04, Node.js 22.x)
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 notice
src/tests/theia-toolbar.test.ts:36:9 › Theia Toolbar › should toggle the toolbar and check visibility: examples/playwright/src/theia-menu.ts#L58
3) src/tests/theia-toolbar.test.ts:36:9 › Theia Toolbar › should toggle the toolbar and check visibility Error: page.waitForSelector: Target page, context or browser has been closed Call log: - waiting for locator('.lm-Menu-content .lm-Menu-itemLabel').locator('text=Toggle Toolbar') to be visible at ../../src/theia-menu.ts:58 56 | 57 | async clickMenuItem(name: string): Promise<void> { > 58 | return (await this.page.waitForSelector(this.menuItemSelector(name))).click(); | ^ 59 | } 60 | 61 | async menuItemByName(name: string): Promise<TheiaMenuItem | undefined> { at TheiaMainMenu.clickMenuItem (/home/runner/work/theia/theia/examples/playwright/src/theia-menu.ts:58:33) at TheiaToolbar.toggle (/home/runner/work/theia/theia/examples/playwright/src/theia-toolbar.ts:52:24) at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-toolbar.test.ts:40:9
src/tests/theia-toolbar.test.ts:36:9 › Theia Toolbar › should toggle the toolbar and check visibility: examples/playwright/src/tests/theia-toolbar.test.ts#L0
3) src/tests/theia-toolbar.test.ts:36:9 › Theia Toolbar › should toggle the toolbar and check visibility Test timeout of 30000ms exceeded.
src/tests/theia-text-editor.test.ts:43:9 › Theia Text Editor › should be visible and active after opening "sample.txt": examples/playwright/src/theia-menu.ts#L76
2) src/tests/theia-text-editor.test.ts:43:9 › Theia Text Editor › should be visible and active after opening "sample.txt" Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: elementHandle.hover: Element is not attached to the DOM Call log: - attempting hover action - waiting for element to be visible and stable - element is not stable - retrying hover action - waiting for element to be visible and stable at ../../src/theia-menu.ts:76 74 | for (let index = 0; index < names.length; index++) { 75 | item = await this.page.waitForSelector(this.menuItemSelector(names[index]), { state: 'visible' }); > 76 | await item.hover(); | ^ 77 | } 78 | 79 | const menuItemHandle = await item?.$('xpath=..'); at TheiaMainMenu.menuItemByNamePath (/home/runner/work/theia/theia/examples/playwright/src/theia-menu.ts:76:24) at TheiaPreferenceView.open (/home/runner/work/theia/theia/examples/playwright/src/theia-preference-view.ts:98:20) at TheiaApp.openPreferences (/home/runner/work/theia/theia/examples/playwright/src/theia-app.ts:89:9) at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-text-editor.test.ts:34:32
src/tests/theia-text-editor.test.ts:43:9 › Theia Text Editor › should be visible and active after opening "sample.txt": examples/playwright/src/theia-menu.ts#L76
2) src/tests/theia-text-editor.test.ts:43:9 › Theia Text Editor › should be visible and active after opening "sample.txt" Error: elementHandle.hover: Element is not attached to the DOM Call log: - attempting hover action - waiting for element to be visible and stable - element is not stable - retrying hover action - waiting for element to be visible and stable at ../../src/theia-menu.ts:76 74 | for (let index = 0; index < names.length; index++) { 75 | item = await this.page.waitForSelector(this.menuItemSelector(names[index]), { state: 'visible' }); > 76 | await item.hover(); | ^ 77 | } 78 | 79 | const menuItemHandle = await item?.$('xpath=..'); at TheiaMainMenu.menuItemByNamePath (/home/runner/work/theia/theia/examples/playwright/src/theia-menu.ts:76:24) at TheiaPreferenceView.open (/home/runner/work/theia/theia/examples/playwright/src/theia-preference-view.ts:98:20) at TheiaApp.openPreferences (/home/runner/work/theia/theia/examples/playwright/src/theia-app.ts:89:9) at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-text-editor.test.ts:34:32
src/tests/theia-terminal-view.test.ts:37:9 › Theia Terminal View › should be possible to open a new terminal: examples/playwright/src/theia-app.ts#L153
1) src/tests/theia-terminal-view.test.ts:37:9 › Theia Terminal View › should be possible to open a new terminal Error: Menu item 'New Terminal' could not be found. at ../../src/theia-app.ts:153 151 | const menuItem = await mainMenu.menuItemByName('New Terminal'); 152 | if (!menuItem) { > 153 | throw Error('Menu item \'New Terminal\' could not be found.'); | ^ 154 | } 155 | 156 | const newTabIds = await this.runAndWaitForNewTabs(() => menuItem.click()); at TheiaApp.openTerminal (/home/runner/work/theia/theia/examples/playwright/src/theia-app.ts:153:19) at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-terminal-view.test.ts:38:26
🎭 Playwright Run Summary
3 flaky src/tests/theia-terminal-view.test.ts:37:9 › Theia Terminal View › should be possible to open a new terminal src/tests/theia-text-editor.test.ts:43:9 › Theia Text Editor › should be visible and active after opening "sample.txt" src/tests/theia-toolbar.test.ts:36:9 › Theia Toolbar › should toggle the toolbar and check visibility 3 skipped 88 passed (8.6m)

Artifacts

Produced during runtime
Name Size Digest
playwright-test-results Expired
1.51 MB
sha256:fd481e76bafd63bf5013192d672c24518e4c00e9329f2b3a4d779923eac89961