Skip to content

[UI] Responsiveness Improvements #16703

[UI] Responsiveness Improvements

[UI] Responsiveness Improvements #16703

Triggered via pull request January 12, 2025 09:05
Status Success
Total duration 27m 46s
Artifacts 1

qc_checks.yaml

on: pull_request
Build - UI Platform
1m 56s
Build - UI Platform
Style [pre-commit]
33s
Style [pre-commit]
Tests - API Schema Documentation
0s
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
0s
Tests - inventree-python
Tests - DB [PostgreSQL]
0s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
0s
Tests - DB [MySQL]
Tests - Platform UI
26m 44s
Tests - Platform UI
Security [Zizmor]
0s
Security [Zizmor]
Matrix: coverage
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 6 warnings, and 1 notice
[chromium] › pages/pui_dashboard.spec.ts:5:1 › Dashboard - Basic: src/frontend/tests/baseFixtures.ts#L86
1) [chromium] › pages/pui_dashboard.spec.ts:5:1 › Dashboard - Basic ────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 44 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/generic/status/", + }, + "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@10082d1a818490891568b377b50bdfcb", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "Failed to load resource: the server responded with a status of 500 (Internal Server Error)", + "type": "error", + }, + "_page": Object { + "_guid": "page@10082d1a818490891568b377b50bdfcb", + "_type": "Page", + }, + }, + ] at baseFixtures.ts:86 84 | }); 85 | await use(page); > 86 | expect(messages).toEqual([]); | ^ 87 | } 88 | }); 89 | at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:86:22)
[chromium] › pages/pui_part.spec.ts:9:1 › Parts - Tabs: src/frontend/tests/pages/pui_part.spec.ts#L1
2) [chromium] › pages/pui_part.spec.ts:9:1 › Parts - Tabs ──────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pages/pui_part.spec.ts:9:1 › Parts - Tabs: src/frontend/tests/pages/pui_part.spec.ts#L30
2) [chromium] › pages/pui_part.spec.ts:9:1 › Parts - Tabs ──────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByText('1551ACLR') 28 | 29 | // Related Parts > 30 | await page.getByText('1551ACLR').click(); | ^ 31 | await page.getByRole('tab', { name: 'Part Details' }).click(); 32 | await page.getByRole('tab', { name: 'Parameters' }).click(); 33 | await page at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:30:36
[chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations: src/frontend/tests/pages/pui_part.spec.ts#L1
3) [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#L127
3) [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 125 | 126 | // Expected order reference values > 127 | await page.getByText('BO0001').waitFor(); | ^ 128 | await page.getByText('BO0016').waitFor(); 129 | await page.getByText('BO0019').waitFor(); 130 | await page.getByText('SO0008').waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:127:34
[chromium] › pages/pui_part.spec.ts:167:1 › Parts - Pricing (Nothing: src/frontend/tests/pages/pui_part.spec.ts#L1
4) [chromium] › pages/pui_part.spec.ts:167:1 › Parts - Pricing (Nothing, BOM) ──────────────────── Test timeout of 90000ms exceeded.
[chromium] › pages/pui_part.spec.ts:167:1 › Parts - Pricing (Nothing: src/frontend/tests/pages/pui_part.spec.ts#L189
4) [chromium] › pages/pui_part.spec.ts:167:1 › Parts - Pricing (Nothing, BOM) ──────────────────── Error: locator.isDisabled: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Internal Pricing' }) 187 | await page.getByRole('button', { name: 'Pricing Overview' }).waitFor(); 188 | await page.getByText('Last Updated').waitFor(); > 189 | await page.getByRole('button', { name: 'Internal Pricing' }).isDisabled(); | ^ 190 | await page.getByRole('button', { name: 'Sale History' }).isDisabled(); 191 | await page.getByRole('button', { name: 'Sale Pricing' }).isDisabled(); 192 | await page.getByRole('button', { name: 'BOM Pricing' }).isEnabled(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:189:64
[chromium] › pages/pui_part.spec.ts:167:1 › Parts - Pricing (Nothing: src/frontend/tests/pages/pui_part.spec.ts#L1
4) [chromium] › pages/pui_part.spec.ts:167:1 › Parts - Pricing (Nothing, BOM) ──────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pages/pui_part.spec.ts:167:1 › Parts - Pricing (Nothing: src/frontend/tests/login.ts#L38
4) [chromium] › pages/pui_part.spec.ts:167:1 › Parts - Pricing (Nothing, BOM) ──────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText(/InvenTree Demo Server -/) to be visible at login.ts:38 36 | 37 | await page.getByLabel('navigation-menu').waitFor(); > 38 | await page.getByText(/InvenTree Demo Server -/).waitFor(); | ^ 39 | }; 40 | 41 | export const doLogout = async (page) => { at doQuickLogin (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/login.ts:38:51) at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:168:3
[chromium] › pages/pui_purchase_order.spec.ts:6:1 › Purchase Orders: src/frontend/tests/pages/pui_purchase_order.spec.ts#L1
5) [chromium] › pages/pui_purchase_order.spec.ts:6:1 › Purchase Orders ─────────────────────────── Test timeout of 90000ms exceeded.
Filter
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: src/frontend/[firefox] › pages/pui_sales_order.spec.ts#L1
src/frontend/[firefox] › pages/pui_sales_order.spec.ts took 59.7s
Slow Test: src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 24.1s
Slow Test: src/frontend/[firefox] › pui_command.spec.ts#L1
src/frontend/[firefox] › pui_command.spec.ts took 23.2s
Slow Test: src/frontend/[chromium] › pui_printing.spec.ts#L1
src/frontend/[chromium] › pui_printing.spec.ts took 20.9s
Slow Test: src/frontend/[chromium] › settings/selectionList.spec.ts#L1
src/frontend/[chromium] › settings/selectionList.spec.ts took 19.8s
🎭 Playwright Run Summary
14 flaky [chromium] › pages/pui_dashboard.spec.ts:5:1 › Dashboard - Basic ─────────────────────────────── [chromium] › pages/pui_part.spec.ts:9:1 › Parts - Tabs ───────────────────────────────────────── [chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ──────────────────────────────── [chromium] › pages/pui_part.spec.ts:167:1 › Parts - Pricing (Nothing, BOM) ───────────────────── [chromium] › pages/pui_purchase_order.spec.ts:6:1 › Purchase Orders ──────────────────────────── [chromium] › pui_general.spec.ts:5:1 › Company ───────────────────────────────────────────────── [chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ───────────────────────────────── [firefox] › pages/pui_part.spec.ts:9:1 › Parts - Tabs ────────────────────────────────────────── [firefox] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ───────────────────────────────── [firefox] › pages/pui_purchase_order.spec.ts:6:1 › Purchase Orders ───────────────────────────── [firefox] › pages/pui_purchase_order.spec.ts:26:1 › Purchase Orders - Barcodes ───────────────── [firefox] › pui_login.spec.ts:5:1 › Login - Basic Test ───────────────────────────────────────── [firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ────────────────────────────────── [firefox] › settings/selectionList.spec.ts:5:1 › PUI - Admin - Parameter ─────────────────────── 124 passed (19.7m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.3 MB