Skip to content

[PUI] Dashboard refactor #15318

[PUI] Dashboard refactor

[PUI] Dashboard refactor #15318

Triggered via pull request October 27, 2024 00:03
Status Failure
Total duration 44m 23s
Artifacts 3

qc_checks.yaml

on: pull_request
Build - UI Platform
1m 58s
Build - UI Platform
Style [pre-commit]
50s
Style [pre-commit]
Tests - API Schema Documentation
4m 14s
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
5m 38s
Tests - inventree-python
Tests - DB [PostgreSQL]
10m 54s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
12m 59s
Tests - DB [MySQL]
Tests - Platform UI
43m 6s
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

12 errors, 8 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
Tests - DB [PostgreSQL]
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/[firefox] › pages/pui_build.spec.ts#L1
src/frontend/[firefox] › pages/pui_build.spec.ts took 29.2s
Slow Test: src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 25.9s
Slow Test: src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 23.4s
Slow Test: src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 19.3s
🎭 Playwright Run Summary
19 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_scan.spec.ts:36:1 › Pages - Index - Scan (Stockitem) ───────────────────── [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:122:1 › Scanning ─────────────────────────────────────────────── [firefox] › pui_general.spec.ts:143:1 › Language / Color ─────────────────────────────────────── [firefox] › pui_plugins.spec.ts:7:1 › Plugins - Panels ───────────────────────────────────────── [firefox] › pui_printing.spec.ts:55:1 › Report Printing ──────────────────────────────────────── [firefox] › pui_printing.spec.ts:85:1 › Report Editing ───────────────────────────────────────── 7 flaky [chromium] › pui_general.spec.ts:5:1 › Parts ─────────────────────────────────────────────────── [firefox] › pages/pui_part.spec.ts:101:1 › Pages - Part - Pricing (Variant) ──────────────────── [firefox] › pages/pui_part.spec.ts:127:1 › Pages - Part - Pricing (Internal) ─────────────────── [firefox] › pages/pui_part.spec.ts:255:1 › Pages - Part - Revision ───────────────────────────── [firefox] › pages/pui_scan.spec.ts:27:1 › Pages - Index - Scan (Part) ────────────────────────── [firefox] › pui_printing.spec.ts:11:1 › Label Printing ───────────────────────────────────────── [firefox] › pui_settings.spec.ts:126:1 › Admin - Unauthorized ────────────────────────────────── 88 passed (36.6m)

Artifacts

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