Skip to content

[PUI] Dashboard refactor #15308

[PUI] Dashboard refactor

[PUI] Dashboard refactor #15308

Triggered via pull request October 26, 2024 00:50
Status Failure
Total duration 44m 49s
Artifacts 3

qc_checks.yaml

on: pull_request
Build - UI Platform
2m 7s
Build - UI Platform
Style [pre-commit]
43s
Style [pre-commit]
Tests - API Schema Documentation
4m 10s
Tests - API Schema Documentation
Style [Documentation]
51s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 20s
Tests - inventree-python
Tests - DB [PostgreSQL]
11m 5s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
12m 0s
Tests - DB [MySQL]
Tests - Platform UI
43m 40s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 19s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

14 errors, 6 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
Tests - DB [PostgreSQL]
Process completed with exit code 1.
Tests - DB [MySQL]
Process completed with exit code 1.
Tests - DB [SQLite] + Coverage 3.9
Process completed with exit code 1.
[chromium] › pui_basic.spec.ts:5:1 › Basic Login Test: src/frontend/tests/pui_basic.spec.ts#L1
1) [chromium] › pui_basic.spec.ts:5:1 › Basic Login Test ───────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_basic.spec.ts:5:1 › Basic Login Test: src/frontend/tests/pui_basic.spec.ts#L19
1) [chromium] › pui_basic.spec.ts:5:1 › Basic Login Test ───────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('heading', { name: 'Welcome to your Dashboard, Ally Access' }) 17 | await page 18 | .getByRole('heading', { name: `Welcome to your Dashboard, ${user.name}` }) > 19 | .click(); | ^ 20 | 21 | // Check that the username is provided 22 | await page.getByText(user.username); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_basic.spec.ts:19:6
[chromium] › pui_basic.spec.ts:5:1 › Basic Login Test: src/frontend/tests/pui_basic.spec.ts#L1
1) [chromium] › pui_basic.spec.ts:5:1 › Basic Login Test ───────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_basic.spec.ts:5:1 › Basic Login Test: src/frontend/tests/pui_basic.spec.ts#L19
1) [chromium] › pui_basic.spec.ts:5:1 › Basic Login Test ───────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('heading', { name: 'Welcome to your Dashboard, Ally Access' }) 17 | await page 18 | .getByRole('heading', { name: `Welcome to your Dashboard, ${user.name}` }) > 19 | .click(); | ^ 20 | 21 | // Check that the username is provided 22 | await page.getByText(user.username); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_basic.spec.ts:19:6
[chromium] › pui_basic.spec.ts:38:1 › Quick Login Test: src/frontend/tests/pui_basic.spec.ts#L1
2) [chromium] › pui_basic.spec.ts:38:1 › Quick Login Test ──────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_basic.spec.ts:38:1 › Quick Login Test: src/frontend/tests/pui_basic.spec.ts#L52
2) [chromium] › pui_basic.spec.ts:38:1 › Quick Login Test ──────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('heading', { name: 'Welcome to your Dashboard, Ally Access' }) 50 | await page 51 | .getByRole('heading', { name: `Welcome to your Dashboard, ${user.name}` }) > 52 | .click(); | ^ 53 | 54 | // Logout (via URL) 55 | await page.goto(`${baseUrl}/logout/`); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_basic.spec.ts:52:6
[chromium] › pui_basic.spec.ts:38:1 › Quick Login Test: src/frontend/tests/pui_basic.spec.ts#L1
2) [chromium] › pui_basic.spec.ts:38:1 › Quick Login Test ──────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_basic.spec.ts:38:1 › Quick Login Test: src/frontend/tests/pui_basic.spec.ts#L52
2) [chromium] › pui_basic.spec.ts:38:1 › Quick Login Test ──────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('heading', { name: 'Welcome to your Dashboard, Ally Access' }) 50 | await page 51 | .getByRole('heading', { name: `Welcome to your Dashboard, ${user.name}` }) > 52 | .click(); | ^ 53 | 54 | // Logout (via URL) 55 | await page.goto(`${baseUrl}/logout/`); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_basic.spec.ts:52:6
[chromium] › pui_command.spec.ts:5:1 › Quick Command: src/frontend/tests/pui_command.spec.ts#L1
3) [chromium] › pui_command.spec.ts:5:1 › Quick Command ────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_command.spec.ts:5:1 › Quick Command: src/frontend/tests/pui_command.spec.ts#L15
3) [chromium] › pui_command.spec.ts:5:1 › Quick Command ────────────────────────────────────────── Error: page.waitForURL: Test timeout of 90000ms exceeded. =========================== logs =========================== waiting for navigation to "**/platform/dashboard" until "load" ============================================================ 13 | .click(); 14 | await page.locator('p').filter({ hasText: 'Dashboard' }).waitFor(); > 15 | await page.waitForURL('**/platform/dashboard'); | ^ 16 | 17 | // Open Spotlight with Button 18 | await page.getByLabel('open-spotlight').click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_command.spec.ts:15:14
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] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 22.2s
Slow Test: src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 18.7s
🎭 Playwright Run Summary
22 failed [chromium] › pui_basic.spec.ts:5:1 › Basic Login Test ────────────────────────────────────────── [chromium] › pui_basic.spec.ts:38:1 › Quick Login Test ───────────────────────────────────────── [chromium] › pui_command.spec.ts:5:1 › Quick Command ─────────────────────────────────────────── [chromium] › pui_command.spec.ts:34:1 › Quick Command - No Keys ──────────────────────────────── [chromium] › pui_general.spec.ts:122:1 › Scanning ────────────────────────────────────────────── [chromium] › pui_general.spec.ts:143:1 › Language / Color ────────────────────────────────────── [chromium] › pui_plugins.spec.ts:7:1 › Plugins - Panels ──────────────────────────────────────── [chromium] › pui_printing.spec.ts:85:1 › Report Editing ──────────────────────────────────────── [firefox] › pages/pui_part.spec.ts:174:1 › Pages - Part - Attachments ────────────────────────── [firefox] › pages/pui_part.spec.ts:223:1 › Pages - Part - Notes ──────────────────────────────── [firefox] › pages/pui_scan.spec.ts:45:1 › Pages - Index - Scan (StockLocation) ───────────────── [firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ─────────────────────────────────────────── [firefox] › pui_basic.spec.ts:38:1 › Quick Login Test ────────────────────────────────────────── [firefox] › pui_command.spec.ts:5:1 › Quick Command ──────────────────────────────────────────── [firefox] › pui_command.spec.ts:34:1 › Quick Command - No Keys ───────────────────────────────── [firefox] › pui_general.spec.ts:5:1 › Parts ──────────────────────────────────────────────────── [firefox] › pui_general.spec.ts:122:1 › Scanning ─────────────────────────────────────────────── [firefox] › pui_general.spec.ts:143:1 › Language / Color ─────────────────────────────────────── [firefox] › pui_general.spec.ts:177:1 › Company ──────────────────────────────────────────────── [firefox] › pui_plugins.spec.ts:7:1 › Plugins - Panels ───────────────────────────────────────── [firefox] › pui_printing.spec.ts:85:1 › Report Editing ───────────────────────────────────────── [firefox] › pui_tables.spec.ts:53:1 › Tables - Columns ───────────────────────────────────────── 7 flaky [firefox] › pages/pui_build.spec.ts:5:1 › Pages - Build Order ────────────────────────────────── [firefox] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking ──────────────────────────────── [firefox] › pages/pui_part.spec.ts:26:1 › Pages - Part - Pricing (Nothing, BOM) ──────────────── [firefox] › pages/pui_scan.spec.ts:72:1 › Pages - Index - Scan (SalesOrder) ──────────────────── [firefox] › pages/pui_scan.spec.ts:81:1 › Pages - Index - Scan (Build) ───────────────────────── [firefox] › pui_general.spec.ts:58:1 › Parts - Supplier Parts ────────────────────────────────── [firefox] › pui_settings.spec.ts:126:1 › Admin - Unauthorized ────────────────────────────────── 85 passed (37.4m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.13 MB
playwright-report Expired
88.1 MB
schema.yml
62.6 KB