Skip to content

Set maximum height for part charts (#8232) #14937

Set maximum height for part charts (#8232)

Set maximum height for part charts (#8232) #14937

Triggered via push October 2, 2024 23:41
Status Success
Total duration 19m 35s
Artifacts 1

qc_checks.yaml

on: push
Build - UI Platform
1m 59s
Build - UI Platform
Style [pre-commit]
36s
Style [pre-commit]
Tests - API Schema Documentation
0s
Tests - API Schema Documentation
Style [Documentation]
34s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
0s
Tests - inventree-python
Tests - DB [PostgreSQL]
0s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
0s
Tests - DB [MySQL]
Tests - Platform UI
18m 34s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 19s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 8 warnings, and 1 notice
[chromium] › pui_general.spec.ts:71:1 › Sales: src/frontend/tests/pui_general.spec.ts#L1
1) [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#L83
1) [chromium] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 2102 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/order/so/?customer_detail=true&customer=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@d05369f396c86a83a41daf866a5e0f2c", + "_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@d05369f396c86a83a41daf866a5e0f2c", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/order/so/?customer_detail=true&customer=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@d05369f396c86a83a41daf866a5e0f2c", + "_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@d05369f396c86a83a41daf866a5e0f2c", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/project-code/", + }, + "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
1) [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 [email protected]' }) 94 | .waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:91:59
[firefox] › pui_command.spec.ts:34:1 › Quick Command - No Keys: src/frontend/tests/pui_command.spec.ts#L1
2) [firefox] › pui_command.spec.ts:34:1 › Quick Command - No Keys ──────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pui_command.spec.ts:34:1 › Quick Command - No Keys: src/frontend/tests/baseFixtures.ts#L83
2) [firefox] › pui_command.spec.ts:34:1 › Quick Command - No Keys ──────────────────────────────── 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@dc041d73af0ee9f6ea0161f0a9a7878c", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 1, + "lineNumber": 0, + "url": "http://localhost:5173/platform/playground", + }, + "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@ad27b3b67f4b6b5be31457ac0db99ac6", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/components/nav/SearchDrawer.tsx” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/playground\" line: 0}]", + "type": "error", + }, + "_page": Object { + "_guid": "page@ad27b3b67f4b6b5be31457ac0db99ac6", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@36f26f1cb76e6b6ca0cc9ff9e256da40", + "_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=e0e40085", + }, + "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] › pui_command.spec.ts:34:1 › Quick Command - No Keys: src/frontend/tests/pui_command.spec.ts#L102
2) [firefox] › pui_command.spec.ts:34:1 › Quick Command - No Keys ──────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for locator('p').filter({ hasText: 'Playground' }) to be visible 100 | // Test addition of new actions 101 | await page.goto(`${baseUrl}/playground`); > 102 | await page.locator('p').filter({ hasText: 'Playground' }).waitFor(); | ^ 103 | await page.getByRole('button', { name: 'Spotlight actions' }).click(); 104 | await page.getByRole('button', { name: 'Register extra actions' }).click(); 105 | /* at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_command.spec.ts:102:61
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 - 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 1.2m
Slow Test: src/frontend/[chromium] › pui_stock.spec.ts#L1
src/frontend/[chromium] › pui_stock.spec.ts took 28.0s
Slow Test: src/frontend/[firefox] › pui_forms.spec.ts#L1
src/frontend/[firefox] › pui_forms.spec.ts took 26.0s
Slow Test: src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 22.8s
Slow Test: src/frontend/[chromium] › pui_printing.spec.ts#L1
src/frontend/[chromium] › pui_printing.spec.ts took 21.0s
🎭 Playwright Run Summary
2 flaky [chromium] › pui_general.spec.ts:71:1 › Sales ────────────────────────────────────────────────── [firefox] › pui_command.spec.ts:34:1 › Quick Command - No Keys ───────────────────────────────── 104 passed (12.1m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.05 MB