Skip to content

[API] Sales order filters #15223

[API] Sales order filters

[API] Sales order filters #15223

Triggered via pull request October 22, 2024 12:40
Status Success
Total duration 22m 31s
Artifacts 2

qc_checks.yaml

on: pull_request
Build - UI Platform
1m 51s
Build - UI Platform
Style [pre-commit]
39s
Style [pre-commit]
Tests - API Schema Documentation
4m 24s
Tests - API Schema Documentation
Style [Documentation]
31s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 5s
Tests - inventree-python
Tests - DB [PostgreSQL]
12m 59s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
14m 22s
Tests - DB [MySQL]
Tests - Platform UI
21m 20s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 28s
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 + 416 - 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@fc9541296d4c2655ec4af90b9fdffac6", + "_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@fc9541296d4c2655ec4af90b9fdffac6", + "_type": "Page", + }, + }, + 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@fc9541296d4c2655ec4af90b9fdffac6", + "_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@fc9541296d4c2655ec4af90b9fdffac6", + "_type": "Page", + }, + }, + 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], +
[chromium] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers: src/frontend/tests/pages/pui_stock.spec.ts#L80
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') 78 | 79 | // Initially fill with invalid serial/quantity combinations > 80 | await page.getByLabel('text-field-serial_numbers').fill('200-250'); | ^ 81 | await page.getByLabel('number-field-quantity').fill('10'); 82 | 83 | // Add delay to account to field debounce at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_stock.spec.ts:80:54
[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#L89
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 87 | 88 | // Expected error messages > 89 | await page.getByText('Errors exist for one or more form fields').waitFor(); | ^ 90 | await page 91 | .getByText(/exceeds allowed quantity/) 92 | .first() at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_stock.spec.ts:89:68
[firefox] › pui_basic.spec.ts:38:1 › Quick Login Test: src/frontend/tests/pui_basic.spec.ts#L1
3) [firefox] › pui_basic.spec.ts:38:1 › Quick Login Test ───────────────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pui_basic.spec.ts:38:1 › Quick Login Test: src/frontend/tests/baseFixtures.ts#L85
3) [firefox] › pui_basic.spec.ts:38:1 › Quick Login Test ───────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 60 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@fa2df1bd0293ddbe5c6e0e0f74773a42", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 1, + "lineNumber": 0, + "url": "http://localhost:5173/platform/logout/", + }, + "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@98d2fdd3d8182ef81057f53232966c61", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/defaults/backendMappings.tsx” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/logout/\" line: 0}]", + "type": "error", + }, + "_page": Object { + "_guid": "page@98d2fdd3d8182ef81057f53232966c61", + "_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)
[firefox] › pui_basic.spec.ts:38:1 › Quick Login Test: src/frontend/tests/pui_basic.spec.ts#L56
3) [firefox] › pui_basic.spec.ts:38:1 › Quick Login Test ───────────────────────────────────────── Error: page.waitForURL: Test timeout of 90000ms exceeded. =========================== logs =========================== waiting for navigation to "**/platform/login" until "load" ============================================================ 54 | // Logout (via URL) 55 | await page.goto(`${baseUrl}/logout/`); > 56 | await page.waitForURL('**/platform/login'); | ^ 57 | await page.getByLabel('username'); 58 | }); 59 | at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_basic.spec.ts:56:14
[firefox] › pui_general.spec.ts:71:1 › Sales: src/frontend/tests/pui_general.spec.ts#L1
4) [firefox] › pui_general.spec.ts:71:1 › Sales ────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pui_general.spec.ts:71:1 › Sales: src/frontend/tests/pui_general.spec.ts#L102
4) [firefox] › pui_general.spec.ts:71:1 › Sales ────────────────────────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByLabel('Order Details').getByText('Selling some stuff') to be visible 100 | .getByLabel('Order Details') 101 | .getByText('Selling some stuff') > 102 | .waitFor(); | ^ 103 | await page.getByRole('tab', { name: 'Line Items' }).click(); 104 | await page.getByRole('tab', { name: 'Shipments' }).click(); 105 | await page.getByRole('tab', { name: 'Build Orders' }).click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:102: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.1m
Slow Test: src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 35.1s
Slow Test: src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 23.2s
Slow Test: src/frontend/[firefox] › pui_command.spec.ts#L1
src/frontend/[firefox] › pui_command.spec.ts took 19.3s
Slow Test: src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 19.3s
🎭 Playwright Run Summary
4 flaky [chromium] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ───────────────────────────── [firefox] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ────────────────────────────── [firefox] › pui_basic.spec.ts:38:1 › Quick Login Test ────────────────────────────────────────── [firefox] › pui_general.spec.ts:71:1 › Sales ─────────────────────────────────────────────────── 106 passed (14.2m)

Artifacts

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