Skip to content

[Bug] Fix issue with build order lines table #15324

[Bug] Fix issue with build order lines table

[Bug] Fix issue with build order lines table #15324

Triggered via pull request October 28, 2024 05:31
Status Failure
Total duration 22m 55s
Artifacts 2

qc_checks.yaml

on: pull_request
Build - UI Platform
1m 58s
Build - UI Platform
Style [pre-commit]
48s
Style [pre-commit]
Tests - API Schema Documentation
4m 41s
Tests - API Schema Documentation
Style [Documentation]
39s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 23s
Tests - inventree-python
Tests - DB [PostgreSQL]
12m 32s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
13m 28s
Tests - DB [MySQL]
Tests - Platform UI
21m 35s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 27s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
[chromium] › pages/pui_part.spec.ts:75:1 › Pages - Part - Pricing (Supplier): src/frontend/tests/pages/pui_part.spec.ts#L1
1) [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
1) [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
2) [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
2) [chromium] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 2606 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/company/contact/?company=30", + }, + "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@78b4d2c04c99f10ba5127b538d0080e9", + "_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@78b4d2c04c99f10ba5127b538d0080e9", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/company/contact/?company=30&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@78b4d2c04c99f10ba5127b538d0080e9", + "_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@78b4d2c04c99f10ba5127b538d0080e9", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/company/contact/?company=30&limit=25&offset=0", + }, + "page": EventEmitter { + "_events": Object { + "bindingCall": [Function anonymous], + "close": [Function anonymous]
[chromium] › pui_general.spec.ts:71:1 › Sales: src/frontend/tests/pui_general.spec.ts#L91
2) [chromium] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('cell', { name: 'Dorathy Gross' }) to be visible 89 | await page.getByRole('tab', { name: 'Sales Orders' }).click(); 90 | await page.getByRole('tab', { name: 'Contacts' }).click(); > 91 | await page.getByRole('cell', { name: 'Dorathy Gross' }).waitFor(); | ^ 92 | await page 93 | .getByRole('row', { name: 'Dorathy Gross dorathy.gross@customer.com' }) 94 | .waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:91:59
[firefox] › pages/pui_orders.spec.ts:130:1 › Purchase Orders: src/frontend/tests/pages/pui_orders.spec.ts#L1
3) [firefox] › pages/pui_orders.spec.ts:130:1 › Purchase Orders ────────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pages/pui_orders.spec.ts:130:1 › Purchase Orders: src/frontend/tests/baseFixtures.ts#L85
3) [firefox] › pages/pui_orders.spec.ts:130:1 › Purchase Orders ────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 60 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@e89196200eb7204eb683ba50482a98d3", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 1, + "lineNumber": 0, + "url": "http://localhost:5173/platform/home", + }, + "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@4a5c7ee20dea513ad51504874667305a", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/functions/conversion.tsx” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/home\" line: 0}]", + "type": "error", + }, + "_page": Object { + "_guid": "page@4a5c7ee20dea513ad51504874667305a", + "_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)
[firefox] › pages/pui_orders.spec.ts:130:1 › Purchase Orders: src/frontend/tests/pages/pui_orders.spec.ts#L134
3) [firefox] › pages/pui_orders.spec.ts:130:1 › Purchase Orders ────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'Purchasing' }) 132 | 133 | await page.goto(`${baseUrl}/home`); > 134 | await page.getByRole('tab', { name: 'Purchasing' }).click(); | ^ 135 | await page.getByRole('tab', { name: 'Purchase Orders' }).click(); 136 | 137 | // Check for expected values at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_orders.spec.ts:134:55
[firefox] › pui_basic.spec.ts:38:1 › Quick Login Test: src/frontend/tests/pui_basic.spec.ts#L1
4) [firefox] › pui_basic.spec.ts:38:1 › Quick Login Test ───────────────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pui_basic.spec.ts:38:1 › Quick Login Test: src/frontend/tests/baseFixtures.ts#L85
4) [firefox] › pui_basic.spec.ts:38:1 › Quick Login Test ───────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 60 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@59e487c8ed4b9bb333a5bdb4c5611493", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 1, + "lineNumber": 0, + "url": "http://localhost:5173/platform/logout/", + }, + "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@e571b8b9b9c9c06e12e2fd382591c4e2", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/locales/en/messages.ts” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/logout/\" line: 0}]", + "type": "error", + }, + "_page": Object { + "_guid": "page@e571b8b9b9c9c06e12e2fd382591c4e2", + "_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/
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/[chromium] › pages/pui_scan.spec.ts#L1
src/frontend/[chromium] › pages/pui_scan.spec.ts took 35.6s
Slow Test: src/frontend/[firefox] › pui_tables.spec.ts#L1
src/frontend/[firefox] › pui_tables.spec.ts took 35.0s
Slow Test: src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 34.6s
Slow Test: src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 29.6s
Slow Test: src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 23.9s
🎭 Playwright Run Summary
5 flaky [chromium] › pages/pui_part.spec.ts:75:1 › Pages - Part - Pricing (Supplier) ─────────────────── [chromium] › pui_general.spec.ts:71:1 › Sales ────────────────────────────────────────────────── [firefox] › pages/pui_orders.spec.ts:130:1 › Purchase Orders ─────────────────────────────────── [firefox] › pui_basic.spec.ts:38:1 › Quick Login Test ────────────────────────────────────────── [firefox] › pui_printing.spec.ts:11:1 › Label Printing ───────────────────────────────────────── 107 passed (14.3m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.13 MB
schema.yml
62.7 KB