Support manual override of text blocks #7772
playwright.yml
on: pull_request
Playwright Tests (ubuntu-22.04, Node.js 18.x)
12m 28s
Annotations
8 errors, 5 warnings, and 1 notice
../../src/tests/theia-quick-command.test.ts:49:9 › Theia Quick Command › should trigger 'About' command after typing:
examples/playwright/src/tests/theia-quick-command.test.ts#L1
1) ../../src/tests/theia-quick-command.test.ts:49:9 › Theia Quick Command › should trigger 'About' command after typing
Test timeout of 30000ms exceeded.
|
../../src/tests/theia-quick-command.test.ts:49:9 › Theia Quick Command › should trigger 'About' command after typing:
examples/playwright/src/theia-quick-command-palette.ts#L79
1) ../../src/tests/theia-quick-command.test.ts:49:9 › Theia Quick Command › should trigger 'About' command after typing
Error: elementHandle.$: Target page, context or browser has been closed
at ../../src/theia-quick-command-palette.ts:79
77 | throw new Error('No selected command found!');
78 | }
> 79 | return command.$('.monaco-list-row.focused .monaco-highlighted-label');
| ^
80 | }
81 |
82 | async visibleItems(): Promise<ElementHandle<SVGElement | HTMLElement>[]> {
at TheiaQuickCommandPalette.selectedCommand (/home/runner/work/theia/theia/examples/playwright/src/theia-quick-command-palette.ts:79:24)
at TheiaQuickCommandPalette.triggerSingleCommand (/home/runner/work/theia/theia/examples/playwright/src/theia-quick-command-palette.ts:57:24)
at TheiaQuickCommandPalette.trigger (/home/runner/work/theia/theia/examples/playwright/src/theia-quick-command-palette.ts:46:13)
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-quick-command.test.ts:51:9
|
../../src/tests/theia-quick-command.test.ts:49:9 › Theia Quick Command › should trigger 'About' command after typing:
examples/playwright/src/tests/theia-quick-command.test.ts#L1
1) ../../src/tests/theia-quick-command.test.ts:49:9 › Theia Quick Command › should trigger 'About' command after typing
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
../../src/tests/theia-quick-command.test.ts:49:9 › Theia Quick Command › should trigger 'About' command after typing:
examples/playwright/src/theia-quick-command-palette.ts#L75
1) ../../src/tests/theia-quick-command.test.ts:49:9 › Theia Quick Command › should trigger 'About' command after typing
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.waitForSelector: Target page, context or browser has been closed
Call log:
- waiting for locator('.quick-input-widget') to be visible
at ../../src/theia-quick-command-palette.ts:75
73 |
74 | protected async selectedCommand(): Promise<ElementHandle<SVGElement | HTMLElement> | null> {
> 75 | const command = await this.page.waitForSelector(this.selector);
| ^
76 | if (!command) {
77 | throw new Error('No selected command found!');
78 | }
at TheiaQuickCommandPalette.selectedCommand (/home/runner/work/theia/theia/examples/playwright/src/theia-quick-command-palette.ts:75:41)
at TheiaQuickCommandPalette.triggerSingleCommand (/home/runner/work/theia/theia/examples/playwright/src/theia-quick-command-palette.ts:57:35)
at TheiaQuickCommandPalette.trigger (/home/runner/work/theia/theia/examples/playwright/src/theia-quick-command-palette.ts:46:13)
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-quick-command.test.ts:51:9
|
../../src/tests/theia-quick-command.test.ts:49:9 › Theia Quick Command › should trigger 'About' command after typing:
examples/playwright/src/tests/theia-quick-command.test.ts#L1
1) ../../src/tests/theia-quick-command.test.ts:49:9 › Theia Quick Command › should trigger 'About' command after typing
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
../../src/tests/theia-quick-command.test.ts:49:9 › Theia Quick Command › should trigger 'About' command after typing:
examples/playwright/src/theia-quick-command-palette.ts#L79
1) ../../src/tests/theia-quick-command.test.ts:49:9 › Theia Quick Command › should trigger 'About' command after typing
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: elementHandle.$: Target page, context or browser has been closed
at ../../src/theia-quick-command-palette.ts:79
77 | throw new Error('No selected command found!');
78 | }
> 79 | return command.$('.monaco-list-row.focused .monaco-highlighted-label');
| ^
80 | }
81 |
82 | async visibleItems(): Promise<ElementHandle<SVGElement | HTMLElement>[]> {
at TheiaQuickCommandPalette.selectedCommand (/home/runner/work/theia/theia/examples/playwright/src/theia-quick-command-palette.ts:79:24)
at TheiaQuickCommandPalette.triggerSingleCommand (/home/runner/work/theia/theia/examples/playwright/src/theia-quick-command-palette.ts:57:24)
at TheiaQuickCommandPalette.trigger (/home/runner/work/theia/theia/examples/playwright/src/theia-quick-command-palette.ts:46:13)
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-quick-command.test.ts:51:9
|
../../src/tests/theia-notebook-editor.test.ts:101:9 › Theia Notebook Editor interaction › should split cell:
examples/playwright/src/tests/theia-notebook-editor.test.ts#L119
2) ../../src/tests/theia-notebook-editor.test.ts:101:9 › Theia Notebook Editor interaction › should split cell
Error: elementHandle.click: Element is not attached to the DOM
Call log:
- attempting click action
- waiting for element to be visible, enabled and stable
117 | const box = await line?.boundingBox();
118 | console.log(`Split cell test: visible = ${await line?.isVisible()}, box = {${box?.x},${box?.y},${box?.width},${box?.height}}`);
> 119 | await line!.click();
| ^
120 | await line!.press('ArrowRight');
121 |
122 | // split cell
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-notebook-editor.test.ts:119:21
|
Playwright Tests (ubuntu-22.04, Node.js 18.x)
Process completed with exit code 1.
|
Slow Test:
src/tests/theia-workspace.test.ts#L1
src/tests/theia-workspace.test.ts took 29.4s
|
Slow Test:
src/tests/theia-text-editor.test.ts#L1
src/tests/theia-text-editor.test.ts took 21.2s
|
Slow Test:
src/tests/theia-explorer-view.test.ts#L1
src/tests/theia-explorer-view.test.ts took 19.1s
|
Slow Test:
src/tests/theia-preference-view.test.ts#L1
src/tests/theia-preference-view.test.ts took 16.7s
|
Slow Test:
src/tests/theia-output-view.test.ts#L1
src/tests/theia-output-view.test.ts took 15.5s
|
🎭 Playwright Run Summary
1 failed
../../src/tests/theia-quick-command.test.ts:49:9 › Theia Quick Command › should trigger 'About' command after typing
1 flaky
../../src/tests/theia-notebook-editor.test.ts:101:9 › Theia Notebook Editor interaction › should split cell
3 skipped
89 passed (7.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-test-results
|
2.39 MB |
|