Skip to content

[PUI] Build allocation sub tables #15368

[PUI] Build allocation sub tables

[PUI] Build allocation sub tables #15368

Triggered via pull request October 28, 2024 23:24
Status Success
Total duration 22m 26s
Artifacts 2

qc_checks.yaml

on: pull_request
Build - UI Platform
2m 14s
Build - UI Platform
Style [pre-commit]
40s
Style [pre-commit]
Tests - API Schema Documentation
4m 9s
Tests - API Schema Documentation
Style [Documentation]
46s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 1s
Tests - inventree-python
Tests - DB [PostgreSQL]
13m 0s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
13m 1s
Tests - DB [MySQL]
Tests - Platform UI
21m 23s
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

8 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
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/login.ts#L38
1) [chromium] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('heading', { name: 'Welcome to your Dashboard,' }) to be visible at login.ts:38 36 | await page 37 | .getByRole('heading', { name: 'Welcome to your Dashboard,' }) > 38 | .waitFor(); | ^ 39 | }; 40 | 41 | export const doLogout = async (page) => { at doQuickLogin (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/login.ts:38:6) at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:72:3
[firefox] › pages/pui_part.spec.ts:174:1 › Pages - Part - Attachments: src/frontend/tests/pages/pui_part.spec.ts#L1
2) [firefox] › pages/pui_part.spec.ts:174:1 › Pages - Part - Attachments ───────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pages/pui_part.spec.ts:174:1 › Pages - Part - Attachments: src/frontend/tests/baseFixtures.ts#L85
2) [firefox] › pages/pui_part.spec.ts:174:1 › Pages - Part - Attachments ───────────────────────── 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@058e4c848ab840af61cdc4a2dba89285", + "_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/attachments", + }, + "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@a601df4cdfa9346b59752aac9f56f7ff", + "_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/part/69/attachments\" line: 0}]", + "type": "error", + }, + "_page": Object { + "_guid": "page@a601df4cdfa9346b59752aac9f56f7ff", + "_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:174:1 › Pages - Part - Attachments: src/frontend/tests/pages/pui_part.spec.ts#L180
2) [firefox] › pages/pui_part.spec.ts:174:1 › Pages - Part - Attachments ───────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByLabel('action-button-add-external-') 178 | 179 | // Submit a new external link > 180 | await page.getByLabel('action-button-add-external-').click(); | ^ 181 | await page.getByLabel('text-field-link').fill('https://www.google.com'); 182 | await page.getByLabel('text-field-comment').fill('a sample comment'); 183 | at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:180:56
[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#L113
3) [firefox] › pui_general.spec.ts:71:1 › Sales ────────────────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('link', { name: 'Customer A' }) 111 | 112 | // Return Order Details > 113 | await page.getByRole('link', { name: 'Customer A' }).click(); | ^ 114 | await page.getByRole('tab', { name: 'Return Orders' }).click(); 115 | await page.getByRole('cell', { name: 'RMA-' }).click(); 116 | await page.getByText('RMA-0001', { exact: true }).waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:113:56
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_scan.spec.ts#L1
src/frontend/[firefox] › pages/pui_scan.spec.ts took 45.9s
Slow Test: src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 34.9s
Slow Test: src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 33.9s
Slow Test: src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 22.5s
Slow Test: src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 22.3s
🎭 Playwright Run Summary
3 flaky [chromium] › pui_general.spec.ts:71:1 › Sales ────────────────────────────────────────────────── [firefox] › pages/pui_part.spec.ts:174:1 › Pages - Part - Attachments ────────────────────────── [firefox] › pui_general.spec.ts:71:1 › Sales ─────────────────────────────────────────────────── 111 passed (13.6m)

Artifacts

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