Skip to content

[PUI] Dashboard refactor #15424

[PUI] Dashboard refactor

[PUI] Dashboard refactor #15424

Triggered via pull request November 1, 2024 01:12
Status Failure
Total duration 30m 1s
Artifacts 3

qc_checks.yaml

on: pull_request
Build - UI Platform
2m 0s
Build - UI Platform
Style [pre-commit]
50s
Style [pre-commit]
Tests - API Schema Documentation
4m 41s
Tests - API Schema Documentation
Style [Documentation]
28s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 20s
Tests - inventree-python
Tests - DB [PostgreSQL]
12m 32s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
11m 55s
Tests - DB [MySQL]
Tests - Platform UI
28m 42s
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 [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.4m
Slow Test: src/frontend/[chromium] › pages/pui_build.spec.ts#L1
src/frontend/[chromium] › pages/pui_build.spec.ts took 41.4s
Slow Test: src/frontend/[chromium] › pages/pui_sales_order.spec.ts#L1
src/frontend/[chromium] › pages/pui_sales_order.spec.ts took 30.5s
Slow Test: src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 23.0s
Slow Test: src/frontend/[firefox] › pui_forms.spec.ts#L1
src/frontend/[firefox] › pui_forms.spec.ts took 22.3s
🎭 Playwright Run Summary
10 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:279:1 › Pages - Part - 404 ────────────────────────────────── [firefox] › pages/pui_stock.spec.ts:118:1 › Stock - Stock Actions ────────────────────────────── [firefox] › pui_general.spec.ts:5:1 › Parts ──────────────────────────────────────────────────── [firefox] › pui_general.spec.ts:122:1 › Scanning ─────────────────────────────────────────────── [firefox] › pui_general.spec.ts:178:1 › Company ──────────────────────────────────────────────── [firefox] › pui_plugins.spec.ts:7:1 › Plugins - Panels ───────────────────────────────────────── 11 flaky [chromium] › pui_basic.spec.ts:5:1 › Basic Login Test ────────────────────────────────────────── [chromium] › pui_command.spec.ts:16:1 › Quick Command - No Keys ──────────────────────────────── [firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs ───────────────── [firefox] › pages/pui_build.spec.ts:161:1 › Pages - Build Order - Allocation ─────────────────── [firefox] › pages/pui_purchase_order.spec.ts:4:1 › Purchase Orders - General ─────────────────── [firefox] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders ─────────────────────────────────── [firefox] › pages/pui_sales_order.spec.ts:44:1 › Sales Orders - Shipments ────────────────────── [firefox] › pages/pui_sales_order.spec.ts:130:1 › Purchase Orders ────────────────────────────── [firefox] › pages/pui_stock.spec.ts:35:1 › Stock - Location Tree ─────────────────────────────── [firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ─────────────────────────────────────────── [firefox] › pui_general.spec.ts:58:1 › Parts - Supplier Parts ────────────────────────────────── 99 passed (22.5m)

Artifacts

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