Skip to content

[PUI] Dashboard refactor #15321

[PUI] Dashboard refactor

[PUI] Dashboard refactor #15321

Triggered via pull request October 27, 2024 04:47
Status Failure
Total duration 30m 53s
Artifacts 3

qc_checks.yaml

on: pull_request
Build - UI Platform
1m 52s
Build - UI Platform
Style [pre-commit]
35s
Style [pre-commit]
Tests - API Schema Documentation
4m 12s
Tests - API Schema Documentation
Style [Documentation]
35s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 18s
Tests - inventree-python
Tests - DB [PostgreSQL]
12m 16s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
12m 46s
Tests - DB [MySQL]
Tests - Platform UI
29m 51s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 21s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
[chromium] › pui_general.spec.ts:122:1 › Scanning: src/frontend/tests/pui_general.spec.ts#L1
1) [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
1) [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
1) [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
1) [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
2) [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#L31
2) [chromium] › pui_plugins.spec.ts:7:1 › Plugins - Panels ─────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'Sample Panel' }) 29 | 30 | // Check out each of the plugin panels > 31 | await page.getByRole('tab', { name: 'Sample Panel' }).click(); | ^ 32 | await page 33 | .getByText('This is a sample panel which appears on every page') 34 | .waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_plugins.spec.ts:31:57
[chromium] › pui_plugins.spec.ts:7:1 › Plugins - Panels: src/frontend/tests/pui_plugins.spec.ts#L1
2) [chromium] › pui_plugins.spec.ts:7:1 › Plugins - Panels ─────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_plugins.spec.ts:7:1 › Plugins - Panels: src/frontend/tests/pui_plugins.spec.ts#L31
2) [chromium] › pui_plugins.spec.ts:7:1 › Plugins - Panels ─────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'Sample Panel' }) 29 | 30 | // Check out each of the plugin panels > 31 | await page.getByRole('tab', { name: 'Sample Panel' }).click(); | ^ 32 | await page 33 | .getByText('This is a sample panel which appears on every page') 34 | .waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_plugins.spec.ts:31:57
[chromium] › pui_printing.spec.ts:85:1 › Report Editing: src/frontend/tests/pui_printing.spec.ts#L1
3) [chromium] › pui_printing.spec.ts:85:1 › Report Editing ─────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_printing.spec.ts:85:1 › Report Editing: src/frontend/tests/baseFixtures.ts#L85
3) [chromium] › pui_printing.spec.ts:85:1 › Report Editing ─────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1043 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@bacabb5e96ee761e640b2199c89f5100", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@449f8d16c8238ba79876846f85d26d9d", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@654914ad6bb6ef1e4dff4c56b7802bc1", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@c056a423d467db4bc8cda6c3bd46d16b", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 6, + "lineNumber": 2599, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=2dcfb551", + }, + "page": EventEmitter { + "_events": Object { + "bindingCall": [Function anonymous], + "close": [Function anonymous], + "crash": [Function anonymous], + "download": [Function anonymous], + "fileChooser": [Function anonymous], + "frameAttached": [Function anonymous], + "frameDetached": [Function anonymous], + "locatorHandlerTriggered": [Function anonymous], + "route": [Function anonymous], + "video": [Function anonymous], + "webSocket": [Function anonymous], + "worker": [Function anonymous], + }, + "_eventsCount": 12, + "_maxListeners": undefined, + "_object": Object { + "_guid": "page@4345b8738028408fefc99f0186700442", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "Warning: Each child in a list should h
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/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 30.6s
Slow Test: src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 26.1s
Slow Test: src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 23.0s
Slow Test: src/frontend/[firefox] › pui_forms.spec.ts#L1
src/frontend/[firefox] › pui_forms.spec.ts took 22.4s
Slow Test: src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 18.5s
🎭 Playwright Run Summary
11 failed [chromium] › pui_general.spec.ts:122:1 › Scanning ────────────────────────────────────────────── [chromium] › pui_plugins.spec.ts:7:1 › Plugins - Panels ──────────────────────────────────────── [chromium] › pui_printing.spec.ts:85:1 › Report Editing ──────────────────────────────────────── [firefox] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking ──────────────────────────────── [firefox] › pages/pui_scan.spec.ts:36:1 › Pages - Index - Scan (Stockitem) ───────────────────── [firefox] › pages/pui_stock.spec.ts:5:1 › Stock ──────────────────────────────────────────────── [firefox] › pages/pui_stock.spec.ts:118:1 › Stock - Stock Actions ────────────────────────────── [firefox] › pui_general.spec.ts:122:1 › Scanning ─────────────────────────────────────────────── [firefox] › pui_plugins.spec.ts:7:1 › Plugins - Panels ───────────────────────────────────────── [firefox] › pui_printing.spec.ts:85:1 › Report Editing ───────────────────────────────────────── [firefox] › pui_tables.spec.ts:23:1 › Tables - Filters ───────────────────────────────────────── 11 flaky [firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs ───────────────── [firefox] › pages/pui_orders.spec.ts:5:1 › Sales Orders ──────────────────────────────────────── [firefox] › pages/pui_orders.spec.ts:150:1 › Purchase Orders - Barcodes ──────────────────────── [firefox] › pages/pui_orders.spec.ts:182:1 › Purchase Orders - General ───────────────────────── [firefox] › pages/pui_part.spec.ts:75:1 › Pages - Part - Pricing (Supplier) ──────────────────── [firefox] › pages/pui_part.spec.ts:101:1 › Pages - Part - Pricing (Variant) ──────────────────── [firefox] › pages/pui_part.spec.ts:255:1 › Pages - Part - Revision ───────────────────────────── [firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ─────────────────────────────────────────── [firefox] › pui_basic.spec.ts:36:1 › Quick Login Test ────────────────────────────────────────── [firefox] › pui_printing.spec.ts:11:1 › Label Printing ───────────────────────────────────────── [firefox] › pui_tables.spec.ts:53:1 › Tables - Columns ───────────────────────────────────────── 92 passed (23.5m)

Artifacts

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