Skip to content

[API] Sales order filters #15220

[API] Sales order filters

[API] Sales order filters #15220

Triggered via pull request October 22, 2024 11:45
Status Failure
Total duration 21m 48s
Artifacts 3

qc_checks.yaml

on: pull_request
Build - UI Platform
1m 55s
Build - UI Platform
Style [pre-commit]
34s
Style [pre-commit]
Tests - API Schema Documentation
4m 15s
Tests - API Schema Documentation
Style [Documentation]
38s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 28s
Tests - inventree-python
Tests - DB [PostgreSQL]
13m 22s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
13m 14s
Tests - DB [MySQL]
Tests - Platform UI
20m 46s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 24s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

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 + 44 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/stock/", + }, + "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@e37a56b878fab5687a7fd7288fa0774e", + "_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@e37a56b878fab5687a7fd7288fa0774e", + "_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:52:1 › Stock - Serial Numbers: src/frontend/tests/pages/pui_stock.spec.ts#L100
1) [chromium] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ──────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText(/The following serial numbers already exist or are invalid : 200,201,202,203,204/).first() to be visible 98 | ) 99 | .first() > 100 | .waitFor(); | ^ 101 | 102 | // Expected error messages 103 | await page.getByText('Errors exist for one or more form fields').waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_stock.spec.ts:100:6
[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 ──────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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 ──────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 228 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/search/", + }, + "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@5a4fce38010d3feff65d88c804c3c629", + "_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@5a4fce38010d3feff65d88c804c3c629", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@137d5906ad9e07cea1f3c1f7a4a11e3d", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 6, + "lineNumber": 2599, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=a903508d", + }, + "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@5a4fce38010d3feff65d88c804c3c629", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "AxiosError", + "type": "error
[chromium] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers: src/frontend/tests/pages/pui_stock.spec.ts#L76
1) [chromium] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ──────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByLabel('panel-tabs-part').getByRole('tab', { name: 'Stock', exact: true }) 74 | .getByLabel('panel-tabs-part') 75 | .getByRole('tab', { name: 'Stock', exact: true }) > 76 | .click(); | ^ 77 | await page.getByLabel('action-button-add-stock-item').click(); 78 | 79 | // Initially fill with invalid serial/quantity combinations at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_stock.spec.ts:76:6
[firefox] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers: src/frontend/tests/pages/pui_stock.spec.ts#L1
2) [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#L86
2) [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 84 | 85 | // Expected error messages > 86 | await page.getByText('Errors exist for one or more form fields').waitFor(); | ^ 87 | await page 88 | .getByText(/exceeds allowed quantity/) 89 | .first() at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_stock.spec.ts:86:68
[firefox] › pui_printing.spec.ts:11:1 › Label Printing: src/frontend/tests/pui_printing.spec.ts#L1
3) [firefox] › pui_printing.spec.ts:11:1 › Label Printing ──────────────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pui_printing.spec.ts:11:1 › Label Printing: src/frontend/tests/pui_printing.spec.ts#L20
3) [firefox] › pui_printing.spec.ts:11:1 › Label Printing ──────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByLabel('Select record 1', { exact: true }) 18 | 19 | // Select some labels > 20 | await page.getByLabel('Select record 1', { exact: true }).click(); | ^ 21 | await page.getByLabel('Select record 2', { exact: true }).click(); 22 | await page.getByLabel('Select record 3', { exact: true }).click(); 23 | at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_printing.spec.ts:20:61
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_tables.spec.ts#L1
src/frontend/[firefox] › pui_tables.spec.ts took 35.4s
Slow Test: src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 29.4s
Slow Test: src/frontend/[firefox] › pui_forms.spec.ts#L1
src/frontend/[firefox] › pui_forms.spec.ts took 24.1s
Slow Test: src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 23.1s
🎭 Playwright Run Summary
1 failed [chromium] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ───────────────────────────── 2 flaky [firefox] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ────────────────────────────── [firefox] › pui_printing.spec.ts:11:1 › Label Printing ───────────────────────────────────────── 107 passed (13.8m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.1 MB
playwright-report
14.2 MB
schema.yml
62.7 KB