Merge branch '0.16.x' into backport/0.16.x/pr-8387 #15366
qc_checks.yaml
on: push
Filter
12s
Build - UI Platform
4m 5s
Style [Documentation]
1m 6s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
5m 2s
Tests - DB [PostgreSQL]
12m 39s
Tests - DB [MySQL]
12m 33s
Tests - Platform UI
17m 5s
Matrix: coverage
Style - Classic UI [JS]
1m 28s
Push new schema
0s
Annotations
10 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
|
[firefox] › pui_tables.spec.ts:53:1 › PUI - Tables - Columns:
src/frontend/tests/baseFixtures.ts#L81
1) [firefox] › pui_tables.spec.ts:53:1 › PUI - Tables - Columns ──────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 272
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@f59ff74b935d434e290c5ba3a55b5626",
+ "_type": "JSHandle",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ ],
+ "location": Object {
+ "columnNumber": 19,
+ "lineNumber": 2228,
+ "url": "http://localhost:5173/node_modules/.vite/deps/chunk-EZYCCCLE.js?v=8d48be1c",
+ },
+ "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@3101f15336014f137299bdf021682db0",
+ "_type": "Page",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ "text": "The above error occurred in one of your React components:
+
+ Lazy
+ Suspense
+ LoadingItem@http://localhost:5173/src/functions/loading.tsx:994:28
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-EZYCCCLE.js?v=8d48be1c:3448:3
+ Container<@http://localhost:5173/node_modules/.vite/deps/chunk-EZYCCCLE.js?v=8d48be1c:14800:25
+ Resizable2@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=f7416ec6:2527:39
+ DraggableCore@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=f7416ec6:1481:9
+ GridItem@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=f7416ec6:3059:9
+ div
+ ReactGridLayout@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=f7416ec6:3591:9
+ ResponsiveReactGridLayout@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=f7416ec6:4320:9
+ WidthProvider@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=f7416ec6:5074:11
+ div
+ WidgetLayout@http://localhost:5173/src/components/widgets/WidgetLayout.tsx:2166:29
+ Home@http://localhost:5173/src/pages/Index/Home.tsx:1114:49
+ Suspense
+ RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=7032a41f:4037:7
+ Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=7032a41f:4409:20
+ _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=afc8151c:22423:5
+ Boundary@http://localhost:5173/src/components/Boundary.tsx:999:25
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-EZYCCCLE.js?v=8d48be1c:3448:3
+ Container<@http://localhost:5173/node_modules/.vite/deps/chunk-EZYCCCLE.js?v=8d48be1c:14800:25
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-EZYCCCLE.js?v=8d48be1c:3448:3
+ Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-EZYCCCLE.js?v=8d48be1c:9337:25
+ ProtectedRoute@http://localhost:
|
[firefox] › pui_tables.spec.ts:53:1 › PUI - Tables - Columns:
src/frontend/tests/baseFixtures.ts#L81
1) [firefox] › pui_tables.spec.ts:53:1 › PUI - Tables - Columns ──────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 56
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@e53c3b3f1a9262eaba01874a1f433d27",
+ "_type": "JSHandle",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ ],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "",
+ },
+ "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@22c7dfebcfd533b516ac5bd974d507eb",
+ "_type": "Page",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ "text": "[JavaScript Error: \"downloadable font: download failed (font-family: \"inventree-icon-font-ti\" style:normal weight:400 stretch:100 src index:0): status=2152398850 source: http://localhost:8000/static/tabler-icons/tabler-icons.woff2\"]",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@22c7dfebcfd533b516ac5bd974d507eb",
+ "_type": "Page",
+ },
+ },
+ ]
at baseFixtures.ts:81
79 | });
80 | await use(page);
> 81 | expect(messages).toEqual([]);
| ^
82 | }
83 | });
84 |
at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:81:22)
|
[chromium] › pui_general.spec.ts:71:1 › PUI - Sales:
src/frontend/tests/pui_general.spec.ts#L1
2) [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/baseFixtures.ts#L81
2) [chromium] › pui_general.spec.ts:71:1 › PUI - Sales ───────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 242
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/build/?sales_order=1&part_detail=true",
+ },
+ "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@79816c666521af58c3cd5a98de64d4df",
+ "_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@79816c666521af58c3cd5a98de64d4df",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/build/?sales_order=1&part_detail=true&limit=25&offset=0",
+ },
+ "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@79816c666521af58c3cd5a98de64d4df",
+ "_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@79816c666521af58c3cd5a98de64d4df",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/build/?sales_order=1&part_detail=true&limit=25&offset=0",
+ },
+ "page": EventEmitter {
+ "_events": Object {
+ "bindingCall": [Function anonymous],
+ "close": [Function anonymous],
+ "crash": [Function anonymous],
+ "download": [Function anonymous],
+ "fileChooser": [Function anonymous],
+ "frame
|
[chromium] › pui_general.spec.ts:71:1 › PUI - Sales:
src/frontend/tests/pui_general.spec.ts#L106
2) [chromium] › pui_general.spec.ts:71:1 › PUI - Sales ───────────────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('No records found').first() to be visible
104 | await page.getByRole('tab', { name: 'Shipments' }).click();
105 | await page.getByRole('tab', { name: 'Build Orders' }).click();
> 106 | await page.getByText('No records found').first().waitFor();
| ^
107 | await page.getByRole('tab', { name: 'Attachments' }).click();
108 | await page.getByText('No attachments found').first().waitFor();
109 | await page.getByRole('tab', { name: 'Notes' }).click();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:106:52
|
[firefox] › pages/pui_part.spec.ts:271:1 › PUI - Pages - Part - Revision:
src/frontend/tests/baseFixtures.ts#L81
3) [firefox] › pages/pui_part.spec.ts:271:1 › PUI - Pages - Part - Revision ──────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 56
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@b51e8864716655b80a33e392017ad65c",
+ "_type": "JSHandle",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ ],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "",
+ },
+ "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@61c2037a31e0e97a64bd3175ca419f37",
+ "_type": "Page",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ "text": "[JavaScript Error: \"downloadable font: download failed (font-family: \"inventree-icon-font-ti\" style:normal weight:400 stretch:100 src index:0): status=2152398850 source: http://localhost:8000/static/tabler-icons/tabler-icons.woff2\"]",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@61c2037a31e0e97a64bd3175ca419f37",
+ "_type": "Page",
+ },
+ },
+ ]
at baseFixtures.ts:81
79 | });
80 | await use(page);
> 81 | expect(messages).toEqual([]);
| ^
82 | }
83 | });
84 |
at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:81:22)
|
[firefox] › pui_general.spec.ts:71:1 › PUI - Sales:
src/frontend/tests/pui_general.spec.ts#L1
4) [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#L102
4) [firefox] › pui_general.spec.ts:71:1 › PUI - Sales ────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByLabel('Order Details').getByText('Selling some stuff') to be visible
100 | .getByLabel('Order Details')
101 | .getByText('Selling some stuff')
> 102 | .waitFor();
| ^
103 | await page.getByRole('tab', { name: 'Line Items' }).click();
104 | await page.getByRole('tab', { name: 'Shipments' }).click();
105 | await page.getByRole('tab', { name: 'Build Orders' }).click();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:102:6
|
Tests - Platform UI
Process completed with exit code 1.
|
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/
|
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/
|
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 29.1s
|
Slow Test:
src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 25.3s
|
Slow Test:
src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 24.1s
|
Slow Test:
src/frontend/[chromium] › pages/pui_build.spec.ts#L1
src/frontend/[chromium] › pages/pui_build.spec.ts took 23.0s
|
Slow Test:
src/frontend/[chromium] › pui_printing.spec.ts#L1
src/frontend/[chromium] › pui_printing.spec.ts took 21.4s
|
🎭 Playwright Run Summary
1 failed
[firefox] › pui_tables.spec.ts:53:1 › PUI - Tables - Columns ───────────────────────────────────
3 flaky
[chromium] › pui_general.spec.ts:71:1 › PUI - Sales ────────────────────────────────────────────
[firefox] › pages/pui_part.spec.ts:271:1 › PUI - Pages - Part - Revision ───────────────────────
[firefox] › pui_general.spec.ts:71:1 › PUI - Sales ─────────────────────────────────────────────
86 passed (11.0m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.03 MB |
|
playwright-report
|
23.5 MB |
|
schema.yml
|
58.6 KB |
|