Fix for "installed in" display #15658
qc_checks.yaml
on: pull_request
Filter
5s
Build - UI Platform
1m 54s
Style [Documentation]
30s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
0s
Tests - DB [PostgreSQL]
0s
Tests - DB [MySQL]
0s
Tests - Platform UI
21m 11s
Matrix: coverage
Style - Classic UI [JS]
1m 21s
Push new schema
0s
Annotations
10 errors, 8 warnings, and 1 notice
[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@04ced2a5c81d787ea6c6ec3b1774ef8a",
+ "_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=9e5c9d3d",
+ },
+ "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@7b2ce70e2e29d09b3a3baf644b552fb9",
+ "_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=ed84d1f6:4095:7
+ Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=ed84d1f6:4467:20
+ _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=823e36c2: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=9e5c9d3d:3819:3
+ Container<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=9e5c9d3d:15473:25
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=9e5c9d3d:3819:3
+ Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=9e5c9d3d: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=ed84d1f6:4095:7
+ Routes@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=ed84d1f6:4533:7
+ Router@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=ed84d1f6:4481:7
+ BrowserRouter@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=ed84d1f6:5223:7
+ QueryClientProvider@http://localhost:5173/node_modules/.vite/deps/@tanstack_react-query.js?v=b31372a5:2725:27
+ ModalsProvider@http://localhost:5173/node_modules/.vite/deps/@mantine_modals.js?v=a08f5dce:184:24
+ I18nProvider@http://localhost:5173/node_modules/.vite/deps/@lingui_react.js?v=ee7bc45a: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@85972167dfd0594ce3668313027e9532",
+ "_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=9e5c9d3d",
+ },
+ "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@516ec438ecc17a32819b1cb92f5010b0",
+ "_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=ed84d1f6:4095:7
+ Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=ed84d1f6:4467:20
+ _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=823e36c2: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=9e5c9d3d:3819:3
+ Container<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=9e5c9d3d:15473:25
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=9e5c9d3d:3819:3
+ Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=9e5c9d3d: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=ed84d1f6:4095:7
+ Routes@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=ed84d1f6:4533:7
+ Router@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=ed84d1f6:4481:7
+ BrowserRouter@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=ed84d1f6:5223:7
+ QueryClientProvider@http://localhost:5173/node_modules/.vite/deps/@tanstack_react-query.js?v=b31372a5:2725:27
+ ModalsProvider@http://localhost:5173/node_modules/.vite/deps/@mantine_modals.js?v=a08f5dce:184:24
+ I18nProvider@http://localhost
|
[chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L1
2) [chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L124
2) [chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('BO0001') to be visible
122 |
123 | // Expected order reference values
> 124 | await page.getByText('BO0001').waitFor();
| ^
125 | await page.getByText('BO0016').waitFor();
126 | await page.getByText('BO0019').waitFor();
127 | await page.getByText('SO0008').waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:124:34
|
[firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs:
src/frontend/tests/pages/pui_build.spec.ts#L1
3) [firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs ────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs:
src/frontend/tests/pages/pui_build.spec.ts#L158
3) [firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs ────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('Build outputs have been completed') to be visible
156 | await page.waitForTimeout(250);
157 | await page.getByRole('button', { name: 'Submit' }).click();
> 158 | await page.getByText('Build outputs have been completed').waitFor();
| ^
159 | });
160 |
161 | test('Pages - Build Order - Allocation', async ({ page }) => {
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_build.spec.ts:158:61
|
[firefox] › pages/pui_part.spec.ts:339:1 › Parts - Parameters:
src/frontend/tests/pages/pui_part.spec.ts#L1
4) [firefox] › pages/pui_part.spec.ts:339:1 › Parts - Parameters ─────────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pages/pui_part.spec.ts:339:1 › Parts - Parameters:
src/frontend/tests/baseFixtures.ts#L85
4) [firefox] › pages/pui_part.spec.ts:339:1 › Parts - Parameters ─────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 125
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@38a787f968d2bc19e2b977183c1bbd5d",
+ "_type": "JSHandle",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ ],
+ "location": Object {
+ "columnNumber": 1,
+ "lineNumber": 0,
+ "url": "http://localhost:5173/platform/part/69/parameters",
+ },
+ "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@840913334ff22c6611afcf317009a4db",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/views/DesktopAppView.tsx” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/part/69/parameters\" line: 0}]",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@840913334ff22c6611afcf317009a4db",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@dc219310b4e2924c6cae7c732fd8ec92",
+ "_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=9e5c9d3d",
+ },
+ "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 a
|
[firefox] › pages/pui_part.spec.ts:339:1 › Parts - Parameters:
src/frontend/tests/pages/pui_part.spec.ts#L345
4) [firefox] › pages/pui_part.spec.ts:339:1 › Parts - Parameters ─────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByLabel('action-button-add-parameter')
343 |
344 | // Create a new template
> 345 | await page.getByLabel('action-button-add-parameter').click();
| ^
346 |
347 | // Select the "Color" parameter template (should create a "choice" field)
348 | await page.getByLabel('related-field-template').fill('Color');
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:345:56
|
[firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys:
src/frontend/tests/pui_command.spec.ts#L1
5) [firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys ────────────────────────────────
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 - 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] › pages/pui_sales_order.spec.ts#L1
src/frontend/[firefox] › pages/pui_sales_order.spec.ts took 37.1s
|
Slow Test:
src/frontend/[firefox] › pui_general.spec.ts#L1
src/frontend/[firefox] › pui_general.spec.ts took 30.4s
|
Slow Test:
src/frontend/[firefox] › pui_plugins.spec.ts#L1
src/frontend/[firefox] › pui_plugins.spec.ts took 29.0s
|
Slow Test:
src/frontend/[firefox] › pui_forms.spec.ts#L1
src/frontend/[firefox] › pui_forms.spec.ts took 23.3s
|
Slow Test:
src/frontend/[chromium] › pages/pui_purchase_order.spec.ts#L1
src/frontend/[chromium] › pages/pui_purchase_order.spec.ts took 22.4s
|
🎭 Playwright Run Summary
1 failed
[firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ───────────────────────────────────────────
4 flaky
[chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ─────────────────────────────────
[firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs ─────────────────
[firefox] › pages/pui_part.spec.ts:339:1 › Parts - Parameters ──────────────────────────────────
[firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys ─────────────────────────────────
119 passed (14.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.17 MB |
|
playwright-report
Expired
|
29.5 MB |
|