Skip to content

[PUI] Table refactor (#8395) #15414

[PUI] Table refactor (#8395)

[PUI] Table refactor (#8395) #15414

Triggered via push October 31, 2024 20:23
Status Success
Total duration 21m 41s
Artifacts 2

qc_checks.yaml

on: push
Build - UI Platform
2m 0s
Build - UI Platform
Style [pre-commit]
41s
Style [pre-commit]
Tests - API Schema Documentation
4m 11s
Tests - API Schema Documentation
Style [Documentation]
32s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 18s
Tests - inventree-python
Tests - DB [PostgreSQL]
13m 12s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
12m 53s
Tests - DB [MySQL]
Tests - Platform UI
20m 32s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 32s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
[chromium] › pui_general.spec.ts:5:1 › Parts: src/frontend/tests/pui_general.spec.ts#L1
1) [chromium] › pui_general.spec.ts:5:1 › Parts ────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_general.spec.ts:5:1 › Parts: src/frontend/tests/pui_general.spec.ts#L11
1) [chromium] › pui_general.spec.ts:5:1 › Parts ────────────────────────────────────────────────── Error: page.waitForURL: Test timeout of 90000ms exceeded. =========================== logs =========================== waiting for navigation to "**/platform/part/category/index/details" until "load" navigated to "http://localhost:5173/platform/home" ============================================================ 9 | await page.getByRole('tab', { name: 'Parts' }).click(); 10 | > 11 | await page.waitForURL('**/platform/part/category/index/details'); | ^ 12 | await page.goto(`${baseUrl}/part/category/index/parts`); 13 | await page.getByText('1551ABK').click(); 14 | await page.getByRole('tab', { name: 'Allocations' }).click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:11:14
[firefox] › pages/pui_part.spec.ts:60:1 › Pages - Part - Pricing (Nothing: src/frontend/tests/pages/pui_part.spec.ts#L1
2) [firefox] › pages/pui_part.spec.ts:60:1 › Pages - Part - Pricing (Nothing, BOM) ─────────────── Test timeout of 90000ms exceeded.
[firefox] › pages/pui_part.spec.ts:60:1 › Pages - Part - Pricing (Nothing: src/frontend/tests/baseFixtures.ts#L85
2) [firefox] › pages/pui_part.spec.ts:60:1 › Pages - Part - Pricing (Nothing, BOM) ─────────────── 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@0a7cfc73055f1b5328eb66ab2edb1816", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 1, + "lineNumber": 0, + "url": "http://localhost:5173/platform/part/108/pricing", + }, + "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@2dcc8e3bc852b43dc4ffd5c99dd18819", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/components/nav/Layout.tsx” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/part/108/pricing\" line: 0}]", + "type": "error", + }, + "_page": Object { + "_guid": "page@2dcc8e3bc852b43dc4ffd5c99dd18819", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@a370be1a275def3681e77420ad18f1a8", + "_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=20f7e2f0", + }, + "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 anon
[firefox] › pages/pui_part.spec.ts:60:1 › Pages - Part - Pricing (Nothing: src/frontend/tests/pages/pui_part.spec.ts#L76
2) [firefox] › pages/pui_part.spec.ts:60:1 › Pages - Part - Pricing (Nothing, BOM) ─────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText('Part: Blue Chair') to be visible 74 | // Part with history 75 | await page.goto(`${baseUrl}/part/108/pricing`); > 76 | await page.getByText('Part: Blue Chair').waitFor(); | ^ 77 | await page.getByRole('tab', { name: 'Part Pricing' }).click(); 78 | await page.getByLabel('Part Pricing').getByText('Part Pricing').waitFor(); 79 | await page.getByRole('button', { name: 'Pricing Overview' }).waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:76:44
[firefox] › pui_general.spec.ts:71:1 › Sales: src/frontend/tests/pui_general.spec.ts#L1
3) [firefox] › pui_general.spec.ts:71:1 › Sales ────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pui_general.spec.ts:71:1 › Sales: src/frontend/tests/pui_general.spec.ts#L102
3) [firefox] › pui_general.spec.ts:71:1 › Sales ────────────────────────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByLabel('Order Details').getByText('Selling some stuff') to be visible 100 | .getByLabel('Order Details') 101 | .getByText('Selling some stuff') > 102 | .waitFor(); | ^ 103 | await page.getByRole('tab', { name: 'Line Items' }).click(); 104 | await page.getByRole('tab', { name: 'Shipments' }).click(); 105 | await page.getByRole('tab', { name: 'Build Orders' }).click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:102:6
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_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 34.7s
Slow Test: src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 29.6s
Slow Test: src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 21.9s
Slow Test: src/frontend/[chromium] › pui_printing.spec.ts#L1
src/frontend/[chromium] › pui_printing.spec.ts took 19.8s
Slow Test: src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 19.0s
🎭 Playwright Run Summary
3 flaky [chromium] › pui_general.spec.ts:5:1 › Parts ─────────────────────────────────────────────────── [firefox] › pages/pui_part.spec.ts:60:1 › Pages - Part - Pricing (Nothing, BOM) ──────────────── [firefox] › pui_general.spec.ts:71:1 › Sales ─────────────────────────────────────────────────── 113 passed (13.6m)

Artifacts

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