[PUI] Hide "location" column in certain conditions #15974
qc_checks.yaml
on: pull_request
Filter
5s
Build - UI Platform
2m 14s
Style [Documentation]
41s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
0s
Tests - DB [PostgreSQL]
0s
Tests - DB [MySQL]
0s
Tests - Platform UI
25m 1s
Matrix: coverage
Style - Classic UI [JS]
1m 21s
Push new schema
0s
Annotations
10 errors, 5 warnings, and 1 notice
[chromium] › pages/pui_part.spec.ts:9:1 › Parts - Tabs:
src/frontend/tests/pages/pui_part.spec.ts#L1
1) [chromium] › pages/pui_part.spec.ts:9:1 › Parts - Tabs ────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_part.spec.ts:9:1 › Parts - Tabs:
src/frontend/tests/pages/pui_part.spec.ts#L30
1) [chromium] › pages/pui_part.spec.ts:9:1 › Parts - Tabs ────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('1551ACLR')
28 |
29 | // Related Parts
> 30 | await page.getByText('1551ACLR').click();
| ^
31 | await page.getByRole('tab', { name: 'Part Details' }).click();
32 | await page.getByRole('tab', { name: 'Parameters' }).click();
33 | await page
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:30:36
|
[chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L1
2) [chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ───────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L125
2) [chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ───────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('BO0001') to be visible
123 |
124 | // Expected order reference values
> 125 | await page.getByText('BO0001').waitFor();
| ^
126 | await page.getByText('BO0016').waitFor();
127 | await page.getByText('BO0019').waitFor();
128 | await page.getByText('SO0008').waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:125:34
|
[chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L1
2) [chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ───────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L125
2) [chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ───────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('BO0001') to be visible
123 |
124 | // Expected order reference values
> 125 | await page.getByText('BO0001').waitFor();
| ^
126 | await page.getByText('BO0016').waitFor();
127 | await page.getByText('BO0019').waitFor();
128 | await page.getByText('SO0008').waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:125:34
|
[chromium] › pages/pui_part.spec.ts:165:1 › Parts - Pricing (Nothing:
src/frontend/tests/pages/pui_part.spec.ts#L1
3) [chromium] › pages/pui_part.spec.ts:165:1 › Parts - Pricing (Nothing, BOM) ────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_part.spec.ts:165:1 › Parts - Pricing (Nothing:
src/frontend/tests/pages/pui_part.spec.ts#L187
3) [chromium] › pages/pui_part.spec.ts:165:1 › Parts - Pricing (Nothing, BOM) ────────────────────
Error: locator.isDisabled: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Internal Pricing' })
185 | await page.getByRole('button', { name: 'Pricing Overview' }).waitFor();
186 | await page.getByText('Last Updated').waitFor();
> 187 | await page.getByRole('button', { name: 'Internal Pricing' }).isDisabled();
| ^
188 | await page.getByRole('button', { name: 'Sale History' }).isDisabled();
189 | await page.getByRole('button', { name: 'Sale Pricing' }).isDisabled();
190 | await page.getByRole('button', { name: 'BOM Pricing' }).isEnabled();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:187:64
|
[chromium] › pages/pui_part.spec.ts:267:1 › Parts - Pricing (Internal):
src/frontend/tests/pages/pui_part.spec.ts#L1
4) [chromium] › pages/pui_part.spec.ts:267:1 › Parts - Pricing (Internal) ────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_part.spec.ts:267:1 › Parts - Pricing (Internal):
src/frontend/tests/pages/pui_part.spec.ts#L272
4) [chromium] › pages/pui_part.spec.ts:267:1 › Parts - Pricing (Internal) ────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('Socket head cap screw, M2') to be visible
270 | // Part
271 | await page.goto(`${baseUrl}/part/65/pricing`);
> 272 | await page.getByText('Socket head cap screw, M2').waitFor();
| ^
273 | await page.getByRole('tab', { name: 'Part Pricing' }).click();
274 | await page.getByLabel('Part Pricing').getByText('Part Pricing').waitFor();
275 | await page.getByRole('button', { name: 'Pricing Overview' }).waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:272:53
|
Slow Test:
src/frontend/[chromium] › settings/selectionList.spec.ts#L1
src/frontend/[chromium] › settings/selectionList.spec.ts took 22.4s
|
Slow Test:
src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 21.4s
|
Slow Test:
src/frontend/[chromium] › pages/pui_purchase_order.spec.ts#L1
src/frontend/[chromium] › pages/pui_purchase_order.spec.ts took 20.0s
|
Slow Test:
src/frontend/[firefox] › modals.spec.ts#L1
src/frontend/[firefox] › modals.spec.ts took 19.7s
|
Slow Test:
src/frontend/[chromium] › pui_command.spec.ts#L1
src/frontend/[chromium] › pui_command.spec.ts took 17.9s
|
🎭 Playwright Run Summary
10 flaky
[chromium] › pages/pui_part.spec.ts:9:1 › Parts - Tabs ─────────────────────────────────────────
[chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ────────────────────────────────
[chromium] › pages/pui_part.spec.ts:165:1 › Parts - Pricing (Nothing, BOM) ─────────────────────
[chromium] › pages/pui_part.spec.ts:267:1 › Parts - Pricing (Internal) ─────────────────────────
[firefox] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ─────────────────────────────────
[firefox] › pages/pui_part.spec.ts:165:1 › Parts - Pricing (Nothing, BOM) ──────────────────────
[firefox] › pages/pui_part.spec.ts:292:1 › Parts - Pricing (Purchase) ──────────────────────────
[firefox] › pages/pui_purchase_order.spec.ts:55:1 › Purchase Orders - Filters ──────────────────
[firefox] › pages/pui_stock.spec.ts:6:1 › Stock - Basic Tests ──────────────────────────────────
[firefox] › settings/selectionList.spec.ts:5:1 › PUI - Admin - Parameter ───────────────────────
126 passed (18.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.21 MB |
|