Skip to content

[API] Sales order filters (#8331) #15228

[API] Sales order filters (#8331)

[API] Sales order filters (#8331) #15228

Triggered via push October 22, 2024 20:16
Status Success
Total duration 21m 39s
Artifacts 2

qc_checks.yaml

on: push
Build - UI Platform
1m 54s
Build - UI Platform
Style [pre-commit]
44s
Style [pre-commit]
Tests - API Schema Documentation
4m 1s
Tests - API Schema Documentation
Style [Documentation]
43s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 32s
Tests - inventree-python
Tests - DB [PostgreSQL]
12m 38s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
13m 28s
Tests - DB [MySQL]
Tests - Platform UI
20m 23s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 34s
Style - Classic UI [JS]
Push new schema
5s
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_orders.spec.ts:130:1 › Purchase Orders: src/frontend/tests/pages/pui_orders.spec.ts#L1
1) [chromium] › pages/pui_orders.spec.ts:130:1 › Purchase Orders ───────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pages/pui_orders.spec.ts:130:1 › Purchase Orders: src/frontend/tests/pages/pui_orders.spec.ts#L135
1) [chromium] › pages/pui_orders.spec.ts:130:1 › Purchase Orders ───────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'Purchase Orders' }) 133 | await page.goto(`${baseUrl}/home`); 134 | await page.getByRole('tab', { name: 'Purchasing' }).click(); > 135 | await page.getByRole('tab', { name: 'Purchase Orders' }).click(); | ^ 136 | 137 | // Check for expected values 138 | await page.getByRole('cell', { name: 'PO0014' }).waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_orders.spec.ts:135:60
[chromium] › pui_general.spec.ts:71:1 › Sales: src/frontend/tests/pui_general.spec.ts#L1
2) [chromium] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_general.spec.ts:71:1 › Sales: src/frontend/tests/baseFixtures.ts#L85
2) [chromium] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 2564 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/label/print/", + }, + "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@468e971a17cca93373bfe42d920f3d82", + "_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@468e971a17cca93373bfe42d920f3d82", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/stock/?customer=30&part_detail=true&location_detail=true&supplier_part_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@468e971a17cca93373bfe42d920f3d82", + "_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@468e971a17cca93373bfe42d920f3d82", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/stock/?customer=30&part_detail=true&location_detail=true&supplier_part_detail=true&limit=25&offset=0", + }, + "page": EventEmitter { + "_events": Object { + "bind
[chromium] › pui_general.spec.ts:71:1 › Sales: src/frontend/tests/pui_general.spec.ts#L91
2) [chromium] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('cell', { name: 'Dorathy Gross' }) to be visible 89 | await page.getByRole('tab', { name: 'Sales Orders' }).click(); 90 | await page.getByRole('tab', { name: 'Contacts' }).click(); > 91 | await page.getByRole('cell', { name: 'Dorathy Gross' }).waitFor(); | ^ 92 | await page 93 | .getByRole('row', { name: 'Dorathy Gross dorathy.gross@customer.com' }) 94 | .waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:91:59
[firefox] › pages/pui_part.spec.ts:26:1 › Pages - Part - Pricing (Nothing: src/frontend/tests/pages/pui_part.spec.ts#L1
3) [firefox] › pages/pui_part.spec.ts:26:1 › Pages - Part - Pricing (Nothing, BOM) ─────────────── Test timeout of 90000ms exceeded.
[firefox] › pages/pui_part.spec.ts:26:1 › Pages - Part - Pricing (Nothing: src/frontend/tests/baseFixtures.ts#L85
3) [firefox] › pages/pui_part.spec.ts:26:1 › Pages - Part - Pricing (Nothing, BOM) ─────────────── 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@c056a081828e5b96a9e46be8b62c5524", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 1, + "lineNumber": 0, + "url": "http://localhost:5173/platform/part/108/pricing", + }, + "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@a0c1664c48d5687bd05b4afd2e2ed555", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/locales/en/messages.ts” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/part/108/pricing\" line: 0}]", + "type": "error", + }, + "_page": Object { + "_guid": "page@a0c1664c48d5687bd05b4afd2e2ed555", + "_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] › pages/pui_part.spec.ts:26:1 › Pages - Part - Pricing (Nothing: src/frontend/tests/pages/pui_part.spec.ts#L42
3) [firefox] › pages/pui_part.spec.ts:26:1 › Pages - Part - Pricing (Nothing, BOM) ─────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText('Part: Blue Chair') to be visible 40 | // Part with history 41 | await page.goto(`${baseUrl}/part/108/pricing`); > 42 | await page.getByText('Part: Blue Chair').waitFor(); | ^ 43 | await page.getByRole('tab', { name: 'Part Pricing' }).click(); 44 | await page.getByLabel('Part Pricing').getByText('Part Pricing').waitFor(); 45 | await page.getByRole('button', { name: 'Pricing Overview' }).waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:42:44
[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#L89
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 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
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] › pages/pui_part.spec.ts#L1
src/frontend/[chromium] › pages/pui_part.spec.ts took 1.3m
Slow Test: src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 32.3s
Slow Test: src/frontend/[firefox] › pui_forms.spec.ts#L1
src/frontend/[firefox] › pui_forms.spec.ts took 22.5s
Slow Test: src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 22.1s
Slow Test: src/frontend/[firefox] › pui_plugins.spec.ts#L1
src/frontend/[firefox] › pui_plugins.spec.ts took 22.0s
🎭 Playwright Run Summary
4 flaky [chromium] › pages/pui_orders.spec.ts:130:1 › Purchase Orders ────────────────────────────────── [chromium] › pui_general.spec.ts:71:1 › Sales ────────────────────────────────────────────────── [firefox] › pages/pui_part.spec.ts:26:1 › Pages - Part - Pricing (Nothing, BOM) ──────────────── [firefox] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ────────────────────────────── 106 passed (13.3m)

Artifacts

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