Skip to content

Add "received" filter to PurchaseOrderLineTable (#8377) #15328

Add "received" filter to PurchaseOrderLineTable (#8377)

Add "received" filter to PurchaseOrderLineTable (#8377) #15328

Triggered via push October 28, 2024 06:39
Status Success
Total duration 24m 51s
Artifacts 1

qc_checks.yaml

on: push
Build - UI Platform
1m 52s
Build - UI Platform
Style [pre-commit]
35s
Style [pre-commit]
Tests - API Schema Documentation
0s
Tests - API Schema Documentation
Style [Documentation]
48s
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
23m 51s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 26s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 8 warnings, and 1 notice
[chromium] › pages/pui_orders.spec.ts:130:1 › Purchase Orders: src/frontend/tests/pages/pui_orders.spec.ts#L1
1) [chromium] › pages/pui_orders.spec.ts:130:1 › Purchase Orders ───────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pages/pui_orders.spec.ts:130:1 › Purchase Orders: src/frontend/tests/pages/pui_orders.spec.ts#L135
1) [chromium] › pages/pui_orders.spec.ts:130:1 › Purchase Orders ───────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'Purchase Orders' }) 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 138 | await page.getByRole('cell', { name: 'PO0014' }).waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_orders.spec.ts:135:60
[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/login.ts#L38
2) [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:255:1 › Pages - Part - Revision: src/frontend/tests/baseFixtures.ts#L85
3) [firefox] › pages/pui_part.spec.ts:255:1 › Pages - Part - Revision ──────────────────────────── 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@d50da8279d95e56ecdc0427ac2bfc474", + "_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=fd357ccf", + }, + "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@a3b017dd4119740b64070f82ccff65cf", + "_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=fd357ccf:3819:3 + Container<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=fd357ccf:15473:25 + Resizable2@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=700e46ba:2527:39 + DraggableCore@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=700e46ba:1481:9 + GridItem@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=700e46ba:3059:9 + div + ReactGridLayout@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=700e46ba:3591:9 + ResponsiveReactGridLayout@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=700e46ba:4320:9 + WidthProvider@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=700e46ba: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=daf95207:4095:7 + Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=daf95207:4467:20 + _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=16b6475c: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=fd357ccf:3819:3 + Container<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=fd357ccf:15473:25 + div + _Box<@http://lo
[firefox] › pui_general.spec.ts:5:1 › Parts: src/frontend/tests/pui_general.spec.ts#L1
4) [firefox] › pui_general.spec.ts:5:1 › Parts ─────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pui_general.spec.ts:5:1 › Parts: src/frontend/tests/baseFixtures.ts#L85
4) [firefox] › pui_general.spec.ts:5:1 › Parts ─────────────────────────────────────────────────── 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@087e1a9d216421df3c2c39c41a5c43fd", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 1, + "lineNumber": 0, + "url": "http://localhost:5173/platform/part/category/index/parts", + }, + "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@311f5d33492b93d7ce13c437f5c12eb3", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/components/items/DocumentationLinks.tsx” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/part/category/index/parts\" line: 0}]", + "type": "error", + }, + "_page": Object { + "_guid": "page@311f5d33492b93d7ce13c437f5c12eb3", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@2a121b58f3025c35f149e8fa6c8844b1", + "_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=fd357ccf", + }, + "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], +
[firefox] › pui_general.spec.ts:5:1 › Parts: src/frontend/tests/pui_general.spec.ts#L40
4) [firefox] › pui_general.spec.ts:5:1 › Parts ─────────────────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByText('Blue Chair') 38 | 39 | await page.goto(`${baseUrl}/part/category/index/parts`); > 40 | await page.getByText('Blue Chair').click(); | ^ 41 | await page.getByRole('tab', { name: 'Bill of Materials' }).click(); 42 | await page.getByRole('tab', { name: 'Build Orders' }).click(); 43 | }); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:40:38
[firefox] › pui_general.spec.ts:71:1 › Sales: src/frontend/tests/pui_general.spec.ts#L1
5) [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#L77
5) [firefox] › pui_general.spec.ts:71:1 › Sales ────────────────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'Sales Orders' }) 75 | await page.waitForURL('**/platform/sales/**'); 76 | > 77 | await page.getByRole('tab', { name: 'Sales Orders' }).click(); | ^ 78 | await page.waitForURL('**/platform/sales/index/salesorders'); 79 | await page.getByRole('tab', { name: 'Return Orders' }).click(); 80 | at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:77:57
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/[chromium] › pages/pui_part.spec.ts#L1
src/frontend/[chromium] › pages/pui_part.spec.ts took 1.3m
Slow Test: src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 39.0s
Slow Test: src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 31.7s
Slow Test: src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 22.1s
Slow Test: src/frontend/[chromium] › pui_printing.spec.ts#L1
src/frontend/[chromium] › pui_printing.spec.ts took 19.9s
🎭 Playwright Run Summary
7 flaky [chromium] › pages/pui_orders.spec.ts:130:1 › Purchase Orders ────────────────────────────────── [chromium] › pui_general.spec.ts:71:1 › Sales ────────────────────────────────────────────────── [firefox] › pages/pui_part.spec.ts:255:1 › Pages - Part - Revision ───────────────────────────── [firefox] › pui_general.spec.ts:5:1 › Parts ──────────────────────────────────────────────────── [firefox] › pui_general.spec.ts:71:1 › Sales ─────────────────────────────────────────────────── [firefox] › pui_plugins.spec.ts:59:1 › Plugins - Custom Admin ────────────────────────────────── [firefox] › pui_printing.spec.ts:85:1 › Report Editing ───────────────────────────────────────── 105 passed (16.3m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.13 MB