Use postgres for playwright testing #17391
qc_checks.yaml
on: pull_request
Filter
6s
Build - UI Platform
2m 2s
Style [Documentation]
32s
Tests - Migrations [PostgreSQL]
26m 56s
Tests - Full Migration [SQLite]
2m 53s
Tests - inventree-python
3m 17s
Tests - DB [PostgreSQL]
12m 48s
Tests - DB [MySQL]
12m 34s
Tests - Platform UI
28m 28s
Security [Zizmor]
34s
Matrix: coverage
Push new schema
0s
Annotations
11 errors, 16 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
|
[chromium] › pui_settings.spec.ts:45:1 › Settings - Admin:
src/frontend/tests/pui_settings.spec.ts#L112
1) [chromium] › pui_settings.spec.ts:45:1 › Settings - Admin ─────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: getByLabel('text-field-name')
Expected string: "Box (Large)"
Received string: "Bag"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for getByLabel('text-field-name')
6 × locator resolved to <input name="name" required="" id=":r67p:" value="Bag" type="string" help_text="Name" max_length="100" field_type="string" aria-invalid="false" data-variant="default" aria-label="text-field-name" aria-describedby=":r67p:-description" class="m_8fb7ebe7 mantine-Input-input mantine-TextInput-input"/>
- unexpected value "Bag"
110 | await page.getByLabel('row-action-menu-1').click();
111 | await page.getByRole('menuitem', { name: 'Edit' }).click();
> 112 | await expect(page.getByLabel('text-field-name')).toHaveValue('Box (Large)');
| ^
113 | await expect(page.getByLabel('text-field-description')).toHaveValue(
114 | 'Large cardboard box'
115 | );
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_settings.spec.ts:112:52
|
[chromium] › pui_settings.spec.ts:45:1 › Settings - Admin:
src/frontend/tests/pui_settings.spec.ts#L112
1) [chromium] › pui_settings.spec.ts:45:1 › Settings - Admin ─────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: getByLabel('text-field-name')
Expected string: "Box (Large)"
Received string: "Bag"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for getByLabel('text-field-name')
- locator resolved to <input name="name" required="" id=":rad5:" value="Room" type="string" help_text="Name" max_length="100" field_type="string" aria-invalid="false" data-variant="default" aria-label="text-field-name" aria-describedby=":rad5:-description" class="m_8fb7ebe7 mantine-Input-input mantine-TextInput-input"/>
- unexpected value "Room"
7 × locator resolved to <input name="name" required="" id=":rant:" value="Bag" type="string" help_text="Name" max_length="100" field_type="string" aria-invalid="false" data-variant="default" aria-label="text-field-name" aria-describedby=":rant:-description" class="m_8fb7ebe7 mantine-Input-input mantine-TextInput-input"/>
- unexpected value "Bag"
110 | await page.getByLabel('row-action-menu-1').click();
111 | await page.getByRole('menuitem', { name: 'Edit' }).click();
> 112 | await expect(page.getByLabel('text-field-name')).toHaveValue('Box (Large)');
| ^
113 | await expect(page.getByLabel('text-field-description')).toHaveValue(
114 | 'Large cardboard box'
115 | );
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_settings.spec.ts:112:52
|
[chromium] › pui_settings.spec.ts:45:1 › Settings - Admin:
src/frontend/tests/pui_settings.spec.ts#L112
1) [chromium] › pui_settings.spec.ts:45:1 › Settings - Admin ─────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: getByLabel('text-field-name')
Expected string: "Box (Large)"
Received string: "Bag"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for getByLabel('text-field-name')
7 × locator resolved to <input name="name" required="" id=":r8q5:" value="Bag" type="string" help_text="Name" max_length="100" field_type="string" aria-invalid="false" data-variant="default" aria-label="text-field-name" aria-describedby=":r8q5:-description" class="m_8fb7ebe7 mantine-Input-input mantine-TextInput-input"/>
- unexpected value "Bag"
110 | await page.getByLabel('row-action-menu-1').click();
111 | await page.getByRole('menuitem', { name: 'Edit' }).click();
> 112 | await expect(page.getByLabel('text-field-name')).toHaveValue('Box (Large)');
| ^
113 | await expect(page.getByLabel('text-field-description')).toHaveValue(
114 | 'Large cardboard box'
115 | );
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_settings.spec.ts:112:52
|
[firefox] › pui_settings.spec.ts:45:1 › Settings - Admin:
src/frontend/tests/pui_settings.spec.ts#L112
2) [firefox] › pui_settings.spec.ts:45:1 › Settings - Admin ──────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: getByLabel('text-field-name')
Expected string: "Box (Large)"
Received string: "Bag"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for getByLabel('text-field-name')
7 × locator resolved to <input name="name" required="" id=":r8g7:" value="Bag" type="string" help_text="Name" max_length="100" field_type="string" aria-invalid="false" data-variant="default" aria-label="text-field-name" aria-describedby=":r8g7:-description" class="m_8fb7ebe7 mantine-Input-input mantine-TextInput-input"/>
- unexpected value "Bag"
110 | await page.getByLabel('row-action-menu-1').click();
111 | await page.getByRole('menuitem', { name: 'Edit' }).click();
> 112 | await expect(page.getByLabel('text-field-name')).toHaveValue('Box (Large)');
| ^
113 | await expect(page.getByLabel('text-field-description')).toHaveValue(
114 | 'Large cardboard box'
115 | );
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_settings.spec.ts:112:52
|
[firefox] › pui_settings.spec.ts:45:1 › Settings - Admin:
src/frontend/tests/pui_settings.spec.ts#L112
2) [firefox] › pui_settings.spec.ts:45:1 › Settings - Admin ──────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: getByLabel('text-field-name')
Expected string: "Box (Large)"
Received string: "Bag"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for getByLabel('text-field-name')
4 × locator resolved to <input name="name" required="" id=":r9od:" value="Bag" type="string" help_text="Name" max_length="100" field_type="string" aria-invalid="false" data-variant="default" aria-label="text-field-name" aria-describedby=":r9od:-description" class="m_8fb7ebe7 mantine-Input-input mantine-TextInput-input"/>
- unexpected value "Bag"
110 | await page.getByLabel('row-action-menu-1').click();
111 | await page.getByRole('menuitem', { name: 'Edit' }).click();
> 112 | await expect(page.getByLabel('text-field-name')).toHaveValue('Box (Large)');
| ^
113 | await expect(page.getByLabel('text-field-description')).toHaveValue(
114 | 'Large cardboard box'
115 | );
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_settings.spec.ts:112:52
|
[firefox] › pui_settings.spec.ts:45:1 › Settings - Admin:
src/frontend/tests/pui_settings.spec.ts#L112
2) [firefox] › pui_settings.spec.ts:45:1 › Settings - Admin ──────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: getByLabel('text-field-name')
Expected string: "Box (Large)"
Received string: "Bag"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for getByLabel('text-field-name')
- locator resolved to <input name="name" required="" id=":r9ot:" value="Room" type="string" help_text="Name" max_length="100" field_type="string" aria-invalid="false" data-variant="default" aria-label="text-field-name" aria-describedby=":r9ot:-description" class="m_8fb7ebe7 mantine-Input-input mantine-TextInput-input"/>
- unexpected value "Room"
6 × locator resolved to <input name="name" required="" id=":ra3l:" value="Bag" type="string" help_text="Name" max_length="100" field_type="string" aria-invalid="false" data-variant="default" aria-label="text-field-name" aria-describedby=":ra3l:-description" class="m_8fb7ebe7 mantine-Input-input mantine-TextInput-input"/>
- unexpected value "Bag"
110 | await page.getByLabel('row-action-menu-1').click();
111 | await page.getByRole('menuitem', { name: 'Edit' }).click();
> 112 | await expect(page.getByLabel('text-field-name')).toHaveValue('Box (Large)');
| ^
113 | await expect(page.getByLabel('text-field-description')).toHaveValue(
114 | 'Large cardboard box'
115 | );
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_settings.spec.ts:112:52
|
[chromium] › pages/pui_part.spec.ts:8:1 › Parts - Tabs:
src/frontend/tests/pages/pui_part.spec.ts#L1
3) [chromium] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_part.spec.ts:8:1 › Parts - Tabs:
src/frontend/tests/pages/pui_part.spec.ts#L34
3) [chromium] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('1551ACLR')
32 |
33 | // Related Parts
> 34 | await page.getByText('1551ACLR').click();
| ^
35 | await page.getByRole('tab', { name: 'Part Details' }).click();
36 | await page.getByRole('tab', { name: 'Parameters' }).click();
37 |
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:34:36
|
[chromium] › pages/pui_part.spec.ts:8:1 › Parts - Tabs:
src/frontend/tests/pages/pui_part.spec.ts#L1
3) [chromium] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_part.spec.ts:8:1 › Parts - Tabs:
src/frontend/tests/pages/pui_part.spec.ts#L34
3) [chromium] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('1551ACLR')
32 |
33 | // Related Parts
> 34 | await page.getByText('1551ACLR').click();
| ^
35 | await page.getByRole('tab', { name: 'Part Details' }).click();
36 | await page.getByRole('tab', { name: 'Parameters' }).click();
37 |
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:34:36
|
Style [pre-commit]
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
|
Style [Documentation]
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
|
Build - UI Platform
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
|
Tests - API Schema Documentation
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
|
Security [Zizmor]
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
|
Tests - inventree-python
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
|
Tests - DB [MySQL]
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
|
Tests - DB [PostgreSQL]
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
|
Tests - DB [SQLite] + Coverage 3.9
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
|
Tests - Platform UI
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
|
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/[chromium] › pages/pui_sales_order.spec.ts#L1
src/frontend/[chromium] › pages/pui_sales_order.spec.ts took 45.6s
|
Slow Test:
src/frontend/[firefox] › pui_plugins.spec.ts#L1
src/frontend/[firefox] › pui_plugins.spec.ts took 37.1s
|
Slow Test:
src/frontend/[firefox] › pui_login.spec.ts#L1
src/frontend/[firefox] › pui_login.spec.ts took 21.6s
|
Slow Test:
src/frontend/[chromium] › pui_printing.spec.ts#L1
src/frontend/[chromium] › pui_printing.spec.ts took 20.5s
|
Slow Test:
src/frontend/[chromium] › settings/selectionList.spec.ts#L1
src/frontend/[chromium] › settings/selectionList.spec.ts took 17.9s
|
🎭 Playwright Run Summary
2 failed
[chromium] › pui_settings.spec.ts:45:1 › Settings - Admin ──────────────────────────────────────
[firefox] › pui_settings.spec.ts:45:1 › Settings - Admin ───────────────────────────────────────
15 flaky
[chromium] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ─────────────────────────────────────────
[chromium] › pages/pui_purchase_order.spec.ts:11:1 › Purchase Orders - List ────────────────────
[chromium] › pages/pui_scan.spec.ts:22:1 › Scanning - Basic ────────────────────────────────────
[chromium] › pui_login.spec.ts:6:1 › Login - Basic Test ────────────────────────────────────────
[chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ─────────────────────────────────
[chromium] › pui_settings.spec.ts:128:1 › Settings - Admin - Barcode History ───────────────────
[firefox] › pages/pui_build.spec.ts:10:1 › Build Order - Basic Tests ───────────────────────────
[firefox] › pages/pui_part.spec.ts:105:1 › Parts - Allocations ─────────────────────────────────
[firefox] › pages/pui_part.spec.ts:173:1 › Parts - Pricing (Nothing, BOM) ──────────────────────
[firefox] › pages/pui_part.spec.ts:300:1 › Parts - Pricing (Purchase) ──────────────────────────
[firefox] › pages/pui_stock.spec.ts:58:1 › Stock - Filters ─────────────────────────────────────
[firefox] › pages/pui_stock.spec.ts:169:1 › Stock - Stock Actions ──────────────────────────────
[firefox] › pui_general.spec.ts:5:1 › Company ──────────────────────────────────────────────────
[firefox] › pui_settings.spec.ts:128:1 › Settings - Admin - Barcode History ────────────────────
[firefox] › settings/selectionList.spec.ts:5:1 › PUI - Admin - Parameter ───────────────────────
123 passed (22.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.33 MB |
|
inventree_filters.yml
|
5.15 KB |
|
inventree_settings.json
|
6.76 KB |
|
inventree_tags.yml
|
12.9 KB |
|
playwright-report
|
164 MB |
|
schema.yml
|
64.9 KB |
|