Skip to content

Fix for "installed in" display #15660

Fix for "installed in" display

Fix for "installed in" display #15660

Triggered via pull request November 13, 2024 22:30
Status Failure
Total duration 22m 14s
Artifacts 3

qc_checks.yaml

on: pull_request
Build - UI Platform
2m 4s
Build - UI Platform
Style [pre-commit]
28s
Style [pre-commit]
Tests - API Schema Documentation
4m 0s
Tests - API Schema Documentation
Style [Documentation]
36s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 7s
Tests - inventree-python
Tests - DB [PostgreSQL]
13m 20s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
12m 7s
Tests - DB [MySQL]
Tests - Platform UI
21m 19s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 29s
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.
[firefox] › pui_basic.spec.ts:5:1 › Basic Login Test: src/frontend/tests/baseFixtures.ts#L85
1) [firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 256 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@ff864651255f090d65dbac200c825e36", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 19, + "lineNumber": 2599, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=292278a2", + }, + "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@cd7dc47a354cb9ded49943bcbadeda46", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "The above error occurred in one of your React components: + + Lazy + Suspense + RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=4a156546:4095:7 + Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=4a156546:4467:20 + _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=54e2b51f:22660:5 + Boundary@http://localhost:5173/src/components/Boundary.tsx:999:25 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=292278a2:3819:3 + Container<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=292278a2:15473:25 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=292278a2:3819:3 + Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=292278a2:10002:25 + ProtectedRoute@http://localhost:5173/src/components/nav/Layout.tsx:1341:31 + LayoutComponent@http://localhost:5173/src/components/nav/Layout.tsx:1386:47 + Suspense + RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=4a156546:4095:7 + Routes@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=4a156546:4533:7 + Router@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=4a156546:4481:7 + BrowserRouter@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=4a156546:5223:7 + QueryClientProvider@http://localhost:5173/node_modules/.vite/deps/@tanstack_react-query.js?v=47520be5:2725:27 + ModalsProvider@http://localhost:5173/node_modules/.vite/deps/@mantine_modals.js?v=7bcfeb51:184:24 + I18nProvider@http://localhost:5173/node_modules/.vite/deps/@lingui_react.js?v=ef4d87bc:159:20 + LanguageContext@http://localhos
[firefox] › pui_basic.spec.ts:5:1 › Basic Login Test: src/frontend/tests/baseFixtures.ts#L85
1) [firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 256 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@256dd0f0f209d53334920aa3d32c6c19", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 19, + "lineNumber": 2599, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=292278a2", + }, + "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@76e4ddd38f3a43f048b24e5ac767249f", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "The above error occurred in one of your React components: + + Lazy + Suspense + RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=4a156546:4095:7 + Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=4a156546:4467:20 + _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=54e2b51f:22660:5 + Boundary@http://localhost:5173/src/components/Boundary.tsx:999:25 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=292278a2:3819:3 + Container<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=292278a2:15473:25 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=292278a2:3819:3 + Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=292278a2:10002:25 + ProtectedRoute@http://localhost:5173/src/components/nav/Layout.tsx:1341:31 + LayoutComponent@http://localhost:5173/src/components/nav/Layout.tsx:1386:47 + Suspense + RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=4a156546:4095:7 + Routes@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=4a156546:4533:7 + Router@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=4a156546:4481:7 + BrowserRouter@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=4a156546:5223:7 + QueryClientProvider@http://localhost:5173/node_modules/.vite/deps/@tanstack_react-query.js?v=47520be5:2725:27 + ModalsProvider@http://localhost:5173/node_modules/.vite/deps/@mantine_modals.js?v=7bcfeb51:184:24 + I18nProvider@http://localhost
[chromium] › pages/pui_part.spec.ts:60:1 › Parts - Supplier Parts: src/frontend/tests/pages/pui_part.spec.ts#L1
2) [chromium] › pages/pui_part.spec.ts:60:1 › Parts - Supplier Parts ───────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pages/pui_part.spec.ts:60:1 › Parts - Supplier Parts: src/frontend/tests/login.ts#L37
2) [chromium] › pages/pui_part.spec.ts:60:1 › Parts - Supplier Parts ───────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText(/InvenTree Demo Server -/) to be visible at login.ts:37 35 | await page.waitForURL('**/platform/home'); 36 | > 37 | await page.getByText(/InvenTree Demo Server -/).waitFor(); | ^ 38 | }; 39 | 40 | export const doLogout = async (page) => { at doQuickLogin (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/login.ts:37:51) at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:61:3
[firefox] › pages/pui_part.spec.ts:47:1 › Parts - Manufacturer Parts: src/frontend/tests/pages/pui_part.spec.ts#L1
3) [firefox] › pages/pui_part.spec.ts:47:1 › Parts - Manufacturer Parts ────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pages/pui_part.spec.ts:47:1 › Parts - Manufacturer Parts: src/frontend/tests/baseFixtures.ts#L85
3) [firefox] › pages/pui_part.spec.ts:47:1 › Parts - Manufacturer Parts ────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 60 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@2dd637430ff6d6a56a349c1113462c87", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 1, + "lineNumber": 0, + "url": "http://localhost:5173/platform/part/84/suppliers", + }, + "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@c21ab1b3eb86c95f2c54bc8e8b8d5e1c", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/enums/ModelType.tsx” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/part/84/suppliers\" line: 0}]", + "type": "error", + }, + "_page": Object { + "_guid": "page@c21ab1b3eb86c95f2c54bc8e8b8d5e1c", + "_type": "Page", + }, + }, + ] at baseFixtures.ts:85 83 | }); 84 | await use(page); > 85 | expect(messages).toEqual([]); | ^ 86 | } 87 | }); 88 | at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:85:22)
[firefox] › pages/pui_part.spec.ts:47:1 › Parts - Manufacturer Parts: src/frontend/tests/pages/pui_part.spec.ts#L52
3) [firefox] › pages/pui_part.spec.ts:47:1 › Parts - Manufacturer Parts ────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'Suppliers' }) 50 | await page.goto(`${baseUrl}/part/84/suppliers`); 51 | > 52 | await page.getByRole('tab', { name: 'Suppliers' }).click(); | ^ 53 | await page.getByText('Hammond Manufacturing').click(); 54 | await page.getByRole('tab', { name: 'Parameters' }).click(); 55 | await page.getByRole('tab', { name: 'Suppliers' }).click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:52:54
[firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys: src/frontend/tests/pui_command.spec.ts#L1
4) [firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys ──────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys: src/frontend/tests/baseFixtures.ts#L85
4) [firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys ──────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 60 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@db9dbe2d58764577a40920ab11f97508", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 19, + "lineNumber": 2599, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=292278a2", + }, + "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@14544fca22c782c13387d249aece75fc", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: [\"license\"]", + "type": "error", + }, + "_page": Object { + "_guid": "page@14544fca22c782c13387d249aece75fc", + "_type": "Page", + }, + }, + ] at baseFixtures.ts:85 83 | }); 84 | await use(page); > 85 | expect(messages).toEqual([]); | ^ 86 | } 87 | }); 88 | at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:85:22)
[firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys: src/frontend/tests/pui_command.spec.ts#L68
4) [firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys ──────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'backend Packages' }) to be visible 66 | .click(); 67 | await page.getByText('License Information').first().waitFor(); > 68 | await page.getByRole('tab', { name: 'backend Packages' }).waitFor(); | ^ 69 | await page.getByRole('button', { name: 'Django BSD License' }).click(); 70 | 71 | await page.keyboard.press('Escape'); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_command.spec.ts:68:61
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_tables.spec.ts#L1
src/frontend/[firefox] › pui_tables.spec.ts took 33.3s
Slow Test: src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 32.2s
Slow Test: src/frontend/[firefox] › pui_general.spec.ts#L1
src/frontend/[firefox] › pui_general.spec.ts took 29.2s
Slow Test: src/frontend/[firefox] › pui_plugins.spec.ts#L1
src/frontend/[firefox] › pui_plugins.spec.ts took 27.0s
Slow Test: src/frontend/[firefox] › pui_forms.spec.ts#L1
src/frontend/[firefox] › pui_forms.spec.ts took 23.0s
🎭 Playwright Run Summary
1 failed [firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ─────────────────────────────────────────── 4 flaky [chromium] › pages/pui_part.spec.ts:60:1 › Parts - Supplier Parts ────────────────────────────── [firefox] › pages/pui_part.spec.ts:47:1 › Parts - Manufacturer Parts ─────────────────────────── [firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys ───────────────────────────────── [firefox] › pui_settings.spec.ts:44:1 › Settings - Admin ─────────────────────────────────────── 119 passed (15.2m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.17 MB
playwright-report Expired
19.7 MB
schema.yml
63.5 KB