Skip to content

[CI] Playwright testing improvements #17053

[CI] Playwright testing improvements

[CI] Playwright testing improvements #17053

Triggered via pull request January 31, 2025 08:35
Status Failure
Total duration 30m 39s
Artifacts 2

qc_checks.yaml

on: pull_request
Build - UI Platform
2m 14s
Build - UI Platform
Style [pre-commit]
24s
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
29m 48s
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] › pui_plugins.spec.ts:98:1 › Plugins - Locate Item: src/frontend/tests/pui_plugins.spec.ts#L1
1) [chromium] › pui_plugins.spec.ts:98:1 › Plugins - Locate Item ───────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_plugins.spec.ts:98:1 › Plugins - Locate Item: src/frontend/tests/pui_plugins.spec.ts#L114
1) [chromium] › pui_plugins.spec.ts:98:1 › Plugins - Locate Item ───────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByLabel('action-button-locate-item') 112 | 113 | // "Locate" this item > 114 | await page.getByLabel('action-button-locate-item').click(); | ^ 115 | await page.getByRole('button', { name: 'Submit' }).click(); 116 | await page.getByText('Item location requested').waitFor(); 117 | at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_plugins.spec.ts:114:54
[chromium] › pui_plugins.spec.ts:98:1 › Plugins - Locate Item: src/frontend/tests/pui_plugins.spec.ts#L1
1) [chromium] › pui_plugins.spec.ts:98:1 › Plugins - Locate Item ───────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_plugins.spec.ts:98:1 › Plugins - Locate Item: src/frontend/tests/pui_plugins.spec.ts#L114
1) [chromium] › pui_plugins.spec.ts:98:1 › Plugins - Locate Item ───────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByLabel('action-button-locate-item') 112 | 113 | // "Locate" this item > 114 | await page.getByLabel('action-button-locate-item').click(); | ^ 115 | await page.getByRole('button', { name: 'Submit' }).click(); 116 | await page.getByText('Item location requested').waitFor(); 117 | at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_plugins.spec.ts:114:54
[chromium] › pui_plugins.spec.ts:98:1 › Plugins - Locate Item: src/frontend/tests/pui_plugins.spec.ts#L1
1) [chromium] › pui_plugins.spec.ts:98:1 › Plugins - Locate Item ───────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_plugins.spec.ts:98:1 › Plugins - Locate Item: src/frontend/tests/pui_plugins.spec.ts#L114
1) [chromium] › pui_plugins.spec.ts:98:1 › Plugins - Locate Item ───────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByLabel('action-button-locate-item') 112 | 113 | // "Locate" this item > 114 | await page.getByLabel('action-button-locate-item').click(); | ^ 115 | await page.getByRole('button', { name: 'Submit' }).click(); 116 | await page.getByText('Item location requested').waitFor(); 117 | at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_plugins.spec.ts:114:54
[chromium] › pui_tables.spec.ts:44:1 › Tables - Columns: src/frontend/tests/pui_tables.spec.ts#L1
2) [chromium] › pui_tables.spec.ts:44:1 › Tables - Columns ─────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_tables.spec.ts:44:1 › Tables - Columns: src/frontend/tests/pui_tables.spec.ts#L61
2) [chromium] › pui_tables.spec.ts:44:1 › Tables - Columns ─────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByLabel('table-select-columns') 59 | 60 | // Open column selector > 61 | await page.getByLabel('table-select-columns').click(); | ^ 62 | 63 | await page.getByRole('menuitem', { name: 'Start Date' }).click(); 64 | await page.getByRole('menuitem', { name: 'Target Date' }).click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_tables.spec.ts:61:49
[chromium] › pui_tables.spec.ts:44:1 › Tables - Columns: src/frontend/tests/pui_tables.spec.ts#L1
2) [chromium] › pui_tables.spec.ts:44:1 › Tables - Columns ─────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_tables.spec.ts:44:1 › Tables - Columns: src/frontend/tests/pui_tables.spec.ts#L61
2) [chromium] › pui_tables.spec.ts:44:1 › Tables - Columns ─────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByLabel('table-select-columns') 59 | 60 | // Open column selector > 61 | await page.getByLabel('table-select-columns').click(); | ^ 62 | 63 | await page.getByRole('menuitem', { name: 'Start Date' }).click(); 64 | await page.getByRole('menuitem', { name: 'Target Date' }).click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_tables.spec.ts:61:49
Playwright
You are using a frozen webkit browser which does not receive updates anymore on ubuntu20.04-x64. Please update to the latest version of your operating system to test up-to-date browsers.
Slow Test: src/frontend/[firefox] › pages/pui_build.spec.ts#L1
src/frontend/[firefox] › pages/pui_build.spec.ts took 1.2m
Slow Test: src/frontend/[chromium] › pages/pui_stock.spec.ts#L1
src/frontend/[chromium] › pages/pui_stock.spec.ts took 1.0m
Slow Test: src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 36.7s
Slow Test: src/frontend/[chromium] › pages/pui_scan.spec.ts#L1
src/frontend/[chromium] › pages/pui_scan.spec.ts took 34.2s
Slow Test: src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 25.9s
🎭 Playwright Run Summary
4 failed [chromium] › pui_plugins.spec.ts:98:1 › Plugins - Locate Item ────────────────────────────────── [chromium] › pui_tables.spec.ts:44:1 › Tables - Columns ──────────────────────────────────────── [firefox] › pui_plugins.spec.ts:98:1 › Plugins - Locate Item ─────────────────────────────────── [firefox] › pui_tables.spec.ts:44:1 › Tables - Columns ───────────────────────────────────────── 10 flaky [chromium] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ───────────────────────────────────────── [chromium] › pages/pui_part.spec.ts:105:1 › Parts - Allocations ──────────────────────────────── [chromium] › pages/pui_purchase_order.spec.ts:173:1 › Purchase Orders - Order Parts ──────────── [chromium] › pages/pui_sales_order.spec.ts:60:1 › Sales Orders - Basic Tests ─────────────────── [chromium] › pui_login.spec.ts:6:1 › Login - Basic Test ──────────────────────────────────────── [firefox] › pages/pui_part.spec.ts:79:1 › Parts - Locking ────────────────────────────────────── [firefox] › pages/pui_part.spec.ts:172:1 › Parts - Pricing (Nothing, BOM) ────────────────────── [firefox] › pages/pui_part.spec.ts:274:1 › Parts - Pricing (Internal) ────────────────────────── [firefox] › pages/pui_stock.spec.ts:11:1 › Stock - Basic Tests ───────────────────────────────── [firefox] › pui_login.spec.ts:6:1 › Login - Basic Test ───────────────────────────────────────── 126 passed (24.6m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.33 MB
playwright-report
129 MB