Skip to content

Refactor menu nodes #7745

Refactor menu nodes

Refactor menu nodes #7745

Triggered via pull request January 3, 2025 14:26
Status Failure
Total duration 15m 58s
Artifacts 1

playwright.yml

on: pull_request
Playwright Tests (ubuntu-22.04, Node.js 18.x)
15m 50s
Playwright Tests (ubuntu-22.04, Node.js 18.x)
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 5 warnings, and 1 notice
../../src/tests/theia-preference-view.test.ts:41:9 › Preference View › should be able to read: examples/playwright/src/tests/theia-preference-view.test.ts#L1
1) ../../src/tests/theia-preference-view.test.ts:41:9 › Preference View › should be able to read, set, and reset String preferences Test timeout of 30000ms exceeded.
../../src/tests/theia-preference-view.test.ts:41:9 › Preference View › should be able to read: examples/playwright/src/theia-preference-view.ts#L230
1) ../../src/tests/theia-preference-view.test.ts:41:9 › Preference View › should be able to read, set, and reset String preferences Error: page.waitForSelector: Target page, context or browser has been closed Call log: - waiting for locator('li[data-command="preferences:reset"]') to be visible at ../../src/theia-preference-view.ts:230 228 | } 229 | await settingsContextMenuBtn.click(); > 230 | const resetPreferenceButton = await this.page.waitForSelector('li[data-command="preferences:reset"]'); | ^ 231 | if (!resetPreferenceButton) { 232 | throw new Error(`Could not find menu entry to reset preference with id "${preferenceId}"`); 233 | } at TheiaPreferenceView.findPreferenceResetButton (/home/runner/work/theia/theia/examples/playwright/src/theia-preference-view.ts:230:55) at TheiaPreferenceView.resetPreferenceById (/home/runner/work/theia/theia/examples/playwright/src/theia-preference-view.ts:188:39) at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-preference-view.test.ts:45:9
../../src/tests/theia-preference-view.test.ts:41:9 › Preference View › should be able to read: examples/playwright/src/tests/theia-preference-view.test.ts#L1
1) ../../src/tests/theia-preference-view.test.ts:41:9 › Preference View › should be able to read, set, and reset String preferences Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
../../src/tests/theia-preference-view.test.ts:41:9 › Preference View › should be able to read: examples/playwright/src/theia-preference-view.ts#L230
1) ../../src/tests/theia-preference-view.test.ts:41:9 › Preference View › should be able to read, set, and reset String preferences Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForSelector: Target page, context or browser has been closed Call log: - waiting for locator('li[data-command="preferences:reset"]') to be visible at ../../src/theia-preference-view.ts:230 228 | } 229 | await settingsContextMenuBtn.click(); > 230 | const resetPreferenceButton = await this.page.waitForSelector('li[data-command="preferences:reset"]'); | ^ 231 | if (!resetPreferenceButton) { 232 | throw new Error(`Could not find menu entry to reset preference with id "${preferenceId}"`); 233 | } at TheiaPreferenceView.findPreferenceResetButton (/home/runner/work/theia/theia/examples/playwright/src/theia-preference-view.ts:230:55) at TheiaPreferenceView.resetPreferenceById (/home/runner/work/theia/theia/examples/playwright/src/theia-preference-view.ts:188:39) at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-preference-view.test.ts:45:9
../../src/tests/theia-preference-view.test.ts:41:9 › Preference View › should be able to read: examples/playwright/src/tests/theia-preference-view.test.ts#L1
1) ../../src/tests/theia-preference-view.test.ts:41:9 › Preference View › should be able to read, set, and reset String preferences Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
../../src/tests/theia-preference-view.test.ts:41:9 › Preference View › should be able to read: examples/playwright/src/theia-preference-view.ts#L230
1) ../../src/tests/theia-preference-view.test.ts:41:9 › Preference View › should be able to read, set, and reset String preferences Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForSelector: Target page, context or browser has been closed Call log: - waiting for locator('li[data-command="preferences:reset"]') to be visible at ../../src/theia-preference-view.ts:230 228 | } 229 | await settingsContextMenuBtn.click(); > 230 | const resetPreferenceButton = await this.page.waitForSelector('li[data-command="preferences:reset"]'); | ^ 231 | if (!resetPreferenceButton) { 232 | throw new Error(`Could not find menu entry to reset preference with id "${preferenceId}"`); 233 | } at TheiaPreferenceView.findPreferenceResetButton (/home/runner/work/theia/theia/examples/playwright/src/theia-preference-view.ts:230:55) at TheiaPreferenceView.resetPreferenceById (/home/runner/work/theia/theia/examples/playwright/src/theia-preference-view.ts:188:39) at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-preference-view.test.ts:45:9
../../src/tests/theia-preference-view.test.ts:56:9 › Preference View › should be able to read: examples/playwright/src/tests/theia-preference-view.test.ts#L1
2) ../../src/tests/theia-preference-view.test.ts:56:9 › Preference View › should be able to read, set, and reset Boolean preferences Test timeout of 30000ms exceeded.
../../src/tests/theia-preference-view.test.ts:56:9 › Preference View › should be able to read: examples/playwright/src/theia-preference-view.ts#L230
2) ../../src/tests/theia-preference-view.test.ts:56:9 › Preference View › should be able to read, set, and reset Boolean preferences Error: page.waitForSelector: Target page, context or browser has been closed Call log: - waiting for locator('li[data-command="preferences:reset"]') to be visible at ../../src/theia-preference-view.ts:230 228 | } 229 | await settingsContextMenuBtn.click(); > 230 | const resetPreferenceButton = await this.page.waitForSelector('li[data-command="preferences:reset"]'); | ^ 231 | if (!resetPreferenceButton) { 232 | throw new Error(`Could not find menu entry to reset preference with id "${preferenceId}"`); 233 | } at TheiaPreferenceView.findPreferenceResetButton (/home/runner/work/theia/theia/examples/playwright/src/theia-preference-view.ts:230:55) at TheiaPreferenceView.resetPreferenceById (/home/runner/work/theia/theia/examples/playwright/src/theia-preference-view.ts:188:39) at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-preference-view.test.ts:60:9
../../src/tests/theia-preference-view.test.ts:56:9 › Preference View › should be able to read: examples/playwright/src/tests/theia-preference-view.test.ts#L1
2) ../../src/tests/theia-preference-view.test.ts:56:9 › Preference View › should be able to read, set, and reset Boolean preferences Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
../../src/tests/theia-preference-view.test.ts:56:9 › Preference View › should be able to read: examples/playwright/src/theia-preference-view.ts#L230
2) ../../src/tests/theia-preference-view.test.ts:56:9 › Preference View › should be able to read, set, and reset Boolean preferences Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForSelector: Target page, context or browser has been closed Call log: - waiting for locator('li[data-command="preferences:reset"]') to be visible at ../../src/theia-preference-view.ts:230 228 | } 229 | await settingsContextMenuBtn.click(); > 230 | const resetPreferenceButton = await this.page.waitForSelector('li[data-command="preferences:reset"]'); | ^ 231 | if (!resetPreferenceButton) { 232 | throw new Error(`Could not find menu entry to reset preference with id "${preferenceId}"`); 233 | } at TheiaPreferenceView.findPreferenceResetButton (/home/runner/work/theia/theia/examples/playwright/src/theia-preference-view.ts:230:55) at TheiaPreferenceView.resetPreferenceById (/home/runner/work/theia/theia/examples/playwright/src/theia-preference-view.ts:188:39) at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-preference-view.test.ts:60:9
Slow Test: src/tests/theia-quick-command.test.ts#L1
src/tests/theia-quick-command.test.ts took 46.6s
Slow Test: src/tests/theia-notebook-editor.test.ts#L1
src/tests/theia-notebook-editor.test.ts took 36.5s
Slow Test: src/tests/theia-workspace.test.ts#L1
src/tests/theia-workspace.test.ts took 25.6s
Slow Test: src/tests/theia-explorer-view.test.ts#L1
src/tests/theia-explorer-view.test.ts took 17.5s
Slow Test: src/tests/theia-text-editor.test.ts#L1
src/tests/theia-text-editor.test.ts took 17.4s
🎭 Playwright Run Summary
4 failed ../../src/tests/theia-preference-view.test.ts:41:9 › Preference View › should be able to read, set, and reset String preferences ../../src/tests/theia-preference-view.test.ts:56:9 › Preference View › should be able to read, set, and reset Boolean preferences ../../src/tests/theia-preference-view.test.ts:71:9 › Preference View › should be able to read, set, and reset Options preferences ../../src/tests/theia-toolbar.test.ts:59:9 › Theia Toolbar › should trigger the "Command Palette" toolbar tool as expect the command palette to open 3 skipped 87 passed (10.6m)

Artifacts

Produced during runtime
Name Size
playwright-test-results
3.39 MB