Skip to content

chore: bump frontend further #17291

chore: bump frontend further

chore: bump frontend further #17291

Triggered via pull request February 13, 2025 00:00
Status Failure
Total duration 26m 32s
Artifacts 6

qc_checks.yaml

on: pull_request
Build - UI Platform
2m 1s
Build - UI Platform
Style [pre-commit]
25s
Style [pre-commit]
Tests - API Schema Documentation
2m 30s
Tests - API Schema Documentation
Style [Documentation]
41s
Style [Documentation]
Tests - Migrations [PostgreSQL]
26m 5s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
3m 0s
Tests - Full Migration [SQLite]
Tests - inventree-python
3m 11s
Tests - inventree-python
Tests - DB [PostgreSQL]
13m 13s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
11m 58s
Tests - DB [MySQL]
Tests - Platform UI
13m 2s
Tests - Platform UI
Security [Zizmor]
49s
Security [Zizmor]
Matrix: coverage
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 15 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
[firefox] › tests/pages/pui_build.spec.ts:194:1 › Build Order - Allocation: src/frontend/tests/pages/pui_build.spec.ts#L1
1) [firefox] › tests/pages/pui_build.spec.ts:194:1 › Build Order - Allocation ──────────────────── Test timeout of 90000ms exceeded.
[firefox] › tests/pages/pui_build.spec.ts:194:1 › Build Order - Allocation: src/frontend/tests/baseFixtures.ts#L86
1) [firefox] › tests/pages/pui_build.spec.ts:194:1 › Build Order - Allocation ──────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 61 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@42e0a36283ed43419bef197e1aa737b4", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 1, + "lineNumber": 0, + "url": "http://localhost:5173/platform/manufacturing/build-order/1/line-items", + }, + "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], + "webSocketRoute": [Function anonymous], + "worker": [Function anonymous], + }, + "_eventsCount": 13, + "_maxListeners": undefined, + "_object": Object { + "_guid": "page@c83174f2b960ef1682a114258f44972b", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/functions/urls.tsx” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/manufacturing/build-order/1/line-items\" line: 0}]", + "type": "error", + }, + "_page": Object { + "_guid": "page@c83174f2b960ef1682a114258f44972b", + "_type": "Page", + }, + }, + ] at baseFixtures.ts:86 84 | }); 85 | await use(page); > 86 | expect(messages).toEqual([]); | ^ 87 | } 88 | }); 89 | at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:86:22)
[firefox] › tests/pages/pui_build.spec.ts:194:1 › Build Order - Allocation: src/frontend/tests/pages/pui_build.spec.ts#L200
1) [firefox] › tests/pages/pui_build.spec.ts:194:1 › Build Order - Allocation ──────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByText('R_10K_0805_1%').first() 198 | 199 | // Expand the R_10K_0805 line item > 200 | await page.getByText('R_10K_0805_1%').first().click(); | ^ 201 | await page.getByText('Reel Storage').waitFor(); 202 | await page.getByText('R_10K_0805_1%').first().click(); 203 | at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_build.spec.ts:200:49
[firefox] › tests/pages/pui_stock.spec.ts:169:1 › Stock - Stock Actions: src/frontend/tests/baseFixtures.ts#L86
2) [firefox] › tests/pages/pui_stock.spec.ts:169:1 › Stock - Stock Actions ─────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 61 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@67dfad49da4ffad7b27e5ef4bfe05850", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 19, + "lineNumber": 2629, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-A5KKDE54.js?v=ff65a6c6", + }, + "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], + "webSocketRoute": [Function anonymous], + "worker": [Function anonymous], + }, + "_eventsCount": 13, + "_maxListeners": undefined, + "_object": Object { + "_guid": "page@5dcd524cf5207a82fb0dd6031b85594d", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "Cannot update a component (`ApiFormField`) while rendering a different component (`StockOperationsRow`). To locate the bad setState() call inside `StockOperationsRow`, follow the stack trace as described in https://react.dev/link/setstate-in-render", + "type": "error", + }, + "_page": Object { + "_guid": "page@5dcd524cf5207a82fb0dd6031b85594d", + "_type": "Page", + }, + }, + ] at baseFixtures.ts:86 84 | }); 85 | await use(page); > 86 | expect(messages).toEqual([]); | ^ 87 | } 88 | }); 89 | at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:86:22)
[firefox] › tests/pui_general.spec.ts:5:1 › Company: src/frontend/tests/pui_general.spec.ts#L1
3) [firefox] › tests/pui_general.spec.ts:5:1 › Company ─────────────────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › tests/pui_general.spec.ts:5:1 › Company: src/frontend/tests/pui_general.spec.ts#L37
3) [firefox] › tests/pui_general.spec.ts:5:1 › Company ─────────────────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText('This field may not be blank.') to be visible 35 | await page.getByRole('button', { name: 'Submit' }).click(); 36 | > 37 | await page.getByText('This field may not be blank.').waitFor(); | ^ 38 | await page.getByText('Enter a valid URL.').waitFor(); 39 | await page.getByRole('button', { name: 'Cancel' }).click(); 40 | }); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:37:56
[firefox] › tests/pui_plugins.spec.ts:67:1 › Plugins - Custom Admin: src/frontend/tests/pui_plugins.spec.ts#L1
4) [firefox] › tests/pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ─────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › tests/pui_plugins.spec.ts:67:1 › Plugins - Custom Admin: src/frontend/tests/pui_plugins.spec.ts#L82
4) [firefox] › tests/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 Information' }) 80 | // Open the plugin drawer, and ensure that the custom admin elements are visible 81 | await page.getByText('SampleUI').click(); > 82 | await page.getByRole('button', { name: 'Plugin Information' }).click(); | ^ 83 | await page 84 | .getByLabel('Plugin Detail') 85 | .getByRole('button', { name: 'Plugin Settings' }) at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_plugins.spec.ts:82:66
Tests - Platform UI
Process completed with exit code 1.
Style [pre-commit]
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
Style [Documentation]
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
Security [Zizmor]
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
Build - UI Platform
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
Tests - API Schema Documentation
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
Tests - inventree-python
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
Tests - DB [MySQL]
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
Tests - Platform UI
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
Playwright
You are using a frozen webkit browser which does not receive updates anymore on ubuntu20.04-x64. Please update to the latest version of your operating system to test up-to-date browsers.
Slow Test: src/frontend/[firefox] › tests/pui_printing.spec.ts#L1
src/frontend/[firefox] › tests/pui_printing.spec.ts took 27.2s
Slow Test: src/frontend/[firefox] › tests/pui_command.spec.ts#L1
src/frontend/[firefox] › tests/pui_command.spec.ts took 22.3s
Slow Test: src/frontend/[firefox] › tests/modals.spec.ts#L1
src/frontend/[firefox] › tests/modals.spec.ts took 18.7s
Slow Test: src/frontend/[firefox] › tests/settings/selectionList.spec.ts#L1
src/frontend/[firefox] › tests/settings/selectionList.spec.ts took 16.3s
Tests - DB [PostgreSQL]
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
Tests - DB [SQLite] + Coverage 3.9
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
🎭 Playwright Run Summary
4 failed [firefox] › tests/pages/pui_build.spec.ts:194:1 › Build Order - Allocation ───────────────────── [firefox] › tests/pages/pui_stock.spec.ts:169:1 › Stock - Stock Actions ──────────────────────── [firefox] › tests/pui_general.spec.ts:5:1 › Company ──────────────────────────────────────────── [firefox] › tests/pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ──────────────────────────── 66 passed (8.4m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.34 MB
inventree_filters.yml
5.15 KB
inventree_settings.json
6.65 KB
inventree_tags.yml
13.1 KB
playwright-report
304 KB
schema.yml
65.3 KB