Skip to content

[PUI] Dashboard refactor #15412

[PUI] Dashboard refactor

[PUI] Dashboard refactor #15412

Triggered via pull request October 31, 2024 13:13
Status Failure
Total duration 36m 6s
Artifacts 3

qc_checks.yaml

on: pull_request
Build - UI Platform
1m 58s
Build - UI Platform
Style [pre-commit]
39s
Style [pre-commit]
Tests - API Schema Documentation
4m 10s
Tests - API Schema Documentation
Style [Documentation]
41s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 16s
Tests - inventree-python
Tests - DB [PostgreSQL]
11m 48s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
11m 25s
Tests - DB [MySQL]
Tests - Platform UI
29m 11s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 25s
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 [MySQL]
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.
[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.2m
Slow Test: src/frontend/[chromium] › pages/pui_build.spec.ts#L1
src/frontend/[chromium] › pages/pui_build.spec.ts took 43.1s
Slow Test: src/frontend/[chromium] › pages/pui_orders.spec.ts#L1
src/frontend/[chromium] › pages/pui_orders.spec.ts took 42.7s
Slow Test: src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 32.0s
Slow Test: src/frontend/[chromium] › pui_printing.spec.ts#L1
src/frontend/[chromium] › pui_printing.spec.ts took 20.9s
🎭 Playwright Run Summary
12 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:161:1 › Pages - Build Order - Allocation ─────────────────── [firefox] › pages/pui_part.spec.ts:174:1 › Pages - Part - Attachments ────────────────────────── [firefox] › pages/pui_scan.spec.ts:27:1 › Pages - Index - Scan (Part) ────────────────────────── [firefox] › pages/pui_scan.spec.ts:36:1 › Pages - Index - Scan (Stockitem) ───────────────────── [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_tables.spec.ts:53:1 › Tables - Columns ───────────────────────────────────────── 9 flaky [firefox] › pages/pui_dashboard.spec.ts:5:1 › Pages - Dashboard - Basic ──────────────────────── [firefox] › pages/pui_orders.spec.ts:5:1 › Sales Orders ──────────────────────────────────────── [firefox] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking ──────────────────────────────── [firefox] › pages/pui_part.spec.ts:127:1 › Pages - Part - Pricing (Internal) ─────────────────── [firefox] › pages/pui_scan.spec.ts:45:1 › Pages - Index - Scan (StockLocation) ───────────────── [firefox] › pages/pui_scan.spec.ts:72:1 › Pages - Index - Scan (SalesOrder) ──────────────────── [firefox] › pui_general.spec.ts:45:1 › Parts - Manufacturer Parts ────────────────────────────── [firefox] › pui_general.spec.ts:178:1 › Company ──────────────────────────────────────────────── [firefox] › pui_printing.spec.ts:11:1 › Label Printing ───────────────────────────────────────── 95 passed (23.2m)

Artifacts

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