[PUI] Dashboard refactor #15425
qc_checks.yaml
on: pull_request
Filter
5s
Build - UI Platform
2m 9s
Style [Documentation]
34s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
4m 59s
Tests - DB [PostgreSQL]
13m 11s
Tests - DB [MySQL]
12m 56s
Tests - Platform UI
28m 27s
Matrix: coverage
Style - Classic UI [JS]
1m 31s
Push new schema
0s
Annotations
11 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
|
[chromium] › modals.spec.ts:4:1 › Modals as admin:
src/frontend/tests/modals.spec.ts#L1
1) [chromium] › modals.spec.ts:4:1 › Modals as admin ─────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › modals.spec.ts:4:1 › Modals as admin:
src/frontend/tests/modals.spec.ts#L56
1) [chromium] › modals.spec.ts:4:1 › Modals as admin ─────────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Open QR code scanner' })
54 |
55 | // qr code modal
> 56 | await page.getByRole('button', { name: 'Open QR code scanner' }).click();
| ^
57 | await page.getByRole('banner').getByRole('button').click();
58 | await page.getByRole('button', { name: 'Open QR code scanner' }).click();
59 | await page.getByRole('button', { name: 'Close modal' }).click();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/modals.spec.ts:56:68
|
[chromium] › modals.spec.ts:4:1 › Modals as admin:
src/frontend/tests/modals.spec.ts#L1
1) [chromium] › modals.spec.ts:4:1 › Modals as admin ─────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › modals.spec.ts:4:1 › Modals as admin:
src/frontend/tests/modals.spec.ts#L56
1) [chromium] › modals.spec.ts:4:1 › Modals as admin ─────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Open QR code scanner' })
54 |
55 | // qr code modal
> 56 | await page.getByRole('button', { name: 'Open QR code scanner' }).click();
| ^
57 | await page.getByRole('banner').getByRole('button').click();
58 | await page.getByRole('button', { name: 'Open QR code scanner' }).click();
59 | await page.getByRole('button', { name: 'Close modal' }).click();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/modals.spec.ts:56:68
|
[chromium] › pui_general.spec.ts:122:1 › Scanning:
src/frontend/tests/pui_general.spec.ts#L1
2) [chromium] › pui_general.spec.ts:122:1 › Scanning ─────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pui_general.spec.ts:122:1 › Scanning:
src/frontend/tests/pui_general.spec.ts#L128
2) [chromium] › pui_general.spec.ts:122:1 › Scanning ─────────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('link', { name: 'Scanning' })
126 | await page.getByRole('button', { name: 'System Information' }).click();
127 | await page.locator('button').filter({ hasText: 'Dismiss' }).click();
> 128 | await page.getByRole('link', { name: 'Scanning' }).click();
| ^
129 | await page.waitForTimeout(200);
130 |
131 | await page.locator('.mantine-Overlay-root').click();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:128:54
|
[chromium] › pui_general.spec.ts:122:1 › Scanning:
src/frontend/tests/pui_general.spec.ts#L1
2) [chromium] › pui_general.spec.ts:122:1 › Scanning ─────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pui_general.spec.ts:122:1 › Scanning:
src/frontend/tests/pui_general.spec.ts#L128
2) [chromium] › pui_general.spec.ts:122:1 › Scanning ─────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('link', { name: 'Scanning' })
126 | await page.getByRole('button', { name: 'System Information' }).click();
127 | await page.locator('button').filter({ hasText: 'Dismiss' }).click();
> 128 | await page.getByRole('link', { name: 'Scanning' }).click();
| ^
129 | await page.waitForTimeout(200);
130 |
131 | await page.locator('.mantine-Overlay-root').click();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:128:54
|
[chromium] › pui_plugins.spec.ts:7:1 › Plugins - Panels:
src/frontend/tests/pui_plugins.spec.ts#L1
3) [chromium] › pui_plugins.spec.ts:7:1 › Plugins - Panels ───────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pui_plugins.spec.ts:7:1 › Plugins - Panels:
src/frontend/tests/pui_plugins.spec.ts#L44
3) [chromium] › pui_plugins.spec.ts:7:1 › Plugins - Panels ───────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('tab', { name: 'Dynamic Part Panel' })
42 | await page.getByText('Error occurred while loading plugin content').waitFor();
43 |
> 44 | await page.getByRole('tab', { name: 'Dynamic Part Panel' }).click();
| ^
45 | await page.waitForTimeout(500);
46 |
47 | await page.getByText('Instance ID: 69');
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_plugins.spec.ts:44:63
|
Build - UI Platform
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Style - Classic UI [JS]
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Tests - inventree-python
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Tests - Platform UI
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Slow Test:
src/frontend/[chromium] › pages/pui_part.spec.ts#L1
src/frontend/[chromium] › pages/pui_part.spec.ts took 1.4m
|
Slow Test:
src/frontend/[chromium] › pages/pui_build.spec.ts#L1
src/frontend/[chromium] › pages/pui_build.spec.ts took 41.7s
|
Slow Test:
src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 32.9s
|
Slow Test:
src/frontend/[chromium] › pages/pui_sales_order.spec.ts#L1
src/frontend/[chromium] › pages/pui_sales_order.spec.ts took 31.2s
|
Slow Test:
src/frontend/[firefox] › pui_forms.spec.ts#L1
src/frontend/[firefox] › pui_forms.spec.ts took 23.3s
|
🎭 Playwright Run Summary
11 failed
[chromium] › modals.spec.ts:4:1 › Modals as admin ──────────────────────────────────────────────
[chromium] › pui_general.spec.ts:122:1 › Scanning ──────────────────────────────────────────────
[chromium] › pui_plugins.spec.ts:7:1 › Plugins - Panels ────────────────────────────────────────
[firefox] › modals.spec.ts:4:1 › Modals as admin ───────────────────────────────────────────────
[firefox] › pages/pui_build.spec.ts:5:1 › Pages - Build Order ──────────────────────────────────
[firefox] › pages/pui_part.spec.ts:31:1 › Pages - Part - Allocations ───────────────────────────
[firefox] › pages/pui_part.spec.ts:109:1 › Pages - Part - Pricing (Supplier) ───────────────────
[firefox] › pui_general.spec.ts:5:1 › Parts ────────────────────────────────────────────────────
[firefox] › pui_general.spec.ts:122:1 › Scanning ───────────────────────────────────────────────
[firefox] › pui_plugins.spec.ts:7:1 › Plugins - Panels ─────────────────────────────────────────
[firefox] › pui_printing.spec.ts:55:1 › Report Printing ────────────────────────────────────────
11 flaky
[firefox] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking ────────────────────────────────
[firefox] › pages/pui_part.spec.ts:60:1 › Pages - Part - Pricing (Nothing, BOM) ────────────────
[firefox] › pages/pui_part.spec.ts:279:1 › Pages - Part - 404 ──────────────────────────────────
[firefox] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders ───────────────────────────────────
[firefox] › pages/pui_scan.spec.ts:27:1 › Pages - Index - Scan (Part) ──────────────────────────
[firefox] › pages/pui_scan.spec.ts:45:1 › Pages - Index - Scan (StockLocation) ─────────────────
[firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ───────────────────────────────────────────
[firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys ─────────────────────────────────
[firefox] › pui_general.spec.ts:58:1 › Parts - Supplier Parts ──────────────────────────────────
[firefox] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────────
[firefox] › pui_general.spec.ts:178:1 › Company ────────────────────────────────────────────────
98 passed (22.0m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.13 MB |
|
playwright-report
|
77.1 MB |
|
schema.yml
|
62.6 KB |
|