Skip to content

[PUI] Dashboard refactor #15386

[PUI] Dashboard refactor

[PUI] Dashboard refactor #15386

Triggered via pull request October 30, 2024 07:59
Status Failure
Total duration 43m 20s
Artifacts 3

qc_checks.yaml

on: pull_request
Build - UI Platform
1m 58s
Build - UI Platform
Style [pre-commit]
42s
Style [pre-commit]
Tests - API Schema Documentation
4m 24s
Tests - API Schema Documentation
Style [Documentation]
40s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 21s
Tests - inventree-python
Tests - DB [PostgreSQL]
11m 28s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
11m 7s
Tests - DB [MySQL]
Tests - Platform UI
26m 46s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 26s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

14 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
Tests - DB [PostgreSQL]
Process completed with exit code 1.
Tests - DB [SQLite] + Coverage 3.9
Process completed with exit code 1.
Tests - DB [MySQL]
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
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/
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/
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.2m
Slow Test: src/frontend/[firefox] › pages/pui_orders.spec.ts#L1
src/frontend/[firefox] › pages/pui_orders.spec.ts took 52.8s
Slow Test: src/frontend/[chromium] › pages/pui_build.spec.ts#L1
src/frontend/[chromium] › pages/pui_build.spec.ts took 42.1s
Slow Test: src/frontend/[chromium] › pages/pui_orders.spec.ts#L1
src/frontend/[chromium] › pages/pui_orders.spec.ts took 41.4s
Slow Test: src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 29.2s
🎭 Playwright Run Summary
7 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_part.spec.ts:196:1 › Pages - Part - Parameters ─────────────────────────── [firefox] › pui_general.spec.ts:122:1 › Scanning ─────────────────────────────────────────────── [firefox] › pui_plugins.spec.ts:7:1 › Plugins - Panels ───────────────────────────────────────── 12 flaky [firefox] › pages/pui_build.spec.ts:5:1 › Pages - Build Order ────────────────────────────────── [firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs ───────────────── [firefox] › pages/pui_part.spec.ts:26:1 › Pages - Part - Pricing (Nothing, BOM) ──────────────── [firefox] › pages/pui_scan.spec.ts:54:1 › Pages - Index - Scan (SupplierPart) ────────────────── [firefox] › pages/pui_scan.spec.ts:63:1 › Pages - Index - Scan (PurchaseOrder) ───────────────── [firefox] › pages/pui_stock.spec.ts:5:1 › Stock ──────────────────────────────────────────────── [firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ─────────────────────────────────────────── [firefox] › pui_basic.spec.ts:36:1 › Quick Login Test ────────────────────────────────────────── [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 ──────────────────────────────────────────────── [firefox] › pui_tables.spec.ts:53:1 › Tables - Columns ───────────────────────────────────────── 97 passed (20.7m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.13 MB
playwright-report
63.6 MB
schema.yml
62.6 KB