Skip to content

[PUI] Make breadcrumbs adjustable #14353

[PUI] Make breadcrumbs adjustable

[PUI] Make breadcrumbs adjustable #14353

Triggered via pull request August 28, 2024 19:55
Status Failure
Total duration 20m 39s
Artifacts 3

qc_checks.yaml

on: pull_request
Build - UI Platform
2m 3s
Build - UI Platform
Style [pre-commit]
51s
Style [pre-commit]
Tests - API Schema Documentation
4m 18s
Tests - API Schema Documentation
Style [Documentation]
34s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 13s
Tests - inventree-python
Tests - DB [PostgreSQL]
12m 17s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
12m 19s
Tests - DB [MySQL]
Tests - Platform UI
19m 18s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 30s
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_settings.spec.ts:89:1 › PUI - Admin - Unauthorized: src/frontend/tests/baseFixtures.ts#L82
1) [chromium] › pui_settings.spec.ts:89:1 › PUI - Admin - Unauthorized ─────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 542 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@af4755882ff60a69525c8bfe143eee00", + "_type": "JSHandle", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + ], + "location": Object { + "columnNumber": 6, + "lineNumber": 2228, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-HHRTPNE4.js?v=94fbbfc1", + }, + "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@1592f89149d5bcc7f1b8c4ca91fedb2b", + "_type": "Page", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + "text": "Setting ENABLE_LAST_BREADCRUMB not found", + "type": "error", + }, + "_page": Object { + "_guid": "page@1592f89149d5bcc7f1b8c4ca91fedb2b", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@93295236e11c65e4a14d33ee8e73199f", + "_type": "JSHandle", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + ], + "location": Object { + "columnNumber": 6, + "lineNumber": 2228, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-HHRTPNE4.js?v=94fbbfc1", + }, + "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@1592f89149d5bcc7f1b8c4ca91fedb2b", + "_type": "Page", + }, + Symbol(shapeMode): false, + Symbol(k
[chromium] › pui_settings.spec.ts:89:1 › PUI - Admin - Unauthorized: src/frontend/tests/baseFixtures.ts#L82
1) [chromium] › pui_settings.spec.ts:89:1 › PUI - Admin - Unauthorized ─────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 542 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@3975dd4a466cf73461bcd45681ccb108", + "_type": "JSHandle", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + ], + "location": Object { + "columnNumber": 6, + "lineNumber": 2228, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-HHRTPNE4.js?v=94fbbfc1", + }, + "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@6939ee4319d7914837c618de821cd512", + "_type": "Page", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + "text": "Setting ENABLE_LAST_BREADCRUMB not found", + "type": "error", + }, + "_page": Object { + "_guid": "page@6939ee4319d7914837c618de821cd512", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@0d83c7e8594a2f226d3a279998c2813e", + "_type": "JSHandle", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + ], + "location": Object { + "columnNumber": 6, + "lineNumber": 2228, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-HHRTPNE4.js?v=94fbbfc1", + }, + "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@6939ee4319d7914837c618de821cd512", +
[firefox] › pui_settings.spec.ts:89:1 › PUI - Admin - Unauthorized: src/frontend/tests/baseFixtures.ts#L82
2) [firefox] › pui_settings.spec.ts:89:1 › PUI - Admin - Unauthorized ──────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 542 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@89181f8d1958d906e1f4acf069d41513", + "_type": "JSHandle", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + ], + "location": Object { + "columnNumber": 19, + "lineNumber": 2228, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-HHRTPNE4.js?v=94fbbfc1", + }, + "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@af41c5c89d76eec61f27d942332eb88e", + "_type": "Page", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + "text": "Setting ENABLE_LAST_BREADCRUMB not found", + "type": "error", + }, + "_page": Object { + "_guid": "page@af41c5c89d76eec61f27d942332eb88e", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@01eb6adc76ecf316e780d4d29f1ea540", + "_type": "JSHandle", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + ], + "location": Object { + "columnNumber": 19, + "lineNumber": 2228, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-HHRTPNE4.js?v=94fbbfc1", + }, + "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@af41c5c89d76eec61f27d942332eb88e", + "_type": "Page", + }, + Symbol(shapeMode): false, + Symbol
[firefox] › pui_settings.spec.ts:89:1 › PUI - Admin - Unauthorized: src/frontend/tests/baseFixtures.ts#L82
2) [firefox] › pui_settings.spec.ts:89:1 › PUI - Admin - Unauthorized ──────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 542 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@4d79bfff5af49a6dfe41bf0ca0a4aeea", + "_type": "JSHandle", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + ], + "location": Object { + "columnNumber": 19, + "lineNumber": 2228, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-HHRTPNE4.js?v=94fbbfc1", + }, + "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@873fd4718d11cf0837ba4eec287ecb30", + "_type": "Page", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + "text": "Setting ENABLE_LAST_BREADCRUMB not found", + "type": "error", + }, + "_page": Object { + "_guid": "page@873fd4718d11cf0837ba4eec287ecb30", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@a9e2e0026ed61584b8df5ad46e644922", + "_type": "JSHandle", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + ], + "location": Object { + "columnNumber": 19, + "lineNumber": 2228, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-HHRTPNE4.js?v=94fbbfc1", + }, + "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@873fd4718d11cf0837ba4eec287ecb30", +
[chromium] › pages/pui_scan.spec.ts:90:1 › PUI - Pages - Index - Scan (General): src/frontend/tests/baseFixtures.ts#L82
3) [chromium] › pages/pui_scan.spec.ts:90:1 › PUI - Pages - Index - Scan (General) ─────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 122 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/settings/user/", + }, + "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@aba46089f358a0395d2744ab84665347", + "_type": "Page", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + "text": "Failed to load resource: the server responded with a status of 401 (Unauthorized)", + "type": "error", + }, + "_page": Object { + "_guid": "page@aba46089f358a0395d2744ab84665347", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/generic/status/", + }, + "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@aba46089f358a0395d2744ab84665347", + "_type": "Page", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + "text": "Failed to load resource: the server responded with a status of 401 (Unauthorized)", + "type": "error", + }, + "_page": Object { + "_guid": "page@aba46089f358a0395d2744ab84665347", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/settings/global/", + }, + "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], +
[chromium] › pui_general.spec.ts:71:1 › PUI - Sales: src/frontend/tests/pui_general.spec.ts#L1
4) [chromium] › pui_general.spec.ts:71:1 › PUI - Sales ─────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_general.spec.ts:71:1 › PUI - Sales: src/frontend/tests/pui_general.spec.ts#L77
4) [chromium] › pui_general.spec.ts:71:1 › PUI - Sales ─────────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'Sales Orders' }) 75 | await page.waitForURL('**/platform/sales/**'); 76 | > 77 | await page.getByRole('tab', { name: 'Sales Orders' }).click(); | ^ 78 | await page.waitForURL('**/platform/sales/index/salesorders'); 79 | await page.getByRole('tab', { name: 'Return Orders' }).click(); 80 | at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:77:57
[firefox] › pui_general.spec.ts:71:1 › PUI - Sales: src/frontend/tests/pui_general.spec.ts#L1
5) [firefox] › pui_general.spec.ts:71:1 › PUI - Sales ──────────────────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pui_general.spec.ts:71:1 › PUI - Sales: src/frontend/tests/pui_general.spec.ts#L113
5) [firefox] › pui_general.spec.ts:71:1 › PUI - Sales ──────────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('link', { name: 'Customer A' }) 111 | 112 | // Return Order Details > 113 | await page.getByRole('link', { name: 'Customer A' }).click(); | ^ 114 | await page.getByRole('tab', { name: 'Return Orders' }).click(); 115 | await page.getByRole('cell', { name: 'RMA-' }).click(); 116 | await page.getByText('RMA-0001', { exact: true }).waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:113:56
[firefox] › pui_tables.spec.ts:23:1 › PUI - Tables - Filters: src/frontend/tests/pui_tables.spec.ts#L1
6) [firefox] › pui_tables.spec.ts:23:1 › PUI - Tables - Filters ────────────────────────────────── Test timeout of 90000ms exceeded.
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] › pui_stock.spec.ts#L1
src/frontend/[chromium] › pui_stock.spec.ts took 32.9s
Slow Test: src/frontend/[chromium] › pages/pui_build.spec.ts#L1
src/frontend/[chromium] › pages/pui_build.spec.ts took 25.2s
Slow Test: src/frontend/[firefox] › pui_command.spec.ts#L1
src/frontend/[firefox] › pui_command.spec.ts took 24.7s
Slow Test: src/frontend/[firefox] › pages/pui_build.spec.ts#L1
src/frontend/[firefox] › pages/pui_build.spec.ts took 24.6s
Slow Test: src/frontend/[chromium] › pui_command.spec.ts#L1
src/frontend/[chromium] › pui_command.spec.ts took 24.0s
🎭 Playwright Run Summary
2 failed [chromium] › pui_settings.spec.ts:89:1 › PUI - Admin - Unauthorized ──────────────────────────── [firefox] › pui_settings.spec.ts:89:1 › PUI - Admin - Unauthorized ───────────────────────────── 4 flaky [chromium] › pages/pui_scan.spec.ts:90:1 › PUI - Pages - Index - Scan (General) ──────────────── [chromium] › pui_general.spec.ts:71:1 › PUI - Sales ──────────────────────────────────────────── [firefox] › pui_general.spec.ts:71:1 › PUI - Sales ───────────────────────────────────────────── [firefox] › pui_tables.spec.ts:23:1 › PUI - Tables - Filters ─────────────────────────────────── 90 passed (13.2m)

Artifacts

Produced during runtime
Name Size
frontend-build Expired
2.09 MB
playwright-report Expired
35.4 MB
schema.yml Expired
60.8 KB