Add level indicators and path to stock location and part category dropdowns #15305
qc_checks.yaml
on: pull_request
Filter
7s
Build - UI Platform
1m 55s
Style [Documentation]
31s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
0s
Tests - DB [PostgreSQL]
0s
Tests - DB [MySQL]
0s
Tests - Platform UI
21m 16s
Matrix: coverage
Style - Classic UI [JS]
1m 22s
Push new schema
0s
Annotations
10 errors, 8 warnings, and 1 notice
[chromium] › pages/pui_orders.spec.ts:130:1 › Purchase Orders:
src/frontend/tests/pages/pui_orders.spec.ts#L1
1) [chromium] › pages/pui_orders.spec.ts:130:1 › Purchase Orders ─────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_orders.spec.ts:130:1 › Purchase Orders:
src/frontend/tests/pages/pui_orders.spec.ts#L135
1) [chromium] › pages/pui_orders.spec.ts:130:1 › Purchase Orders ─────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('tab', { name: 'Purchase Orders' })
133 | await page.goto(`${baseUrl}/home`);
134 | await page.getByRole('tab', { name: 'Purchasing' }).click();
> 135 | await page.getByRole('tab', { name: 'Purchase Orders' }).click();
| ^
136 |
137 | // Check for expected values
138 | await page.getByRole('cell', { name: 'PO0014' }).waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_orders.spec.ts:135:60
|
[chromium] › pages/pui_orders.spec.ts:130:1 › Purchase Orders:
src/frontend/tests/pages/pui_orders.spec.ts#L1
1) [chromium] › pages/pui_orders.spec.ts:130:1 › Purchase Orders ─────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_orders.spec.ts:130:1 › Purchase Orders:
src/frontend/tests/pages/pui_orders.spec.ts#L135
1) [chromium] › pages/pui_orders.spec.ts:130:1 › Purchase Orders ─────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('tab', { name: 'Purchase Orders' })
133 | await page.goto(`${baseUrl}/home`);
134 | await page.getByRole('tab', { name: 'Purchasing' }).click();
> 135 | await page.getByRole('tab', { name: 'Purchase Orders' }).click();
| ^
136 |
137 | // Check for expected values
138 | await page.getByRole('cell', { name: 'PO0014' }).waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_orders.spec.ts:135:60
|
[chromium] › pages/pui_scan.spec.ts:45:1 › Pages - Index - Scan (StockLocation):
src/frontend/tests/pages/pui_scan.spec.ts#L1
2) [chromium] › pages/pui_scan.spec.ts:45:1 › Pages - Index - Scan (StockLocation) ───────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_scan.spec.ts:45:1 › Pages - Index - Scan (StockLocation):
src/frontend/tests/pages/pui_scan.spec.ts#L49
2) [chromium] › pages/pui_scan.spec.ts:45:1 › Pages - Index - Scan (StockLocation) ───────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('Storage Room B', { exact: true }) to be visible
47 |
48 | // stocklocation: 3
> 49 | await page.getByText('Storage Room B', { exact: true }).waitFor();
| ^
50 | await page.getByText('Storage Room B (green door)').waitFor();
51 | await page.getByRole('cell', { name: 'stocklocation' }).waitFor();
52 | });
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_scan.spec.ts:49:59
|
[chromium] › pages/pui_scan.spec.ts:45:1 › Pages - Index - Scan (StockLocation):
src/frontend/tests/pages/pui_scan.spec.ts#L1
2) [chromium] › pages/pui_scan.spec.ts:45:1 › Pages - Index - Scan (StockLocation) ───────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_scan.spec.ts:45:1 › Pages - Index - Scan (StockLocation):
src/frontend/tests/pages/pui_scan.spec.ts#L49
2) [chromium] › pages/pui_scan.spec.ts:45:1 › Pages - Index - Scan (StockLocation) ───────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('Storage Room B', { exact: true }) to be visible
47 |
48 | // stocklocation: 3
> 49 | await page.getByText('Storage Room B', { exact: true }).waitFor();
| ^
50 | await page.getByText('Storage Room B (green door)').waitFor();
51 | await page.getByRole('cell', { name: 'stocklocation' }).waitFor();
52 | });
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_scan.spec.ts:49:59
|
[chromium] › pui_forms.spec.ts:7:1 › Forms - Stock Item Validation:
src/frontend/tests/pui_forms.spec.ts#L42
3) [chromium] › pui_forms.spec.ts:7:1 › Forms - Stock Item Validation ────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('option', { name: /Electronics Lab/ }) resolved to 4 elements:
1) <div tabindex="-1" role="option" aria-disabled="false" aria-selected="false" class=" css-11ug2j1-option" id="react-select-7-option-0">…</div> aka getByRole('option', { name: 'Electronics Lab Electronics' })
2) <div tabindex="-1" role="option" aria-disabled="false" aria-selected="false" class=" css-1rs3nso-option" id="react-select-7-option-1">…</div> aka getByRole('option', { name: '- Electronics Lab/Loose Parts' })
3) <div tabindex="-1" role="option" aria-disabled="false" aria-selected="false" class=" css-1rs3nso-option" id="react-select-7-option-2">…</div> aka getByRole('option', { name: '- Electronics Lab/Parts Bins' })
4) <div tabindex="-1" role="option" aria-disabled="false" aria-selected="false" class=" css-1rs3nso-option" id="react-select-7-option-3">…</div> aka getByRole('option', { name: '- Electronics Lab/Reel' })
Call log:
- waiting for getByRole('option', { name: /Electronics Lab/ })
40 | // Set location
41 | await page.getByLabel('related-field-location').click();
> 42 | await page.getByRole('option', { name: /Electronics Lab/ }).click();
| ^
43 |
44 | // Create the stock item
45 | await page.getByLabel('number-field-quantity').fill('123');
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_forms.spec.ts:42:63
|
[chromium] › pui_forms.spec.ts:7:1 › Forms - Stock Item Validation:
src/frontend/tests/pui_forms.spec.ts#L42
3) [chromium] › pui_forms.spec.ts:7:1 › Forms - Stock Item Validation ────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('option', { name: /Electronics Lab/ }) resolved to 4 elements:
1) <div tabindex="-1" role="option" aria-disabled="false" aria-selected="false" class=" css-11ug2j1-option" id="react-select-7-option-0">…</div> aka getByRole('option', { name: 'Electronics Lab Electronics' })
2) <div tabindex="-1" role="option" aria-disabled="false" aria-selected="false" class=" css-1rs3nso-option" id="react-select-7-option-1">…</div> aka getByRole('option', { name: '- Electronics Lab/Loose Parts' })
3) <div tabindex="-1" role="option" aria-disabled="false" aria-selected="false" class=" css-1rs3nso-option" id="react-select-7-option-2">…</div> aka getByRole('option', { name: '- Electronics Lab/Parts Bins' })
4) <div tabindex="-1" role="option" aria-disabled="false" aria-selected="false" class=" css-1rs3nso-option" id="react-select-7-option-3">…</div> aka getByRole('option', { name: '- Electronics Lab/Reel' })
Call log:
- waiting for getByRole('option', { name: /Electronics Lab/ })
40 | // Set location
41 | await page.getByLabel('related-field-location').click();
> 42 | await page.getByRole('option', { name: /Electronics Lab/ }).click();
| ^
43 |
44 | // Create the stock item
45 | await page.getByLabel('number-field-quantity').fill('123');
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_forms.spec.ts:42:63
|
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 - 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/[chromium] › pages/pui_part.spec.ts#L1
src/frontend/[chromium] › pages/pui_part.spec.ts took 1.3m
|
Slow Test:
src/frontend/[firefox] › pages/pui_stock.spec.ts#L1
src/frontend/[firefox] › pages/pui_stock.spec.ts took 42.2s
|
Slow Test:
src/frontend/[chromium] › pages/pui_stock.spec.ts#L1
src/frontend/[chromium] › pages/pui_stock.spec.ts took 35.2s
|
Slow Test:
src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 33.0s
|
Slow Test:
src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 22.7s
|
🎭 Playwright Run Summary
5 failed
[chromium] › pages/pui_orders.spec.ts:130:1 › Purchase Orders ──────────────────────────────────
[chromium] › pages/pui_scan.spec.ts:45:1 › Pages - Index - Scan (StockLocation) ────────────────
[chromium] › pui_forms.spec.ts:7:1 › Forms - Stock Item Validation ─────────────────────────────
[firefox] › pages/pui_scan.spec.ts:45:1 › Pages - Index - Scan (StockLocation) ─────────────────
[firefox] › pui_forms.spec.ts:7:1 › Forms - Stock Item Validation ──────────────────────────────
2 flaky
[chromium] › pui_general.spec.ts:71:1 › Sales ──────────────────────────────────────────────────
[firefox] › pui_printing.spec.ts:11:1 › Label Printing ─────────────────────────────────────────
105 passed (15.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.13 MB |
|
playwright-report
|
30.2 MB |
|