Skip to content

Revert status fields for stock items #14237

Revert status fields for stock items

Revert status fields for stock items #14237

Triggered via pull request August 22, 2024 23:33
Status Success
Total duration 19m 9s
Artifacts 2

qc_checks.yaml

on: pull_request
Build - UI Platform
1m 54s
Build - UI Platform
Style [pre-commit]
37s
Style [pre-commit]
Tests - API Schema Documentation
4m 4s
Tests - API Schema Documentation
Style [Documentation]
28s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
4m 55s
Tests - inventree-python
Tests - DB [PostgreSQL]
12m 21s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
13m 6s
Tests - DB [MySQL]
Tests - Platform UI
18m 5s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 20s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
[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 + 42 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/order/ro/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], + "locatorHandlerTriggered": [Function anonymous], + "route": [Function anonymous], + "video": [Function anonymous], + "webSocket": [Function anonymous], + "worker": [Function anonymous], + }, + "_eventsCount": 12, + "_maxListeners": undefined, + "_object": Object { + "_guid": "page@b366581929dd20e52aeeb77447820d37", + "_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@b366581929dd20e52aeeb77447820d37", + "_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] › pages/pui_build.spec.ts:5:1 › PUI - Pages - Build Order: src/frontend/tests/baseFixtures.ts#L82
2) [firefox] › pages/pui_build.spec.ts:5:1 › PUI - Pages - Build Order ─────────────────────────── 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@0a1dc55aaad4982167776fe27e062f6d", + "_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=e2702ce7", + }, + "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@6e427d3175de5cb47694ac609cb7d6d3", + "_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=e2702ce7:3448:3 + Container<@http://localhost:5173/node_modules/.vite/deps/chunk-HHRTPNE4.js?v=e2702ce7:14814:25 + Resizable2@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=e9c8b7e7:2527:39 + DraggableCore@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=e9c8b7e7:1481:9 + GridItem@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=e9c8b7e7:3059:9 + div + ReactGridLayout@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=e9c8b7e7:3591:9 + ResponsiveReactGridLayout@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=e9c8b7e7:4320:9 + WidthProvider@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=e9c8b7e7: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=11f2dced:4031:7 + Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=11f2dced:4403:20 + _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=32f8e0b4: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=e2702ce7:3448:3 + Container<@http://localhost:5173/node_modules/.vite/deps/chunk-HHRTPNE4.js?v=e2702ce7:14814:25 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-HHRTPNE4.js?v=e2702ce7:3448:3 + Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-HHRTPNE4.js?v=e2702ce7:9350:25 + ProtectedRoute@http://localhost:
[firefox] › pui_general.spec.ts:71:1 › PUI - Sales: src/frontend/tests/pui_general.spec.ts#L1
3) [firefox] › pui_general.spec.ts:71:1 › PUI - Sales ──────────────────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pui_general.spec.ts:71:1 › PUI - Sales: src/frontend/tests/pui_general.spec.ts#L106
3) [firefox] › pui_general.spec.ts:71:1 › PUI - Sales ──────────────────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText('No records found').first() to be visible 104 | await page.getByRole('tab', { name: 'Shipments' }).click(); 105 | await page.getByRole('tab', { name: 'Build Orders' }).click(); > 106 | await page.getByText('No records found').first().waitFor(); | ^ 107 | await page.getByRole('tab', { name: 'Attachments' }).click(); 108 | await page.getByText('No attachments found').first().waitFor(); 109 | await page.getByRole('tab', { name: 'Notes' }).click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:106:52
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] › pages/pui_orders.spec.ts#L1
src/frontend/[firefox] › pages/pui_orders.spec.ts took 39.2s
Slow Test: src/frontend/[chromium] › pages/pui_build.spec.ts#L1
src/frontend/[chromium] › pages/pui_build.spec.ts took 25.7s
Slow Test: src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 24.6s
Slow Test: src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 24.2s
Slow Test: src/frontend/[firefox] › pages/pui_index.spec.ts#L1
src/frontend/[firefox] › pages/pui_index.spec.ts took 21.9s
🎭 Playwright Run Summary
3 flaky [chromium] › pui_general.spec.ts:71:1 › PUI - Sales ──────────────────────────────────────────── [firefox] › pages/pui_build.spec.ts:5:1 › PUI - Pages - Build Order ──────────────────────────── [firefox] › pui_general.spec.ts:71:1 › PUI - Sales ───────────────────────────────────────────── 93 passed (11.3m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.07 MB
schema.yml
60.8 KB