Merge branch 'master' into fix-readonly #4846
qc_checks.yaml
on: push
Filter
7s
Build - UI Platform
1m 57s
Style [Documentation]
33s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
5m 16s
Tests - DB [PostgreSQL]
14m 0s
Tests - DB [MySQL]
13m 1s
Tests - Platform UI
21m 54s
Matrix: coverage
Style - Classic UI [JS]
1m 32s
Push new schema
0s
Annotations
11 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
|
[chromium] › pages/pui_build.spec.ts:161:1 › Pages - Build Order - Allocation:
src/frontend/tests/baseFixtures.ts#L85
1) [chromium] › pages/pui_build.spec.ts:161:1 › Pages - Build Order - Allocation ─────────────────
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/stock/?part_detail=true&tests=true&is_building=true&build=1",
+ },
+ "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@36b6727cbf08f0bb0fd277c0dfbd65a7",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "Failed to load resource: the server responded with a status of 500 (Internal Server Error)",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@36b6727cbf08f0bb0fd277c0dfbd65a7",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/stock/?part_detail=true&tests=true&is_building=true&build=1&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@36b6727cbf08f0bb0fd277c0dfbd65a7",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "Failed to load resource: the server responded with a status of 500 (Internal Server Error)",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@36b6727cbf08f0bb0fd277c0dfbd65a7",
+ "_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)
|
[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
|
[chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin:
src/frontend/tests/pui_plugins.spec.ts#L1
3) [chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin:
src/frontend/tests/pui_plugins.spec.ts#L87
3) [chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Plugin Configuration' })
85 | .getByRole('button', { name: 'Plugin Settings' })
86 | .click();
> 87 | await page.getByRole('button', { name: 'Plugin Configuration' }).click();
| ^
88 |
89 | // Check for expected custom elements
90 | await page
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_plugins.spec.ts:87:68
|
[firefox] › pages/pui_part.spec.ts:8:1 › Parts - Tabs:
src/frontend/tests/pages/pui_part.spec.ts#L1
4) [firefox] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ─────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pages/pui_part.spec.ts:8:1 › Parts - Tabs:
src/frontend/tests/baseFixtures.ts#L85
4) [firefox] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ─────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 316
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@ba66696fcc777e65d6847e6b97efaf3b",
+ "_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@560a4221fd9f9e00dd3f2f84d969c4cb",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/components/items/QRCode.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@560a4221fd9f9e00dd3f2f84d969c4cb",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@19a091463c32cb7e2c623f1a68433842",
+ "_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=d820f3d1",
+ },
+ "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],
+ "ro
|
[firefox] › pages/pui_part.spec.ts:8:1 › Parts - Tabs:
src/frontend/tests/pages/pui_part.spec.ts#L42
4) [firefox] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ─────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('Blue Chair')
40 |
41 | await page.goto(`${baseUrl}/part/category/index/parts`);
> 42 | await page.getByText('Blue Chair').click();
| ^
43 | await page.getByRole('tab', { name: 'Bill of Materials' }).click();
44 | await page.getByRole('tab', { name: 'Build Orders' }).click();
45 | });
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:42:38
|
[firefox] › pages/pui_stock.spec.ts:118:1 › Stock - Stock Actions:
src/frontend/tests/pages/pui_stock.spec.ts#L1
5) [firefox] › pages/pui_stock.spec.ts:118:1 › Stock - Stock Actions ─────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pages/pui_stock.spec.ts:118:1 › Stock - Stock Actions:
src/frontend/tests/pages/pui_stock.spec.ts#L125
5) [firefox] › pages/pui_stock.spec.ts:118:1 › Stock - Stock Actions ─────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('530470210').first()
123 | `${baseUrl}/stock/location/index/stock-items?in_stock=1&serialized=0`
124 | );
> 125 | await page.getByText('530470210').first().click();
| ^
126 | await page
127 | .locator('div')
128 | .filter({ hasText: /^Quantity: 270$/ })
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_stock.spec.ts:125:45
|
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_general.spec.ts#L1
src/frontend/[firefox] › pui_general.spec.ts took 33.7s
|
Slow Test:
src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 25.1s
|
Slow Test:
src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 24.7s
|
Slow Test:
src/frontend/[firefox] › pui_forms.spec.ts#L1
src/frontend/[firefox] › pui_forms.spec.ts took 22.6s
|
Slow Test:
src/frontend/[chromium] › pui_printing.spec.ts#L1
src/frontend/[chromium] › pui_printing.spec.ts took 19.5s
|
🎭 Playwright Run Summary
6 flaky
[chromium] › pages/pui_build.spec.ts:161:1 › Pages - Build Order - Allocation ──────────────────
[chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ─────────────────────────────────
[chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ─────────────────────────────────
[firefox] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ──────────────────────────────────────────
[firefox] › pages/pui_stock.spec.ts:118:1 › Stock - Stock Actions ──────────────────────────────
[firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ───────────────────────────────────────────
118 passed (14.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.17 MB |
|
schema.yml
|
63.5 KB |
|