Skip to content

Purchase Order Destination #15407

Purchase Order Destination

Purchase Order Destination #15407

Triggered via pull request October 31, 2024 12:51
Status Failure
Total duration 26m 16s
Artifacts 2

qc_checks.yaml

on: pull_request
Build - UI Platform
1m 57s
Build - UI Platform
Style [pre-commit]
35s
Style [pre-commit]
Tests - API Schema Documentation
4m 48s
Tests - API Schema Documentation
Style [Documentation]
39s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 4s
Tests - inventree-python
Tests - DB [PostgreSQL]
11m 44s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
11m 31s
Tests - DB [MySQL]
Tests - Platform UI
20m 43s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 46s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

12 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
Tests - DB [MySQL]
Process completed with exit code 1.
Tests - DB [PostgreSQL]
Process completed with exit code 1.
Tests - DB [SQLite] + Coverage 3.9
Process completed with exit code 1.
[chromium] › pui_general.spec.ts:71:1 › Sales: src/frontend/tests/pui_general.spec.ts#L1
1) [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
1) [chromium] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 2354 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/order/so-line/?order=1&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@08626fbc963093d2e25f96d4d166e637", + "_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@08626fbc963093d2e25f96d4d166e637", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/order/so-line/?order=1&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@08626fbc963093d2e25f96d4d166e637", + "_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@08626fbc963093d2e25f96d4d166e637", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/order/so-extra-line/?order=1", + }, + "page": EventEmitter { + "_events": Object { + "bindingCall": [Function anonymous], + "close": [Function ano
[chromium] › pui_general.spec.ts:71:1 › Sales: src/frontend/tests/pui_general.spec.ts#L106
1) [chromium] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText('No records found').first() to be visible 104 | await page.getByRole('tab', { name: 'Shipments' }).click(); 105 | await page.getByRole('tab', { name: 'Build Orders' }).click(); > 106 | await page.getByText('No records found').first().waitFor(); | ^ 107 | await page.getByRole('tab', { name: 'Attachments' }).click(); 108 | await page.getByText('No attachments found').first().waitFor(); 109 | await page.getByRole('tab', { name: 'Notes' }).click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:106:52
[firefox] › pages/pui_part.spec.ts:223:1 › Pages - Part - Notes: src/frontend/tests/pages/pui_part.spec.ts#L1
2) [firefox] › pages/pui_part.spec.ts:223:1 › Pages - Part - Notes ─────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pages/pui_part.spec.ts:223:1 › Pages - Part - Notes: src/frontend/tests/baseFixtures.ts#L85
2) [firefox] › pages/pui_part.spec.ts:223:1 › Pages - Part - Notes ─────────────────────────────── 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@eba571d07cc4134b1e838871b683229a", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 1, + "lineNumber": 0, + "url": "http://localhost:5173/platform/part/69/notes", + }, + "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@8a30f2eb1f16825bac798c1787222f93", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/main.tsx” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/part/69/notes\" line: 0}]", + "type": "error", + }, + "_page": Object { + "_guid": "page@8a30f2eb1f16825bac798c1787222f93", + "_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:223:1 › Pages - Part - Notes: src/frontend/tests/pages/pui_part.spec.ts#L229
2) [firefox] › pages/pui_part.spec.ts:223:1 › Pages - Part - Notes ─────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByLabel('Enable Editing') to be visible 227 | 228 | // Enable editing > 229 | await page.getByLabel('Enable Editing').waitFor(); | ^ 230 | 231 | // Use keyboard shortcut to "edit" the part 232 | await page.keyboard.press('Control+E'); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:229:43
[firefox] › pui_general.spec.ts:71:1 › Sales: src/frontend/tests/pui_general.spec.ts#L1
3) [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#L98
3) [firefox] › pui_general.spec.ts:71:1 › Sales ────────────────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('cell', { name: 'SO0001' }) 96 | // Sales Order Details 97 | await page.getByRole('tab', { name: 'Sales Orders' }).click(); > 98 | await page.getByRole('cell', { name: 'SO0001' }).click(); | ^ 99 | await page 100 | .getByLabel('Order Details') 101 | .getByText('Selling some stuff') at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:98:52
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/[firefox] › pages/pui_sales_order.spec.ts#L1
src/frontend/[firefox] › pages/pui_sales_order.spec.ts took 38.4s
Slow Test: src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 36.2s
Slow Test: src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 34.3s
Slow Test: src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 23.3s
Slow Test: src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 23.1s
🎭 Playwright Run Summary
3 flaky [chromium] › pui_general.spec.ts:71:1 › Sales ────────────────────────────────────────────────── [firefox] › pages/pui_part.spec.ts:223:1 › Pages - Part - Notes ──────────────────────────────── [firefox] › pui_general.spec.ts:71:1 › Sales ─────────────────────────────────────────────────── 113 passed (14.1m)

Artifacts

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