Purchase Order Destination #15416
qc_checks.yaml
on: pull_request
Filter
7s
Build - UI Platform
2m 3s
Style [Documentation]
29s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
5m 22s
Tests - DB [PostgreSQL]
13m 49s
Tests - DB [MySQL]
12m 41s
Tests - Platform UI
21m 28s
Matrix: coverage
Style - Classic UI [JS]
1m 24s
Push new schema
0s
Annotations
11 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
|
[firefox] › pages/pui_sales_order.spec.ts:150:1 › Purchase Orders - Barcodes:
src/frontend/tests/pages/pui_sales_order.spec.ts#L1
1) [firefox] › pages/pui_sales_order.spec.ts:150:1 › Purchase Orders - Barcodes ──────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pages/pui_sales_order.spec.ts:150:1 › Purchase Orders - Barcodes:
src/frontend/tests/baseFixtures.ts#L85
1) [firefox] › pages/pui_sales_order.spec.ts:150:1 › Purchase Orders - Barcodes ──────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 316
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@3b9d18a1563bc792a224605d85afd835",
+ "_type": "JSHandle",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ ],
+ "location": Object {
+ "columnNumber": 1,
+ "lineNumber": 0,
+ "url": "http://localhost:5173/platform/purchasing/purchase-order/13/detail",
+ },
+ "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@79b1979a89048375083d3d63b0dc1344",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/components/buttons/PrintingActions.tsx” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/purchasing/purchase-order/13/detail\" line: 0}]",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@79b1979a89048375083d3d63b0dc1344",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@bd42518de06ee70f1ffafbe341ade750",
+ "_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=9a79f8b4",
+ },
+ "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
|
[firefox] › pages/pui_sales_order.spec.ts:150:1 › Purchase Orders - Barcodes:
src/frontend/tests/pages/pui_sales_order.spec.ts#L173
1) [firefox] › pages/pui_sales_order.spec.ts:150:1 › Purchase Orders - Barcodes ──────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByLabel('action-menu-barcode-actions')
- locator resolved to <button type="button" data-size="sm" data-variant="light" data-with-right-section="true" aria-label="action-menu-barcode-actions" class="mantine-focus-auto mantine-active m_77c9d27d mantine-Button-root m_87cf2631 mantine-UnstyledButton-root">…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-fixed="true" class="mantine-Modal-overlay m_9814e45f mantine-Overlay-root"></div> from <div data-portal="true">…</div> subtree intercepts pointer events
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-fixed="true" class="mantine-Modal-overlay m_9814e45f mantine-Overlay-root"></div> from <div data-portal="true">…</div> subtree intercepts pointer events
- retrying click action, attempt #2
- waiting 20ms
- element was detached from the DOM, retrying
171 |
172 | // Unlink barcode
> 173 | await page.getByLabel('action-menu-barcode-actions').click();
| ^
174 | await page.getByLabel('action-menu-barcode-actions-unlink-barcode').click();
175 | await page.getByRole('heading', { name: 'Unlink Barcode' }).waitFor();
176 | await page.getByText('This will remove the link to').waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_sales_order.spec.ts:173:56
|
[firefox] › pages/pui_sales_order.spec.ts:150:1 › Purchase Orders - Barcodes:
src/frontend/tests/pages/pui_sales_order.spec.ts#L1
1) [firefox] › pages/pui_sales_order.spec.ts:150:1 › Purchase Orders - Barcodes ──────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pages/pui_sales_order.spec.ts:150:1 › Purchase Orders - Barcodes:
src/frontend/tests/pages/pui_sales_order.spec.ts#L164
1) [firefox] › pages/pui_sales_order.spec.ts:150:1 › Purchase Orders - Barcodes ──────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByLabel('action-menu-barcode-actions-link-barcode')
162 | // Link to barcode
163 | await page.getByLabel('action-menu-barcode-actions').click();
> 164 | await page.getByLabel('action-menu-barcode-actions-link-barcode').click();
| ^
165 | await page.getByRole('heading', { name: 'Link Barcode' }).waitFor();
166 | await page
167 | .getByPlaceholder('Scan barcode data here using')
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_sales_order.spec.ts:164:69
|
[chromium] › pages/pui_purchase_order.spec.ts:57:1 › Purchase Orders - Receive Items:
src/frontend/tests/pages/pui_purchase_order.spec.ts#L1
2) [chromium] › pages/pui_purchase_order.spec.ts:57:1 › Purchase Orders - Receive Items ──────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_purchase_order.spec.ts:57:1 › Purchase Orders - Receive Items:
src/frontend/tests/pages/pui_purchase_order.spec.ts#L71
2) [chromium] › pages/pui_purchase_order.spec.ts:57:1 › Purchase Orders - Receive Items ──────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByLabel('action-button-receive-items')
- locator resolved to <button disabled type="button" data-disabled="true" data-variant="transparent" aria-label="action-button-receive-items" class="mantine-focus-auto m_8d3f4000 mantine-ActionIcon-root m_87cf2631 mantine-UnstyledButton-root">…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #14
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #15
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #16
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #17
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #18
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #19
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #20
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #21
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #22
- waiti
|
[chromium] › pages/pui_stock.spec.ts:118:1 › Stock - Stock Actions:
src/frontend/tests/pages/pui_stock.spec.ts#L1
3) [chromium] › pages/pui_stock.spec.ts:118:1 › Stock - Stock Actions ────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_stock.spec.ts:118:1 › Stock - Stock Actions:
src/frontend/tests/baseFixtures.ts#L85
3) [chromium] › pages/pui_stock.spec.ts:118:1 › Stock - Stock Actions ────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 44
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/stock/330/?part_detail=true&location_detail=true&path_detail=true",
+ },
+ "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@0e5006339ef1cfa62ca914060aa91d66",
+ "_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@0e5006339ef1cfa62ca914060aa91d66",
+ "_type": "Page",
+ },
+ },
+ ]
at baseFixtures.ts:85
83 | });
84 | await use(page);
> 85 | expect(messages).toEqual([]);
| ^
86 | }
87 | });
88 |
at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:85:22)
|
[chromium] › pages/pui_stock.spec.ts:118:1 › Stock - Stock Actions:
src/frontend/tests/pages/pui_stock.spec.ts#L130
3) [chromium] › pages/pui_stock.spec.ts:118:1 › Stock - Stock Actions ────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for locator('div').filter({ hasText: /^Quantity: 270$/ }).first() to be visible
128 | .filter({ hasText: /^Quantity: 270$/ })
129 | .first()
> 130 | .waitFor();
| ^
131 |
132 | // Check for expected action sections
133 | await page.getByLabel('action-menu-barcode-actions').click();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_stock.spec.ts:130: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 - 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] › pages/pui_scan.spec.ts#L1
src/frontend/[firefox] › pages/pui_scan.spec.ts took 46.3s
|
Slow Test:
src/frontend/[firefox] › pages/pui_stock.spec.ts#L1
src/frontend/[firefox] › pages/pui_stock.spec.ts took 45.2s
|
Slow Test:
src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 36.8s
|
Slow Test:
src/frontend/[chromium] › pages/pui_scan.spec.ts#L1
src/frontend/[chromium] › pages/pui_scan.spec.ts took 36.2s
|
🎭 Playwright Run Summary
1 failed
[firefox] › pages/pui_sales_order.spec.ts:150:1 › Purchase Orders - Barcodes ───────────────────
6 flaky
[chromium] › pages/pui_purchase_order.spec.ts:57:1 › Purchase Orders - Receive Items ───────────
[chromium] › pages/pui_stock.spec.ts:118:1 › Stock - Stock Actions ─────────────────────────────
[firefox] › pages/pui_build.spec.ts:5:1 › Pages - Build Order ──────────────────────────────────
[firefox] › pages/pui_part.spec.ts:186:1 › Pages - Part - Pricing (Purchase) ───────────────────
[firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ───────────────────────────────────────────
[firefox] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────────
111 passed (15.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.13 MB |
|
playwright-report
|
48.8 MB |
|
schema.yml
|
62.7 KB |
|