Skip to content

feat: Use useWidget hook to load widgets #391

feat: Use useWidget hook to load widgets

feat: Use useWidget hook to load widgets #391

Triggered via pull request May 30, 2024 20:44
Status Failure
Total duration 8m 56s
Artifacts 2

e2e.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 notice
[chromium] › ui.spec.ts:4:5 › UI loads: tests/utils.ts#L54
1) [chromium] › ui.spec.ts:4:5 › UI loads › Open panel (ui_component) ──────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('.dh-react-panel') Expected: 1 Received: 0 Call log: - expect.toHaveCount with timeout 15000ms - waiting for locator('.dh-react-panel') - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" at utils.ts:54 52 | 53 | // check for panel to be loaded > 54 | await expect(page.locator(panelLocator)).toHaveCount(panelCount + 1); | ^ 55 | await expect(page.locator('.loading-spinner')).toHaveCount(0); 56 | }); 57 | } at /work/tests/utils.ts:54:46 at openPanel (/work/tests/utils.ts:37:3) at /work/tests/ui.spec.ts:6:3
[chromium] › ui.spec.ts:4:5 › UI loads: tests/utils.ts#L54
1) [chromium] › ui.spec.ts:4:5 › UI loads › Open panel (ui_component) ──────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('.dh-react-panel') Expected: 1 Received: 0 Call log: - expect.toHaveCount with timeout 15000ms - waiting for locator('.dh-react-panel') - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" at utils.ts:54 52 | 53 | // check for panel to be loaded > 54 | await expect(page.locator(panelLocator)).toHaveCount(panelCount + 1); | ^ 55 | await expect(page.locator('.loading-spinner')).toHaveCount(0); 56 | }); 57 | } at /work/tests/utils.ts:54:46 at openPanel (/work/tests/utils.ts:37:3) at /work/tests/ui.spec.ts:6:3
[chromium] › ui.spec.ts:10:5 › boom component shows an error in a panel: tests/utils.ts#L54
2) [chromium] › ui.spec.ts:10:5 › boom component shows an error in a panel › Open panel (ui_boom) Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('.dh-react-panel') Expected: 1 Received: 0 Call log: - expect.toHaveCount with timeout 15000ms - waiting for locator('.dh-react-panel') - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" at utils.ts:54 52 | 53 | // check for panel to be loaded > 54 | await expect(page.locator(panelLocator)).toHaveCount(panelCount + 1); | ^ 55 | await expect(page.locator('.loading-spinner')).toHaveCount(0); 56 | }); 57 | } at /work/tests/utils.ts:54:46 at openPanel (/work/tests/utils.ts:37:3) at /work/tests/ui.spec.ts:12:3
[chromium] › ui.spec.ts:10:5 › boom component shows an error in a panel: tests/utils.ts#L54
2) [chromium] › ui.spec.ts:10:5 › boom component shows an error in a panel › Open panel (ui_boom) Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('.dh-react-panel') Expected: 1 Received: 0 Call log: - expect.toHaveCount with timeout 15000ms - waiting for locator('.dh-react-panel') - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" at utils.ts:54 52 | 53 | // check for panel to be loaded > 54 | await expect(page.locator(panelLocator)).toHaveCount(panelCount + 1); | ^ 55 | await expect(page.locator('.loading-spinner')).toHaveCount(0); 56 | }); 57 | } at /work/tests/utils.ts:54:46 at openPanel (/work/tests/utils.ts:37:3) at /work/tests/ui.spec.ts:12:3
[chromium] › ui.spec.ts:25:5 › boom counter component shows error overlay after clicking the button twice: tests/utils.ts#L54
3) [chromium] › ui.spec.ts:25:5 › boom counter component shows error overlay after clicking the button twice › Open panel (ui_boom_counter) Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('.dh-react-panel') Expected: 1 Received: 0 Call log: - expect.toHaveCount with timeout 15000ms - waiting for locator('.dh-react-panel') - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" at utils.ts:54 52 | 53 | // check for panel to be loaded > 54 | await expect(page.locator(panelLocator)).toHaveCount(panelCount + 1); | ^ 55 | await expect(page.locator('.loading-spinner')).toHaveCount(0); 56 | }); 57 | } at /work/tests/utils.ts:54:46 at openPanel (/work/tests/utils.ts:37:3) at /work/tests/ui.spec.ts:29:3
[chromium] › ui.spec.ts:25:5 › boom counter component shows error overlay after clicking the button twice: tests/utils.ts#L54
3) [chromium] › ui.spec.ts:25:5 › boom counter component shows error overlay after clicking the button twice › Open panel (ui_boom_counter) Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('.dh-react-panel') Expected: 1 Received: 0 Call log: - expect.toHaveCount with timeout 15000ms - waiting for locator('.dh-react-panel') - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" at utils.ts:54 52 | 53 | // check for panel to be loaded > 54 | await expect(page.locator(panelLocator)).toHaveCount(panelCount + 1); | ^ 55 | await expect(page.locator('.loading-spinner')).toHaveCount(0); 56 | }); 57 | } at /work/tests/utils.ts:54:46 at openPanel (/work/tests/utils.ts:37:3) at /work/tests/ui.spec.ts:29:3
[firefox] › ui.spec.ts:4:5 › UI loads: tests/utils.ts#L54
4) [firefox] › ui.spec.ts:4:5 › UI loads › Open panel (ui_component) ───────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('.dh-react-panel') Expected: 1 Received: 0 Call log: - expect.toHaveCount with timeout 15000ms - waiting for locator('.dh-react-panel') - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" at utils.ts:54 52 | 53 | // check for panel to be loaded > 54 | await expect(page.locator(panelLocator)).toHaveCount(panelCount + 1); | ^ 55 | await expect(page.locator('.loading-spinner')).toHaveCount(0); 56 | }); 57 | } at /work/tests/utils.ts:54:46 at openPanel (/work/tests/utils.ts:37:3) at /work/tests/ui.spec.ts:6:3
[firefox] › ui.spec.ts:4:5 › UI loads: tests/utils.ts#L54
4) [firefox] › ui.spec.ts:4:5 › UI loads › Open panel (ui_component) ───────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('.dh-react-panel') Expected: 1 Received: 0 Call log: - expect.toHaveCount with timeout 15000ms - waiting for locator('.dh-react-panel') - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" at utils.ts:54 52 | 53 | // check for panel to be loaded > 54 | await expect(page.locator(panelLocator)).toHaveCount(panelCount + 1); | ^ 55 | await expect(page.locator('.loading-spinner')).toHaveCount(0); 56 | }); 57 | } at /work/tests/utils.ts:54:46 at openPanel (/work/tests/utils.ts:37:3) at /work/tests/ui.spec.ts:6:3
[firefox] › ui.spec.ts:10:5 › boom component shows an error in a panel: tests/utils.ts#L54
5) [firefox] › ui.spec.ts:10:5 › boom component shows an error in a panel › Open panel (ui_boom) ─ Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('.dh-react-panel') Expected: 1 Received: 0 Call log: - expect.toHaveCount with timeout 15000ms - waiting for locator('.dh-react-panel') - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" at utils.ts:54 52 | 53 | // check for panel to be loaded > 54 | await expect(page.locator(panelLocator)).toHaveCount(panelCount + 1); | ^ 55 | await expect(page.locator('.loading-spinner')).toHaveCount(0); 56 | }); 57 | } at /work/tests/utils.ts:54:46 at openPanel (/work/tests/utils.ts:37:3) at /work/tests/ui.spec.ts:12:3
[firefox] › ui.spec.ts:10:5 › boom component shows an error in a panel: tests/utils.ts#L54
5) [firefox] › ui.spec.ts:10:5 › boom component shows an error in a panel › Open panel (ui_boom) ─ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('.dh-react-panel') Expected: 1 Received: 0 Call log: - expect.toHaveCount with timeout 15000ms - waiting for locator('.dh-react-panel') - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" at utils.ts:54 52 | 53 | // check for panel to be loaded > 54 | await expect(page.locator(panelLocator)).toHaveCount(panelCount + 1); | ^ 55 | await expect(page.locator('.loading-spinner')).toHaveCount(0); 56 | }); 57 | } at /work/tests/utils.ts:54:46 at openPanel (/work/tests/utils.ts:37:3) at /work/tests/ui.spec.ts:12:3
🎭 Playwright Run Summary
9 failed [chromium] › ui.spec.ts:4:5 › UI loads ───────────────────────────────────────────────────────── [chromium] › ui.spec.ts:10:5 › boom component shows an error in a panel ──────────────────────── [chromium] › ui.spec.ts:25:5 › boom counter component shows error overlay after clicking the button twice [firefox] › ui.spec.ts:4:5 › UI loads ────────────────────────────────────────────────────────── [firefox] › ui.spec.ts:10:5 › boom component shows an error in a panel ───────────────────────── [firefox] › ui.spec.ts:25:5 › boom counter component shows error overlay after clicking the button twice [webkit] › ui.spec.ts:4:5 › UI loads ─────────────────────────────────────────────────────────── [webkit] › ui.spec.ts:10:5 › boom component shows an error in a panel ────────────────────────── [webkit] › ui.spec.ts:25:5 › boom counter component shows error overlay after clicking the button twice 9 passed (4.4m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
64.6 MB
server-logs Expired
4.68 KB