Skip to content

Select first and only pending shipment for sales order barcode alloca… #17006

Select first and only pending shipment for sales order barcode alloca…

Select first and only pending shipment for sales order barcode alloca… #17006

Triggered via push January 29, 2025 11:35
Status Success
Total duration 26m 29s
Artifacts 2

qc_checks.yaml

on: push
Build - UI Platform
2m 19s
Build - UI Platform
Style [pre-commit]
41s
Style [pre-commit]
Tests - API Schema Documentation
5m 0s
Tests - API Schema Documentation
Style [Documentation]
1m 22s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 52s
Tests - inventree-python
Tests - DB [PostgreSQL]
17m 2s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
16m 5s
Tests - DB [MySQL]
Tests - Platform UI
25m 17s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 38s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 5 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
[chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations: src/frontend/tests/pages/pui_part.spec.ts#L1
1) [chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ─────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations: src/frontend/tests/pages/pui_part.spec.ts#L125
1) [chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ─────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText('BO0001') to be visible 123 | 124 | // Expected order reference values > 125 | await page.getByText('BO0001').waitFor(); | ^ 126 | await page.getByText('BO0016').waitFor(); 127 | await page.getByText('BO0019').waitFor(); 128 | await page.getByText('SO0008').waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:125:34
[chromium] › pui_general.spec.ts:5:1 › Sales: src/frontend/tests/baseFixtures.ts#L85
2) [chromium] › pui_general.spec.ts:5:1 › Sales ────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 422 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/order/ro-line/?order=1&part_detail=true&item_detail=true&order_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@54cae929fc3a1dfde004cffc7d340fc1", + "_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@54cae929fc3a1dfde004cffc7d340fc1", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/order/ro-line/?order=1&part_detail=true&item_detail=true&order_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@54cae929fc3a1dfde004cffc7d340fc1", + "_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@54cae929fc3a1dfde004cffc7d340fc1", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/order/ro-extra-line/?order=1", + }, + "page": EventEmitter { + "_events": Object { + "bindin
[chromium] › pui_general.spec.ts:56:1 › Company: src/frontend/tests/pui_general.spec.ts#L1
3) [chromium] › pui_general.spec.ts:56:1 › Company ─────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_general.spec.ts:56:1 › Company: src/frontend/tests/baseFixtures.ts#L85
3) [chromium] › pui_general.spec.ts:56:1 › Company ─────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 516 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/attachment/?model_type=company&model_id=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@292fd2f702973f68547be5de49bd43e8", + "_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@292fd2f702973f68547be5de49bd43e8", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/attachment/?model_type=company&model_id=1&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@292fd2f702973f68547be5de49bd43e8", + "_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@292fd2f702973f68547be5de49bd43e8", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/attachment/?model_type=company&model_id=1&limit=25&offset=0", + }, + "page": EventEmitter { + "_events": Object { + "bindingCall": [Function anonymous], +
[chromium] › pui_general.spec.ts:56:1 › Company: src/frontend/tests/pui_general.spec.ts#L84
3) [chromium] › pui_general.spec.ts:56:1 › Company ─────────────────────────────────────────────── Error: locator.fill: Test timeout of 90000ms exceeded. Call log: - waiting for getByLabel('text-field-name') 82 | await page.getByLabel('action-menu-company-actions-edit').click(); 83 | > 84 | await page.getByLabel('text-field-name').fill(''); | ^ 85 | await page.getByLabel('text-field-website').fill('invalid-website'); 86 | await page.getByRole('button', { name: 'Submit' }).click(); 87 | at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:84:44
[chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin: src/frontend/tests/pui_plugins.spec.ts#L1
4) [chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ──────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin: src/frontend/tests/pui_plugins.spec.ts#L86
4) [chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ──────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByLabel('Plugin Detail').getByRole('button', { name: 'Plugin Settings' }) 84 | .getByLabel('Plugin Detail') 85 | .getByRole('button', { name: 'Plugin Settings' }) > 86 | .click(); | ^ 87 | await page.getByRole('button', { name: 'Plugin Configuration' }).click(); 88 | 89 | // Check for expected custom elements at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_plugins.spec.ts:86:6
[chromium] › pui_settings.spec.ts:164:1 › Settings - Admin - Unauthorized: src/frontend/tests/pui_settings.spec.ts#L1
5) [chromium] › pui_settings.spec.ts:164:1 › Settings - Admin - Unauthorized ───────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_settings.spec.ts:164:1 › Settings - Admin - Unauthorized: src/frontend/tests/pui_settings.spec.ts#L181
5) [chromium] › pui_settings.spec.ts:164:1 › Settings - Admin - Unauthorized ───────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'Display Options' }) 179 | await page.waitForURL('**/settings/user/**'); 180 | > 181 | await page.getByRole('tab', { name: 'Display Options' }).click(); | ^ 182 | await page.getByRole('tab', { name: 'Account' }).click(); 183 | 184 | // Try to access global settings page at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_settings.spec.ts:181:60
Slow Test: src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 26.9s
Slow Test: src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 23.7s
Slow Test: src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 21.9s
Slow Test: src/frontend/[firefox] › pui_command.spec.ts#L1
src/frontend/[firefox] › pui_command.spec.ts took 20.9s
Slow Test: src/frontend/[chromium] › pui_printing.spec.ts#L1
src/frontend/[chromium] › pui_printing.spec.ts took 20.3s
🎭 Playwright Run Summary
10 flaky [chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ──────────────────────────────── [chromium] › pui_general.spec.ts:5:1 › Sales ─────────────────────────────────────────────────── [chromium] › pui_general.spec.ts:56:1 › Company ──────────────────────────────────────────────── [chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ───────────────────────────────── [chromium] › pui_settings.spec.ts:164:1 › Settings - Admin - Unauthorized ────────────────────── [firefox] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ───────────────────────────────── [firefox] › pages/pui_scan.spec.ts:90:1 › Scanning (PurchaseOrder) ───────────────────────────── [firefox] › pui_forms.spec.ts:78:1 › Forms - Supplier Validation ─────────────────────────────── [firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ────────────────────────────────── [firefox] › settings/selectionList.spec.ts:5:1 › PUI - Admin - Parameter ─────────────────────── 128 passed (17.8m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.25 MB
schema.yml
65 KB