Playwright Tests #337
playwright.yml
on: schedule
Playwright Tests (ubuntu-latest, Node.js 18.x)
11m 24s
Annotations
9 errors, 6 warnings, and 1 notice
../../src/tests/theia-output-view.test.ts:51:9 › Theia Output View › should select a test output channel:
examples/playwright/src/tests/theia-output-view.test.ts#L1
1) ../../src/tests/theia-output-view.test.ts:51:9 › Theia Output View › should select a test output channel
Test timeout of 30000ms exceeded.
|
../../src/tests/theia-output-view.test.ts:51:9 › Theia Output View › should select a test output channel:
examples/playwright/src/theia-view.ts#L75
1) ../../src/tests/theia-output-view.test.ts:51:9 › Theia Output View › should select a test output channel
Error: page.waitForSelector: Page closed
=========================== logs ===========================
waiting for locator('#outputView') to be visible
============================================================
at ../../src/theia-view.ts:75
73 |
74 | async waitForVisible(): Promise<void> {
> 75 | await this.page.waitForSelector(this.viewSelector, { state: 'visible' });
| ^
76 | }
77 |
78 | async isTabVisible(): Promise<boolean> {
at TheiaOutputView.waitForVisible (/home/runner/work/theia/theia/examples/playwright/src/theia-view.ts:75:25)
at TheiaOutputView.open (/home/runner/work/theia/theia/examples/playwright/src/theia-view.ts:55:20)
at TheiaApp.openView (/home/runner/work/theia/theia/examples/playwright/src/theia-app.ts:102:9)
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-output-view.test.ts:52:22
|
../../src/tests/theia-output-view.test.ts:51:9 › Theia Output View › should select a test output channel:
examples/playwright/src/tests/theia-output-view.test.ts#L1
1) ../../src/tests/theia-output-view.test.ts:51:9 › Theia Output View › should select a test output channel
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
../../src/tests/theia-output-view.test.ts:51:9 › Theia Output View › should select a test output channel:
examples/playwright/src/theia-view.ts#L75
1) ../../src/tests/theia-output-view.test.ts:51:9 › Theia Output View › should select a test output channel
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.waitForSelector: Page closed
=========================== logs ===========================
waiting for locator('#outputView') to be visible
============================================================
at ../../src/theia-view.ts:75
73 |
74 | async waitForVisible(): Promise<void> {
> 75 | await this.page.waitForSelector(this.viewSelector, { state: 'visible' });
| ^
76 | }
77 |
78 | async isTabVisible(): Promise<boolean> {
at TheiaOutputView.waitForVisible (/home/runner/work/theia/theia/examples/playwright/src/theia-view.ts:75:25)
at TheiaOutputView.open (/home/runner/work/theia/theia/examples/playwright/src/theia-view.ts:55:20)
at TheiaApp.openView (/home/runner/work/theia/theia/examples/playwright/src/theia-app.ts:102:9)
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-output-view.test.ts:52:22
|
../../src/tests/theia-output-view.test.ts:60:9 › Theia Output View › should check if the output view of the test output channel:
examples/playwright/src/tests/theia-output-view.test.ts#L62
2) ../../src/tests/theia-output-view.test.ts:60:9 › Theia Output View › should check if the output view of the test output channel
TypeError: Cannot read properties of undefined (reading 'isOutputChannelSelected')
60 | test('should check if the output view of the test output channel', async () => {
61 | const testChannelName = 'API Sample: my test channel';
> 62 | expect(await outputView.isOutputChannelSelected(testChannelName));
| ^
63 | const channel = await outputView.getOutputChannel(testChannelName);
64 | expect(channel).toBeDefined;
65 | testChannel = channel!;
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-output-view.test.ts:62:33
|
../../src/tests/theia-output-view.test.ts:60:9 › Theia Output View › should check if the output view of the test output channel:
examples/playwright/src/tests/theia-output-view.test.ts#L62
2) ../../src/tests/theia-output-view.test.ts:60:9 › Theia Output View › should check if the output view of the test output channel
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading 'isOutputChannelSelected')
60 | test('should check if the output view of the test output channel', async () => {
61 | const testChannelName = 'API Sample: my test channel';
> 62 | expect(await outputView.isOutputChannelSelected(testChannelName));
| ^
63 | const channel = await outputView.getOutputChannel(testChannelName);
64 | expect(channel).toBeDefined;
65 | testChannel = channel!;
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-output-view.test.ts:62:33
|
../../src/tests/theia-output-view.test.ts:68:9 › Theia Output View › should check if the output view test channel shows the test output:
examples/playwright/src/tests/theia-output-view.test.ts#L69
3) ../../src/tests/theia-output-view.test.ts:68:9 › Theia Output View › should check if the output view test channel shows the test output
TypeError: Cannot read properties of undefined (reading 'numberOfLines')
67 | });
68 | test('should check if the output view test channel shows the test output', async () => {
> 69 | expect(await testChannel.numberOfLines()).toBe(5);
| ^
70 | expect(await testChannel.textContentOfLineByLineNumber(1)).toMatch('hello info1');
71 | expect(await testChannel.maxSeverityOfLineByLineNumber(1)).toMatch('info');
72 | expect(await testChannel.textContentOfLineByLineNumber(2)).toMatch('hello info2');
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-output-view.test.ts:69:34
|
../../src/tests/theia-output-view.test.ts:68:9 › Theia Output View › should check if the output view test channel shows the test output:
examples/playwright/src/tests/theia-output-view.test.ts#L69
3) ../../src/tests/theia-output-view.test.ts:68:9 › Theia Output View › should check if the output view test channel shows the test output
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading 'numberOfLines')
67 | });
68 | test('should check if the output view test channel shows the test output', async () => {
> 69 | expect(await testChannel.numberOfLines()).toBe(5);
| ^
70 | expect(await testChannel.textContentOfLineByLineNumber(1)).toMatch('hello info1');
71 | expect(await testChannel.maxSeverityOfLineByLineNumber(1)).toMatch('info');
72 | expect(await testChannel.textContentOfLineByLineNumber(2)).toMatch('hello info2');
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-output-view.test.ts:69:34
|
Playwright Tests (ubuntu-latest, Node.js 18.x)
The process '/usr/bin/xvfb-run' failed with exit code 1
|
Playwright Tests (ubuntu-latest, Node.js 18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: GabrielBB/xvfb-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Slow Test:
src/tests/theia-output-view.test.ts#L1
src/tests/theia-output-view.test.ts took 1.2m
|
Slow Test:
src/tests/theia-quick-command.test.ts#L1
src/tests/theia-quick-command.test.ts took 41.6s
|
Slow Test:
src/tests/theia-text-editor.test.ts#L1
src/tests/theia-text-editor.test.ts took 30.4s
|
Slow Test:
src/tests/theia-explorer-view.test.ts#L1
src/tests/theia-explorer-view.test.ts took 22.9s
|
Slow Test:
src/tests/theia-preference-view.test.ts#L1
src/tests/theia-preference-view.test.ts took 20.9s
|
🎭 Playwright Run Summary
3 failed
../../src/tests/theia-output-view.test.ts:51:9 › Theia Output View › should select a test output channel
../../src/tests/theia-output-view.test.ts:60:9 › Theia Output View › should check if the output view of the test output channel
../../src/tests/theia-output-view.test.ts:68:9 › Theia Output View › should check if the output view test channel shows the test output
69 passed (5.9m)
|