Skip to content

Catch invalid decimal conversion (#8470) #4840

Catch invalid decimal conversion (#8470)

Catch invalid decimal conversion (#8470) #4840

Triggered via push November 12, 2024 22:47
Status Success
Total duration 28m 31s
Artifacts 2

qc_checks.yaml

on: push
Build - UI Platform
1m 55s
Build - UI Platform
Style [pre-commit]
1m 15s
Style [pre-commit]
Tests - API Schema Documentation
4m 15s
Tests - API Schema Documentation
Style [Documentation]
35s
Style [Documentation]
Tests - Migrations [PostgreSQL]
28m 4s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
2m 55s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 9s
Tests - inventree-python
Tests - DB [PostgreSQL]
12m 36s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
13m 3s
Tests - DB [MySQL]
Tests - Platform UI
20m 42s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 23s
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:99:1 › Parts - Allocations: src/frontend/tests/pages/pui_part.spec.ts#L1
1) [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#L126
1) [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 124 | 125 | // Expected order reference values > 126 | await page.getByText('BO0001').waitFor(); | ^ 127 | await page.getByText('BO0016').waitFor(); 128 | await page.getByText('BO0019').waitFor(); 129 | await page.getByText('SO0008').waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:126:34
[firefox] › pages/pui_part.spec.ts:47:1 › Parts - Manufacturer Parts: src/frontend/tests/pages/pui_part.spec.ts#L1
2) [firefox] › pages/pui_part.spec.ts:47:1 › Parts - Manufacturer Parts ────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pages/pui_part.spec.ts:47:1 › Parts - Manufacturer Parts: src/frontend/tests/baseFixtures.ts#L85
2) [firefox] › pages/pui_part.spec.ts:47:1 › Parts - Manufacturer Parts ────────────────────────── 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@ae81f7df167dcf1afa7d973da721f8ed", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 1, + "lineNumber": 0, + "url": "http://localhost:5173/platform/part/84/suppliers", + }, + "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@de75036b8f17eb2a8f40d417522a9984", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/main.css.ts” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/part/84/suppliers\" line: 0}]", + "type": "error", + }, + "_page": Object { + "_guid": "page@de75036b8f17eb2a8f40d417522a9984", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@b5d146048db6bf8193eb624eb2f82fb5", + "_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=0a56abf8", + }, + "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],
[firefox] › pages/pui_part.spec.ts:47:1 › Parts - Manufacturer Parts: src/frontend/tests/pages/pui_part.spec.ts#L52
2) [firefox] › pages/pui_part.spec.ts:47:1 › Parts - Manufacturer Parts ────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'Suppliers' }) 50 | await page.goto(`${baseUrl}/part/84/suppliers`); 51 | > 52 | await page.getByRole('tab', { name: 'Suppliers' }).click(); | ^ 53 | await page.getByText('Hammond Manufacturing').click(); 54 | await page.getByRole('tab', { name: 'Parameters' }).click(); 55 | await page.getByRole('tab', { name: 'Suppliers' }).click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:52:54
[firefox] › pages/pui_scan.spec.ts:81:1 › Scanning (SupplierPart): src/frontend/tests/pages/pui_scan.spec.ts#L1
3) [firefox] › pages/pui_scan.spec.ts:81:1 › Scanning (SupplierPart) ───────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pages/pui_scan.spec.ts:81:1 › Scanning (SupplierPart): src/frontend/tests/baseFixtures.ts#L85
3) [firefox] › pages/pui_scan.spec.ts:81:1 › Scanning (SupplierPart) ───────────────────────────── 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@486c4fe3058a4a38a3e9c1c175da1568", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 1, + "lineNumber": 0, + "url": "http://localhost:5173/platform/scan", + }, + "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@8d1a5015a86a556c9a92ece37ecd77c4", + "_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/scan\" line: 0}]", + "type": "error", + }, + "_page": Object { + "_guid": "page@8d1a5015a86a556c9a92ece37ecd77c4", + "_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_scan.spec.ts:81:1 › Scanning (SupplierPart): src/frontend/tests/pages/pui_scan.spec.ts#L9
3) [firefox] › pages/pui_scan.spec.ts:81:1 › Scanning (SupplierPart) ───────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByPlaceholder('Select input method') 7 | 8 | await page.goto(`${baseUrl}/scan`); > 9 | await page.getByPlaceholder('Select input method').click(); | ^ 10 | await page.getByRole('option', { name: 'Manual input' }).click(); 11 | await page.getByPlaceholder('Enter item serial or data').click(); 12 | at defaultScanTest (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_scan.spec.ts:9:54) at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_scan.spec.ts:82:3
[firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin: src/frontend/tests/pui_plugins.spec.ts#L1
4) [firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ───────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin: src/frontend/tests/pui_plugins.spec.ts#L87
4) [firefox] › 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
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] › pages/pui_stock.spec.ts#L1
src/frontend/[firefox] › pages/pui_stock.spec.ts took 43.4s
Slow Test: src/frontend/[firefox] › pui_tables.spec.ts#L1
src/frontend/[firefox] › pui_tables.spec.ts took 35.3s
Slow Test: src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 33.9s
Slow Test: src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 22.3s
Slow Test: src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 20.4s
🎭 Playwright Run Summary
4 flaky [chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ───────────────────────────────── [firefox] › pages/pui_part.spec.ts:47:1 › Parts - Manufacturer Parts ─────────────────────────── [firefox] › pages/pui_scan.spec.ts:81:1 › Scanning (SupplierPart) ────────────────────────────── [firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ────────────────────────────────── 118 passed (14.0m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.17 MB
schema.yml
63.5 KB