After 0.17.0: Remove CUI #15352
qc_checks.yaml
on: pull_request
Filter
12s
Build - UI Platform
1m 52s
Style [Documentation]
41s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
5m 15s
Tests - DB [PostgreSQL]
10m 47s
Tests - DB [MySQL]
10m 44s
Tests - Platform UI
19m 22s
Matrix: coverage
Push new schema
0s
Annotations
14 errors, 7 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
|
Tests - DB [MySQL]
Process completed with exit code 1.
|
Tests - DB [PostgreSQL]
Process completed with exit code 1.
|
Tests - DB [SQLite] + Coverage 3.9
Process completed with exit code 1.
|
[firefox] › pui_general.spec.ts:5:1 › Parts:
src/frontend/tests/pui_general.spec.ts#L1
1) [firefox] › pui_general.spec.ts:5:1 › Parts ───────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pui_general.spec.ts:5:1 › Parts:
src/frontend/tests/baseFixtures.ts#L85
1) [firefox] › pui_general.spec.ts:5:1 › Parts ───────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 140
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@277227e454f6229dbc3e3840c13a2a48",
+ "_type": "JSHandle",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ ],
+ "location": Object {
+ "columnNumber": 1,
+ "lineNumber": 0,
+ "url": "http://localhost:5173/platform/part/category/index/parts",
+ },
+ "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@e8b74257f2672a7bcdf6d0073e6a0cf8",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/components/items/Placeholder.tsx” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/part/category/index/parts\" line: 0}]",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@e8b74257f2672a7bcdf6d0073e6a0cf8",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@2dc0627f4f42bbcb3875486b6cce44f5",
+ "_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=9609e43d",
+ },
+ "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],
+
|
[firefox] › pui_general.spec.ts:5:1 › Parts:
src/frontend/tests/pui_general.spec.ts#L13
1) [firefox] › pui_general.spec.ts:5:1 › Parts ───────────────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('1551ABK')
11 | await page.waitForURL('**/platform/part/category/index/details');
12 | await page.goto(`${baseUrl}/part/category/index/parts`);
> 13 | await page.getByText('1551ABK').click();
| ^
14 | await page.getByRole('tab', { name: 'Allocations' }).click();
15 | await page.getByRole('tab', { name: 'Used In' }).click();
16 | await page.getByRole('tab', { name: 'Pricing' }).click();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:13:35
|
[firefox] › pui_general.spec.ts:5:1 › Parts:
src/frontend/tests/pui_general.spec.ts#L1
1) [firefox] › pui_general.spec.ts:5:1 › Parts ───────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pui_general.spec.ts:5:1 › Parts:
src/frontend/tests/baseFixtures.ts#L85
1) [firefox] › pui_general.spec.ts:5:1 › Parts ───────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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@f7effd461af4f3c511372a5bc8269a5d",
+ "_type": "JSHandle",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ ],
+ "location": Object {
+ "columnNumber": 1,
+ "lineNumber": 0,
+ "url": "http://localhost:5173/platform/part/category/index/parts",
+ },
+ "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@902e9ff03ea5d0a47a1ddf33a14efbc1",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/components/items/ApiIcon.css.ts.vanilla.css” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/part/category/index/parts\" line: 0}]",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@902e9ff03ea5d0a47a1ddf33a14efbc1",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@db79976d12d3ce0431a9d82054523edc",
+ "_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=9609e43d",
+ },
+ "page": EventEmitter {
+ "_events": Object {
+ "bindingCall": [Function anonymous],
+ "close": [Function anonymous],
+ "crash": [Function anonymous],
+ "download": [Function anonymous],
+ "fileChooser": [Function anonymous],
+ "frameAttached": [Function anonymous],
+ "fram
|
[firefox] › pui_general.spec.ts:5:1 › Parts:
src/frontend/tests/pui_general.spec.ts#L40
1) [firefox] › pui_general.spec.ts:5:1 › Parts ───────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('Blue Chair')
38 |
39 | await page.goto(`${baseUrl}/part/category/index/parts`);
> 40 | await page.getByText('Blue Chair').click();
| ^
41 | await page.getByRole('tab', { name: 'Bill of Materials' }).click();
42 | await page.getByRole('tab', { name: 'Build Orders' }).click();
43 | });
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:40:38
|
[chromium] › pages/pui_part.spec.ts:75:1 › Pages - Part - Pricing (Supplier):
src/frontend/tests/pages/pui_part.spec.ts#L1
2) [chromium] › pages/pui_part.spec.ts:75:1 › Pages - Part - Pricing (Supplier) ──────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_part.spec.ts:75:1 › Pages - Part - Pricing (Supplier):
src/frontend/tests/login.ts#L38
2) [chromium] › pages/pui_part.spec.ts:75:1 › Pages - Part - Pricing (Supplier) ──────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('heading', { name: 'Welcome to your Dashboard,' }) to be visible
at login.ts:38
36 | await page
37 | .getByRole('heading', { name: 'Welcome to your Dashboard,' })
> 38 | .waitFor();
| ^
39 | };
40 |
41 | export const doLogout = async (page) => {
at doQuickLogin (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/login.ts:38:6)
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:76:3
|
[chromium] › pui_general.spec.ts:71:1 › Sales:
src/frontend/tests/pui_general.spec.ts#L1
3) [chromium] › pui_general.spec.ts:71:1 › Sales ─────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pui_general.spec.ts:71:1 › Sales:
src/frontend/tests/baseFixtures.ts#L85
3) [chromium] › pui_general.spec.ts:71:1 › Sales ─────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 86
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/order/ro/1/?customer_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@52a0e0ffe08e2b8a981d263e66142d18",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "Failed to load resource: the server responded with a status of 401 (Unauthorized)",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@52a0e0ffe08e2b8a981d263e66142d18",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/label/print/",
+ },
+ "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@52a0e0ffe08e2b8a981d263e66142d18",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "Failed to load resource: the server responded with a status of 401 (Unauthorized)",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@52a0e0ffe08e2b8a981d263e66142d18",
+ "_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)
|
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 - 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 38.1s
|
Slow Test:
src/frontend/[chromium] › pages/pui_scan.spec.ts#L1
src/frontend/[chromium] › pages/pui_scan.spec.ts took 35.1s
|
Slow Test:
src/frontend/[firefox] › pui_tables.spec.ts#L1
src/frontend/[firefox] › pui_tables.spec.ts took 33.9s
|
Slow Test:
src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 33.4s
|
Slow Test:
src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 22.9s
|
🎭 Playwright Run Summary
1 failed
[firefox] › pui_general.spec.ts:5:1 › Parts ────────────────────────────────────────────────────
2 flaky
[chromium] › pages/pui_part.spec.ts:75:1 › Pages - Part - Pricing (Supplier) ───────────────────
[chromium] › pui_general.spec.ts:71:1 › Sales ──────────────────────────────────────────────────
107 passed (13.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.13 MB |
|
playwright-report
|
18.1 MB |
|
schema.yml
|
62.7 KB |
|