[PUI] Add "index" page for build orders (#8287) #4706
qc_checks.yaml
on: push
Filter
6s
Build - UI Platform
1m 55s
Style [Documentation]
29s
Tests - Migrations [PostgreSQL]
27m 44s
Tests - Full Migration [SQLite]
2m 59s
Tests - inventree-python
4m 42s
Tests - DB [PostgreSQL]
13m 20s
Tests - DB [MySQL]
16m 50s
Tests - Platform UI
20m 36s
Matrix: coverage
Style - Classic UI [JS]
1m 20s
Push new schema
0s
Annotations
11 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
|
[chromium] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers:
src/frontend/tests/pages/pui_stock.spec.ts#L1
1) [chromium] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers:
src/frontend/tests/baseFixtures.ts#L85
1) [chromium] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 128
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/stock/?part=73&part_detail=true&location_detail=true&supplier_part_detail=true&limit=25&offset=0",
+ },
+ "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@47e48f175ea79743950daef26c9ca9d0",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "Failed to load resource: the server responded with a status of 401 (Unauthorized)",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@47e48f175ea79743950daef26c9ca9d0",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/part/73/",
+ },
+ "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@47e48f175ea79743950daef26c9ca9d0",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "Failed to load resource: the server responded with a status of 401 (Unauthorized)",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@47e48f175ea79743950daef26c9ca9d0",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/part/73/",
+ },
+ "page": EventEmitter {
+ "_events": Object {
+ "bindingCall": [Function anonymous],
+ "close": [Function anonymous],
+
|
[chromium] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers:
src/frontend/tests/pages/pui_stock.spec.ts#L77
1) [chromium] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ────────────────────────────
Error: locator.fill: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByLabel('text-field-serial_numbers')
- locator resolved to <input disabled value="" id=":r4kh:" type="string" field_type="string" data-disabled="true" aria-invalid="false" data-variant="default" aria-describedby=":r4kh:-description" aria-label="text-field-serial_numbers" class="m_8fb7ebe7 mantine-Input-input mantine-TextInput-input"/>
- fill("200-250")
- attempting fill action
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #1
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #14
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #15
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #16
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #17
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #18
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #19
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #20
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not enabled
- retrying fill action, attempt #21
- waiting 500ms
- waiting for element to be visible, enabled and editable
|
[chromium] › pui_plugins.spec.ts:59:1 › Plugins - Custom Admin:
src/frontend/tests/pui_plugins.spec.ts#L1
2) [chromium] › pui_plugins.spec.ts:59:1 › Plugins - Custom Admin ────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pui_plugins.spec.ts:59:1 › Plugins - Custom Admin:
src/frontend/tests/pui_plugins.spec.ts#L79
2) [chromium] › pui_plugins.spec.ts:59:1 › Plugins - Custom Admin ────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Plugin Configuration' })
77 | .getByRole('button', { name: 'Plugin Settings' })
78 | .click();
> 79 | await page.getByRole('button', { name: 'Plugin Configuration' }).click();
| ^
80 |
81 | // Check for expected custom elements
82 | await page
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_plugins.spec.ts:79:68
|
[firefox] › pages/pui_orders.spec.ts:5:1 › Sales Orders:
src/frontend/tests/pages/pui_orders.spec.ts#L1
3) [firefox] › pages/pui_orders.spec.ts:5:1 › Sales Orders ───────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pages/pui_orders.spec.ts:5:1 › Sales Orders:
src/frontend/tests/pages/pui_orders.spec.ts#L10
3) [firefox] › pages/pui_orders.spec.ts:5:1 › Sales Orders ───────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('tab', { name: 'Sales Orders' })
8 | await page.goto(`${baseUrl}/home`);
9 | await page.getByRole('tab', { name: 'Sales' }).click();
> 10 | await page.getByRole('tab', { name: 'Sales Orders' }).click();
| ^
11 |
12 | // Check for expected text in the table
13 | await page.getByRole('tab', { name: 'Sales Orders' }).waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_orders.spec.ts:10:57
|
[firefox] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers:
src/frontend/tests/pages/pui_stock.spec.ts#L1
4) [firefox] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ─────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers:
src/frontend/tests/pages/pui_stock.spec.ts#L83
4) [firefox] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ─────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('Errors exist for one or more form fields') to be visible
81 |
82 | // Expected error messages
> 83 | await page.getByText('Errors exist for one or more form fields').waitFor();
| ^
84 | await page
85 | .getByText(/exceeds allowed quantity/)
86 | .first()
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_stock.spec.ts:83:68
|
[firefox] › pui_basic.spec.ts:5:1 › Basic Login Test:
src/frontend/tests/baseFixtures.ts#L85
5) [firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ──────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 256
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@e4fc4d093388e62b54773776838693a1",
+ "_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=dae3bee5",
+ },
+ "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@0a10c80a20b9af9ad26e011507242ade",
+ "_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
+ RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=aa3bc8cb:4095:7
+ Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=aa3bc8cb:4467:20
+ _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=142d84b2: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=dae3bee5:3819:3
+ Container<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=dae3bee5:15473:25
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=dae3bee5:3819:3
+ Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=dae3bee5:10002:25
+ ProtectedRoute@http://localhost:5173/src/components/nav/Layout.tsx:1341:31
+ LayoutComponent@http://localhost:5173/src/components/nav/Layout.tsx:1386:47
+ Suspense
+ RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=aa3bc8cb:4095:7
+ Routes@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=aa3bc8cb:4533:7
+ Router@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=aa3bc8cb:4481:7
+ BrowserRouter@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=aa3bc8cb:5223:7
+ QueryClientProvider@http://localhost:5173/node_modules/.vite/deps/@tanstack_react-query.js?v=113ab963:2725:27
+ ModalsProvider@http://localhost:5173/node_modules/.vite/deps/@mantine_modals.js?v=3410fadc:184:24
+ I18nProvider@http://localhost:5173/node_modules/.vite/deps/@lingui_react.js?v=41483ffc:159:20
+ LanguageContext@http://localhos
|
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/[chromium] › pui_general.spec.ts#L1
src/frontend/[chromium] › pui_general.spec.ts took 1.0m
|
Slow Test:
src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 35.2s
|
Slow Test:
src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 26.6s
|
Slow Test:
src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 22.6s
|
Slow Test:
src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 22.3s
|
🎭 Playwright Run Summary
6 flaky
[chromium] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ─────────────────────────────
[chromium] › pui_plugins.spec.ts:59:1 › Plugins - Custom Admin ─────────────────────────────────
[firefox] › pages/pui_orders.spec.ts:5:1 › Sales Orders ────────────────────────────────────────
[firefox] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ──────────────────────────────
[firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ───────────────────────────────────────────
[firefox] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────────
104 passed (14.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.1 MB |
|
schema.yml
|
62.6 KB |
|