[CI] Playwright testing improvements #17018
qc_checks.yaml
on: pull_request
Filter
4s
Build - UI Platform
2m 7s
Style [Documentation]
46s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
0s
Tests - DB [PostgreSQL]
0s
Tests - DB [MySQL]
0s
Tests - Platform UI
29m 59s
Security [Zizmor]
0s
Matrix: coverage
Push new schema
0s
Annotations
10 errors, 4 warnings, and 1 notice
[chromium] › pages/pui_build.spec.ts:10:1 › Build Order - Basic Tests:
src/frontend/tests/pages/pui_build.spec.ts#L1
1) [chromium] › pages/pui_build.spec.ts:10:1 › Build Order - Basic Tests ─────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_build.spec.ts:10:1 › Build Order - Basic Tests:
src/frontend/tests/pages/pui_build.spec.ts#L19
1) [chromium] › pages/pui_build.spec.ts:10:1 › Build Order - Basic Tests ─────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('On Hold').first() to be visible
17 |
18 | // We have now loaded the "Build Order" table. Check for some expected texts
> 19 | await page.getByText('On Hold').first().waitFor();
| ^
20 | await page.getByText('Pending').first().waitFor();
21 |
22 | // Load a particular build order
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_build.spec.ts:19:43
|
[chromium] › pages/pui_build.spec.ts:10:1 › Build Order - Basic Tests:
src/frontend/tests/pages/pui_build.spec.ts#L1
1) [chromium] › pages/pui_build.spec.ts:10:1 › Build Order - Basic Tests ─────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_build.spec.ts:10:1 › Build Order - Basic Tests:
src/frontend/tests/pages/pui_build.spec.ts#L66
1) [chromium] › pages/pui_build.spec.ts:10:1 › Build Order - Basic Tests ─────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('R_10R_0402_1%') to be visible
64 |
65 | // Check for expected text in the table
> 66 | await page.getByText('R_10R_0402_1%').waitFor();
| ^
67 | await page
68 | .getByRole('cell', { name: 'R38, R39, R40, R41, R42, R43' })
69 | .waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_build.spec.ts:66:41
|
[chromium] › pages/pui_build.spec.ts:10:1 › Build Order - Basic Tests:
src/frontend/tests/pages/pui_build.spec.ts#L1
1) [chromium] › pages/pui_build.spec.ts:10:1 › Build Order - Basic Tests ─────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_build.spec.ts:10:1 › Build Order - Basic Tests:
src/frontend/tests/pages/pui_build.spec.ts#L19
1) [chromium] › pages/pui_build.spec.ts:10:1 › Build Order - Basic Tests ─────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('On Hold').first() to be visible
17 |
18 | // We have now loaded the "Build Order" table. Check for some expected texts
> 19 | await page.getByText('On Hold').first().waitFor();
| ^
20 | await page.getByText('Pending').first().waitFor();
21 |
22 | // Load a particular build order
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_build.spec.ts:19:43
|
[chromium] › pui_plugins.spec.ts:98:1 › Plugins - Locate Item:
src/frontend/tests/pui_plugins.spec.ts#L1
2) [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
2) [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
2) [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
2) [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
|
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/[firefox] › pui_command.spec.ts#L1
src/frontend/[firefox] › pui_command.spec.ts took 17.9s
|
Slow Test:
src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 15.5s
|
🎭 Playwright Run Summary
7 failed
[chromium] › pages/pui_build.spec.ts:10:1 › Build Order - Basic Tests ──────────────────────────
[chromium] › pui_plugins.spec.ts:98:1 › Plugins - Locate Item ──────────────────────────────────
[chromium] › pui_tables.spec.ts:44:1 › Tables - Columns ────────────────────────────────────────
[firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ──────────────────────────────────
[firefox] › pui_plugins.spec.ts:98:1 › Plugins - Locate Item ───────────────────────────────────
[firefox] › pui_printing.spec.ts:85:1 › Report Editing ─────────────────────────────────────────
[firefox] › pui_tables.spec.ts:44:1 › Tables - Columns ─────────────────────────────────────────
6 flaky
[chromium] › pages/pui_part.spec.ts:79:1 › Parts - Locking ─────────────────────────────────────
[chromium] › pages/pui_sales_order.spec.ts:60:1 › Sales Orders - Basic Tests ───────────────────
[chromium] › pui_settings.spec.ts:128:1 › Settings - Admin - Barcode History ───────────────────
[firefox] › pages/pui_purchase_order.spec.ts:11:1 › Purchase Orders - List ─────────────────────
[firefox] › pages/pui_stock.spec.ts:11:1 › Stock - Basic Tests ─────────────────────────────────
[firefox] › settings/selectionList.spec.ts:5:1 › PUI - Admin - Parameter ───────────────────────
127 passed (25.0m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
|
68.6 MB |
|