Improve frontend startup performance #4796
Triggered via pull request
September 27, 2023 12:45
Status
Success
Total duration
10m 1s
Artifacts
–
playwright.yml
on: pull_request
Playwright Tests (ubuntu-latest, Node.js 18.x)
9m 49s
Annotations
4 errors, 6 warnings, and 1 notice
../../src/tests/theia-problems-view.test.ts:30:9 › Theia Problems View › should be visible and active after being opened:
examples/playwright/src/tests/theia-problems-view.test.ts#L1
1) ../../src/tests/theia-problems-view.test.ts:30:9 › Theia Problems View › should be visible and active after being opened
Test timeout of 30000ms exceeded.
|
../../src/tests/theia-problems-view.test.ts:30:9 › Theia Problems View › should be visible and active after being opened:
examples/playwright/src/theia-view.ts#L75
1) ../../src/tests/theia-problems-view.test.ts:30:9 › Theia Problems View › should be visible and active after being opened
Error: page.waitForSelector: Page closed
=========================== logs ===========================
waiting for locator('#problems') to be visible
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems" class="p-Widget theia…>…</div>
locator resolved to hidden <div tabindex="0" id="problems"
|
../../src/tests/theia-problems-view.test.ts:54:9 › Theia Problems View › should not throw an error if 'close' is called twice:
examples/playwright/src/tests/theia-problems-view.test.ts#L1
2) ../../src/tests/theia-problems-view.test.ts:54:9 › Theia Problems View › should not throw an error if 'close' is called twice
Test timeout of 30000ms exceeded.
|
../../src/tests/theia-problems-view.test.ts:54:9 › Theia Problems View › should not throw an error if 'close' is called twice:
examples/playwright/src/theia-view.ts#L75
2) ../../src/tests/theia-problems-view.test.ts:54:9 › Theia Problems View › should not throw an error if 'close' is called twice
Error: page.waitForSelector: Page closed
=========================== logs ===========================
waiting for locator('#problems') 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 TheiaProblemsView.waitForVisible (/home/runner/work/theia/theia/examples/playwright/src/theia-view.ts:75:25)
at TheiaProblemsView.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-problems-view.test.ts:55:30
|
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-problems-view.test.ts#L1
src/tests/theia-problems-view.test.ts took 1.3m
|
Slow Test:
src/tests/theia-quick-command.test.ts#L1
src/tests/theia-quick-command.test.ts took 41.1s
|
Slow Test:
src/tests/theia-text-editor.test.ts#L1
src/tests/theia-text-editor.test.ts took 26.7s
|
Slow Test:
src/tests/theia-explorer-view.test.ts#L1
src/tests/theia-explorer-view.test.ts took 21.2s
|
Slow Test:
src/tests/theia-preference-view.test.ts#L1
src/tests/theia-preference-view.test.ts took 18.5s
|
🎭 Playwright Run Summary
2 flaky
../../src/tests/theia-problems-view.test.ts:30:9 › Theia Problems View › should be visible and active after being opened
../../src/tests/theia-problems-view.test.ts:54:9 › Theia Problems View › should not throw an error if 'close' is called twice
70 passed (5.1m)
|