feat: Show loading spinners immediately in ui #1840
Annotations
10 errors, 1 warning, and 1 notice
Run tests:
tests/utils.ts#L65
1) [chromium] › ui_table.spec.ts:17:9 › UI flex components › t_alignment › Open panel (t_alignment)
Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('.loading-spinner')
Expected: 0
Received: 1
Call log:
- expect.toHaveCount with timeout 15000ms
- waiting for locator('.loading-spinner')
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
at utils.ts:65
63 | // check for panel to be loaded
64 | await expect(page.locator(panelLocator)).toHaveCount(panelCount + 1);
> 65 | await expect(page.locator('.loading-spinner')).toHaveCount(0);
| ^
66 | });
67 | }
68 |
at /work/tests/utils.ts:65:52
at openPanel (/work/tests/utils.ts:37:3)
at /work/tests/ui_table.spec.ts:19:7
|
Run tests:
tests/utils.ts#L65
1) [chromium] › ui_table.spec.ts:17:9 › UI flex components › t_alignment › Open panel (t_alignment)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('.loading-spinner')
Expected: 0
Received: 1
Call log:
- expect.toHaveCount with timeout 15000ms
- waiting for locator('.loading-spinner')
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
at utils.ts:65
63 | // check for panel to be loaded
64 | await expect(page.locator(panelLocator)).toHaveCount(panelCount + 1);
> 65 | await expect(page.locator('.loading-spinner')).toHaveCount(0);
| ^
66 | });
67 | }
68 |
at /work/tests/utils.ts:65:52
at openPanel (/work/tests/utils.ts:37:3)
at /work/tests/ui_table.spec.ts:19:7
|
Run tests:
tests/utils.ts#L65
2) [chromium] › ui_table.spec.ts:17:9 › UI flex components › t_background_color › Open panel (t_background_color)
Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('.loading-spinner')
Expected: 0
Received: 1
Call log:
- expect.toHaveCount with timeout 15000ms
- waiting for locator('.loading-spinner')
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
at utils.ts:65
63 | // check for panel to be loaded
64 | await expect(page.locator(panelLocator)).toHaveCount(panelCount + 1);
> 65 | await expect(page.locator('.loading-spinner')).toHaveCount(0);
| ^
66 | });
67 | }
68 |
at /work/tests/utils.ts:65:52
at openPanel (/work/tests/utils.ts:37:3)
at /work/tests/ui_table.spec.ts:19:7
|
Run tests:
tests/utils.ts#L65
2) [chromium] › ui_table.spec.ts:17:9 › UI flex components › t_background_color › Open panel (t_background_color)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('.loading-spinner')
Expected: 0
Received: 1
Call log:
- expect.toHaveCount with timeout 15000ms
- waiting for locator('.loading-spinner')
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
at utils.ts:65
63 | // check for panel to be loaded
64 | await expect(page.locator(panelLocator)).toHaveCount(panelCount + 1);
> 65 | await expect(page.locator('.loading-spinner')).toHaveCount(0);
| ^
66 | });
67 | }
68 |
at /work/tests/utils.ts:65:52
at openPanel (/work/tests/utils.ts:37:3)
at /work/tests/ui_table.spec.ts:19:7
|
Run tests:
tests/utils.ts#L65
3) [chromium] › ui_table.spec.ts:17:9 › UI flex components › t_color › Open panel (t_color) ──────
Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('.loading-spinner')
Expected: 0
Received: 1
Call log:
- expect.toHaveCount with timeout 15000ms
- waiting for locator('.loading-spinner')
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
at utils.ts:65
63 | // check for panel to be loaded
64 | await expect(page.locator(panelLocator)).toHaveCount(panelCount + 1);
> 65 | await expect(page.locator('.loading-spinner')).toHaveCount(0);
| ^
66 | });
67 | }
68 |
at /work/tests/utils.ts:65:52
at openPanel (/work/tests/utils.ts:37:3)
at /work/tests/ui_table.spec.ts:19:7
|
Run tests:
tests/utils.ts#L65
3) [chromium] › ui_table.spec.ts:17:9 › UI flex components › t_color › Open panel (t_color) ──────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('.loading-spinner')
Expected: 0
Received: 1
Call log:
- expect.toHaveCount with timeout 15000ms
- waiting for locator('.loading-spinner')
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
at utils.ts:65
63 | // check for panel to be loaded
64 | await expect(page.locator(panelLocator)).toHaveCount(panelCount + 1);
> 65 | await expect(page.locator('.loading-spinner')).toHaveCount(0);
| ^
66 | });
67 | }
68 |
at /work/tests/utils.ts:65:52
at openPanel (/work/tests/utils.ts:37:3)
at /work/tests/ui_table.spec.ts:19:7
|
Run tests:
tests/utils.ts#L65
4) [chromium] › ui_table.spec.ts:17:9 › UI flex components › t_color_column_source › Open panel (t_color_column_source)
Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('.loading-spinner')
Expected: 0
Received: 1
Call log:
- expect.toHaveCount with timeout 15000ms
- waiting for locator('.loading-spinner')
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
at utils.ts:65
63 | // check for panel to be loaded
64 | await expect(page.locator(panelLocator)).toHaveCount(panelCount + 1);
> 65 | await expect(page.locator('.loading-spinner')).toHaveCount(0);
| ^
66 | });
67 | }
68 |
at /work/tests/utils.ts:65:52
at openPanel (/work/tests/utils.ts:37:3)
at /work/tests/ui_table.spec.ts:19:7
|
Run tests:
tests/utils.ts#L65
4) [chromium] › ui_table.spec.ts:17:9 › UI flex components › t_color_column_source › Open panel (t_color_column_source)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('.loading-spinner')
Expected: 0
Received: 1
Call log:
- expect.toHaveCount with timeout 15000ms
- waiting for locator('.loading-spinner')
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
at utils.ts:65
63 | // check for panel to be loaded
64 | await expect(page.locator(panelLocator)).toHaveCount(panelCount + 1);
> 65 | await expect(page.locator('.loading-spinner')).toHaveCount(0);
| ^
66 | });
67 | }
68 |
at /work/tests/utils.ts:65:52
at openPanel (/work/tests/utils.ts:37:3)
at /work/tests/ui_table.spec.ts:19:7
|
Run tests:
tests/utils.ts#L65
5) [chromium] › ui_table.spec.ts:17:9 › UI flex components › t_priority › Open panel (t_priority)
Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('.loading-spinner')
Expected: 0
Received: 1
Call log:
- expect.toHaveCount with timeout 15000ms
- waiting for locator('.loading-spinner')
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
at utils.ts:65
63 | // check for panel to be loaded
64 | await expect(page.locator(panelLocator)).toHaveCount(panelCount + 1);
> 65 | await expect(page.locator('.loading-spinner')).toHaveCount(0);
| ^
66 | });
67 | }
68 |
at /work/tests/utils.ts:65:52
at openPanel (/work/tests/utils.ts:37:3)
at /work/tests/ui_table.spec.ts:19:7
|
Run tests:
tests/utils.ts#L65
5) [chromium] › ui_table.spec.ts:17:9 › UI flex components › t_priority › Open panel (t_priority)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('.loading-spinner')
Expected: 0
Received: 1
Call log:
- expect.toHaveCount with timeout 15000ms
- waiting for locator('.loading-spinner')
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
at utils.ts:65
63 | // check for panel to be loaded
64 | await expect(page.locator(panelLocator)).toHaveCount(panelCount + 1);
> 65 | await expect(page.locator('.loading-spinner')).toHaveCount(0);
| ^
66 | });
67 | }
68 |
at /work/tests/utils.ts:65:52
at openPanel (/work/tests/utils.ts:37:3)
at /work/tests/ui_table.spec.ts:19:7
|
Run tests:
[webkit] › express.spec.ts#L1
[webkit] › express.spec.ts took 29.0s
|
Run tests
116 failed
[chromium] › ui_table.spec.ts:17:9 › UI flex components › t_alignment ──────────────────────────
[chromium] › ui_table.spec.ts:17:9 › UI flex components › t_background_color ───────────────────
[chromium] › ui_table.spec.ts:17:9 › UI flex components › t_color ──────────────────────────────
[chromium] › ui_table.spec.ts:17:9 › UI flex components › t_color_column_source ────────────────
[chromium] › ui_table.spec.ts:17:9 › UI flex components › t_priority ───────────────────────────
[chromium] › ui_table.spec.ts:17:9 › UI flex components › t_value_format ───────────────────────
[chromium] › ui_table.spec.ts:17:9 › UI flex components › t_display_names ──────────────────────
[chromium] › ui.spec.ts:9:5 › UI loads ─────────────────────────────────────────────────────────
[chromium] › ui.spec.ts:15:5 › boom component shows an error in a panel ────────────────────────
[chromium] › ui.spec.ts:29:5 › boom counter component shows error overlay after clicking the button twice
[chromium] › ui.spec.ts:51:5 › Using keys for lists works ──────────────────────────────────────
[chromium] › ui.spec.ts:70:5 › UI all components render 1 ──────────────────────────────────────
[chromium] › ui.spec.ts:76:5 › UI all components render 2 ──────────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_0 ────────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_1 ────────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_2 ────────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_3 ────────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_4 ────────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_5 ────────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_6 ────────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_7 ────────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_8 ────────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_9 ────────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_10 ───────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_11 ───────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_12 ───────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_13 ───────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_14 ───────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_15 ───────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_16 ───────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_17 ───────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_18 ───────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_19 ───────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_20 ───────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_21 ───────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_22 ───────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_23 ───────────────────────────────────
[chromium] › ui.spec.ts:111:9 › UI flex components › flex_24 ───────────────────────────────────
[firefox] › matplotlib.spec.ts:4:5 › Matplotlib loads ──────────────────────────────────────────
[firefox] › ui_table.spec.ts:17:9 › UI flex components › t_alignment ───────────────────────────
[firefox] › ui_table.spec.ts:
|
Loading