Fix "sales_order" filter for build table #14352
qc_checks.yaml
on: pull_request
Filter
6s
Build - UI Platform
2m 2s
Style [Documentation]
39s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
0s
Tests - DB [PostgreSQL]
0s
Tests - DB [MySQL]
0s
Tests - Platform UI
17m 51s
Matrix: coverage
Style - Classic UI [JS]
1m 21s
Push new schema
0s
Annotations
7 errors, 8 warnings, and 1 notice
[chromium] › pui_general.spec.ts:71:1 › PUI - Sales:
src/frontend/tests/pui_general.spec.ts#L1
1) [chromium] › pui_general.spec.ts:71:1 › PUI - Sales ───────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pui_general.spec.ts:71:1 › PUI - Sales:
src/frontend/tests/baseFixtures.ts#L82
1) [chromium] › pui_general.spec.ts:71:1 › PUI - Sales ───────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 202
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/company/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@392861ecf364c44e19d596fa384f632a",
+ "_type": "Page",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ "text": "Failed to load resource: the server responded with a status of 401 (Unauthorized)",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@392861ecf364c44e19d596fa384f632a",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/user/owner/6/",
+ },
+ "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@392861ecf364c44e19d596fa384f632a",
+ "_type": "Page",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ "text": "Failed to load resource: the server responded with a status of 401 (Unauthorized)",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@392861ecf364c44e19d596fa384f632a",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/order/so/1/",
+ },
+ "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],
+ "locator
|
[chromium] › pui_general.spec.ts:71:1 › PUI - Sales:
src/frontend/tests/pui_general.spec.ts#L114
1) [chromium] › pui_general.spec.ts:71:1 › PUI - Sales ───────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('tab', { name: 'Return Orders' })
112 | // Return Order Details
113 | await page.getByRole('link', { name: 'Customer A' }).click();
> 114 | await page.getByRole('tab', { name: 'Return Orders' }).click();
| ^
115 | await page.getByRole('cell', { name: 'RMA-' }).click();
116 | await page.getByText('RMA-0001', { exact: true }).waitFor();
117 | await page.getByRole('tab', { name: 'Line Items' }).click();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:114:58
|
[firefox] › pages/pui_part.spec.ts:26:1 › PUI - Pages - Part - Pricing (Nothing:
src/frontend/tests/baseFixtures.ts#L82
2) [firefox] › pages/pui_part.spec.ts:26:1 › PUI - Pages - Part - Pricing (Nothing, BOM) ─────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 272
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@e282c9bb65b6697ef0d4f2187da76311",
+ "_type": "JSHandle",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ ],
+ "location": Object {
+ "columnNumber": 19,
+ "lineNumber": 2228,
+ "url": "http://localhost:5173/node_modules/.vite/deps/chunk-HHRTPNE4.js?v=d43f13e8",
+ },
+ "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@f4552c1686ad3590e597b63ccf94a29e",
+ "_type": "Page",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ "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-HHRTPNE4.js?v=d43f13e8:3448:3
+ Container<@http://localhost:5173/node_modules/.vite/deps/chunk-HHRTPNE4.js?v=d43f13e8:14814:25
+ Resizable2@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=195fd295:2527:39
+ DraggableCore@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=195fd295:1481:9
+ GridItem@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=195fd295:3059:9
+ div
+ ReactGridLayout@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=195fd295:3591:9
+ ResponsiveReactGridLayout@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=195fd295:4320:9
+ WidthProvider@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=195fd295: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=27fa9d10:4031:7
+ Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=27fa9d10:4403:20
+ _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=98a4eeb3:22593:5
+ Boundary@http://localhost:5173/src/components/Boundary.tsx:999:25
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-HHRTPNE4.js?v=d43f13e8:3448:3
+ Container<@http://localhost:5173/node_modules/.vite/deps/chunk-HHRTPNE4.js?v=d43f13e8:14814:25
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-HHRTPNE4.js?v=d43f13e8:3448:3
+ Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-HHRTPNE4.js?v=d43f13e8:9350:25
+ ProtectedRoute@http://localhost:
|
[firefox] › pui_general.spec.ts:45:1 › PUI - Parts - Manufacturer Parts:
src/frontend/tests/pui_general.spec.ts#L1
3) [firefox] › pui_general.spec.ts:45:1 › PUI - Parts - Manufacturer Parts ───────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pui_general.spec.ts:45:1 › PUI - Parts - Manufacturer Parts:
src/frontend/tests/baseFixtures.ts#L82
3) [firefox] › pui_general.spec.ts:45:1 › PUI - Parts - Manufacturer Parts ───────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 56
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@e9d12fa7535d7b787564b10b373933e1",
+ "_type": "JSHandle",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ ],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:5173/platform/part/84/manufacturers",
+ },
+ "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@98c76681862a769f07455d9c3ff39fd0",
+ "_type": "Page",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/enums/ModelType.tsx” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/part/84/manufacturers\" line: 0}]",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@98c76681862a769f07455d9c3ff39fd0",
+ "_type": "Page",
+ },
+ },
+ ]
at baseFixtures.ts:82
80 | });
81 | await use(page);
> 82 | expect(messages).toEqual([]);
| ^
83 | }
84 | });
85 |
at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:82:22)
|
[firefox] › pui_general.spec.ts:45:1 › PUI - Parts - Manufacturer Parts:
src/frontend/tests/pui_general.spec.ts#L50
3) [firefox] › pui_general.spec.ts:45:1 › PUI - Parts - Manufacturer Parts ───────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('tab', { name: 'Manufacturers' })
48 | await page.goto(`${baseUrl}/part/84/manufacturers`);
49 |
> 50 | await page.getByRole('tab', { name: 'Manufacturers' }).click();
| ^
51 | await page.getByText('Hammond Manufacturing').click();
52 | await page.getByRole('tab', { name: 'Parameters' }).click();
53 | await page.getByRole('tab', { name: 'Suppliers' }).click();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:50:58
|
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] › pui_stock.spec.ts#L1
src/frontend/[chromium] › pui_stock.spec.ts took 31.6s
|
Slow Test:
src/frontend/[chromium] › pages/pui_build.spec.ts#L1
src/frontend/[chromium] › pages/pui_build.spec.ts took 27.4s
|
Slow Test:
src/frontend/[firefox] › pages/pui_build.spec.ts#L1
src/frontend/[firefox] › pages/pui_build.spec.ts took 25.4s
|
Slow Test:
src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 25.0s
|
Slow Test:
src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 22.9s
|
🎭 Playwright Run Summary
3 flaky
[chromium] › pui_general.spec.ts:71:1 › PUI - Sales ────────────────────────────────────────────
[firefox] › pages/pui_part.spec.ts:26:1 › PUI - Pages - Part - Pricing (Nothing, BOM) ──────────
[firefox] › pui_general.spec.ts:45:1 › PUI - Parts - Manufacturer Parts ────────────────────────
93 passed (12.1m)
|