feat: DH-21093: Make usePersistentState available to all panels #5052
Annotations
5 errors and 1 notice
|
[webkit] › ../../../../../work/tests/shortcuts.spec.ts:25:5 › shortcut downloads logs in embeded-widget:
../../../../../work/tests/shortcuts.spec.ts#L38
4) [webkit] › ../../../../../work/tests/shortcuts.spec.ts:25:5 › shortcut downloads logs in embeded-widget
TimeoutError: page.waitForEvent: Timeout 15000ms exceeded while waiting for event "download"
=========================== logs ===========================
waiting for event "download"
============================================================
36 | ).toHaveCount(0);
37 |
> 38 | const downloadPromise = page.waitForEvent('download');
| ^
39 | await page.keyboard.press('ControlOrMeta+Alt+Shift+KeyL');
40 | const download = await downloadPromise;
41 |
at /work/tests/shortcuts.spec.ts:38:32
|
|
[webkit] › ../../../../../work/tests/golden-layout.spec.ts:145:7 › tests golden-layout operations › golden-layout can drag tab to left edge:
../../../../../work/tests/golden-layout.spec.ts#L40
3) [webkit] › ../../../../../work/tests/golden-layout.spec.ts:145:7 › tests golden-layout operations › golden-layout can drag tab to left edge
TimeoutError: locator.click: Timeout 15000ms exceeded.
Call log:
- waiting for getByTestId('app-main-panels-button')
- locator resolved to <button type="button" data-testid="app-main-panels-button" class="btn btn-link btn-panels-menu btn-show-panels">…</button>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <html lang="en">…</html> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <html lang="en">…</html> intercepts pointer events
- retrying click action
- waiting 100ms
27 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <html lang="en">…</html> intercepts pointer events
- retrying click action
- waiting 500ms
38 | */
39 | async function resetLayout(confirm: boolean) {
> 40 | await page.getByTestId('app-main-panels-button').click();
| ^
41 | await page.getByLabel('Reset Layout').click();
42 |
43 | if (confirm) {
at resetLayout (/work/tests/golden-layout.spec.ts:40:56)
at /work/tests/golden-layout.spec.ts:59:11
|
|
[webkit] › ../../../../../work/tests/golden-layout.spec.ts:145:7 › tests golden-layout operations › golden-layout can drag tab to left edge:
../../../../../work/tests/golden-layout.spec.ts#L167
3) [webkit] › ../../../../../work/tests/golden-layout.spec.ts:145:7 › tests golden-layout operations › golden-layout can drag tab to left edge
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: locator('.lm_dropTargetIndicator')
3 pixels (ratio 0.01 of all image pixels) are different.
Call log:
- Expect "toHaveScreenshot" with timeout 15000ms
- verifying given screenshot expectation
- waiting for locator('.lm_dropTargetIndicator')
- locator resolved to <div class="lm_dropTargetIndicator">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 3 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.lm_dropTargetIndicator')
- locator resolved to <div class="lm_dropTargetIndicator">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 3 pixels (ratio 0.01 of all image pixels) are different.
165 |
166 | // check the drop indicator
> 167 | await expect(dropTargetIndicator).toHaveScreenshot();
| ^
168 |
169 | // check the drag proxy
170 | await expect(page.locator('.lm_dragProxy')).toHaveScreenshot();
at /work/tests/golden-layout.spec.ts:167:39
|
|
[webkit] › ../../../../../work/tests/console.spec.ts:91:7 › console scroll tests › scrolls to the bottom when command is executed:
../../../../../work/tests/console.spec.ts#L105
2) [webkit] › ../../../../../work/tests/console.spec.ts:91:7 › console scroll tests › scrolls to the bottom when command is executed
Error: expect(received).toBeLessThanOrEqual(expected)
Expected: <= 0
Received: 882
Call Log:
- Timeout 15000ms exceeded while waiting on the predicate
103 | // Expect the console to be scrolled to the bottom
104 | const scrollPane = scrollPanelLocator(page);
> 105 | await expect
| ^
106 | .poll(() =>
107 | scrollPane.evaluate(el =>
108 | Math.floor(el.scrollHeight - el.scrollTop - el.clientHeight)
at /work/tests/console.spec.ts:105:5
|
|
[chromium] › ../../../../../work/tests/app.spec.ts:9:7 › app loading tests › initial dashboard is immediately ready after `gotoPage` has completed:
../../../../../work/tests/app.spec.ts#L24
1) [chromium] › ../../../../../work/tests/app.spec.ts:9:7 › app loading tests › initial dashboard is immediately ready after `gotoPage` has completed
Error: App is in an invalid state: no spinner and app not loaded
22 | (await page.getByTestId('app-loaded').count()) === 1;
23 | if (!isSpinnerVisible && !isAppLoaded) {
> 24 | throw new Error(
| ^
25 | 'App is in an invalid state: no spinner and app not loaded'
26 | );
27 | }
at Object._test.expect.poll.intervals (/work/tests/app.spec.ts:24:19)
at /work/tests/app.spec.ts:15:5
|
|
🎭 Playwright Run Summary
4 flaky
[chromium] › ../../../../../work/tests/app.spec.ts:9:7 › app loading tests › initial dashboard is immediately ready after `gotoPage` has completed
[webkit] › ../../../../../work/tests/console.spec.ts:91:7 › console scroll tests › scrolls to the bottom when command is executed
[webkit] › ../../../../../work/tests/golden-layout.spec.ts:145:7 › tests golden-layout operations › golden-layout can drag tab to left edge
[webkit] › ../../../../../work/tests/shortcuts.spec.ts:25:5 › shortcut downloads logs in embeded-widget
347 passed (5.2m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report
Expired
|
39.2 MB |
sha256:f1b1fb3b6afc6a39cba741b96386fc159c992f3f49c87962d5a55dd2007f9cd4
|
|
|
playwright-report-blob-webkit-1-2
Expired
|
32.7 MB |
sha256:b836f7a7a1eb67dc4201550f0a13ad3af74c731ac6dd8d5642a316e4ed3d9425
|
|