[PUI] Task table enhancements (#8369) #15312
qc_checks.yaml
on: push
Filter
7s
Build - UI Platform
2m 1s
Style [Documentation]
33s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
0s
Tests - DB [PostgreSQL]
0s
Tests - DB [MySQL]
0s
Tests - Platform UI
19m 49s
Matrix: coverage
Style - Classic UI [JS]
1m 27s
Push new schema
0s
Annotations
5 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/login.ts#L38
1) [chromium] › pui_general.spec.ts:71:1 › Sales ─────────────────────────────────────────────────
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/pui_general.spec.ts:72:3
|
[firefox] › pages/pui_part.spec.ts:223:1 › Pages - Part - Notes:
src/frontend/tests/baseFixtures.ts#L85
2) [firefox] › pages/pui_part.spec.ts:223:1 › Pages - Part - Notes ───────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 286
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@f82e1f87adaa2abdd96e7848168ee8fb",
+ "_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=9800ae23",
+ },
+ "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@1275bf3417d25641fa8049d713ac8138",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "The above error occurred in one of your React components:
+
+ Lazy
+ Suspense
+ LoadingItem@http://localhost:5173/src/functions/loading.tsx:994:28
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=9800ae23:3819:3
+ Container<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=9800ae23:15473:25
+ Resizable2@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=f046e065:2527:39
+ DraggableCore@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=f046e065:1481:9
+ GridItem@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=f046e065:3059:9
+ div
+ ReactGridLayout@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=f046e065:3591:9
+ ResponsiveReactGridLayout@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=f046e065:4320:9
+ WidthProvider@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=f046e065:5074:11
+ div
+ WidgetLayout@http://localhost:5173/src/components/widgets/WidgetLayout.tsx:2166:29
+ Home@http://localhost:5173/src/pages/Index/Home.tsx:1114:49
+ Suspense
+ RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=8b7c4ae6:4095:7
+ Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=8b7c4ae6:4467:20
+ _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=fada7789:22660:5
+ Boundary@http://localhost:5173/src/components/Boundary.tsx:999:25
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=9800ae23:3819:3
+ Container<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=9800ae23:15473:25
+ div
+ _Box<@http://lo
|
[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 - 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.0s
|
Slow Test:
src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 31.9s
|
Slow Test:
src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 22.2s
|
Slow Test:
src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 22.0s
|
Slow Test:
src/frontend/[chromium] › pui_printing.spec.ts#L1
src/frontend/[chromium] › pui_printing.spec.ts took 20.1s
|
🎭 Playwright Run Summary
3 flaky
[chromium] › pui_general.spec.ts:71:1 › Sales ──────────────────────────────────────────────────
[firefox] › pages/pui_part.spec.ts:223:1 › Pages - Part - Notes ────────────────────────────────
[firefox] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────────
109 passed (13.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.13 MB |
|