[PUI] Make breadcrumbs adjustable #15616
qc_checks.yaml
on: pull_request
Filter
6s
Build - UI Platform
1m 55s
Style [Documentation]
42s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
5m 0s
Tests - DB [PostgreSQL]
13m 14s
Tests - DB [MySQL]
12m 21s
Tests - Platform UI
25m 33s
Matrix: coverage
Style - Classic UI [JS]
1m 19s
Push new schema
0s
Annotations
11 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
|
[chromium] › pages/pui_build.spec.ts:5:1 › Pages - Build Order:
src/frontend/tests/pages/pui_build.spec.ts#L1
1) [chromium] › pages/pui_build.spec.ts:5:1 › Pages - Build Order ────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_build.spec.ts:5:1 › Pages - Build Order:
src/frontend/tests/pages/pui_build.spec.ts#L33
1) [chromium] › pages/pui_build.spec.ts:5:1 › Pages - Build Order ────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByLabel('breadcrumb-0-manufacturing')
31 |
32 | // Back to the build list
> 33 | await page.getByLabel('breadcrumb-0-manufacturing').click();
| ^
34 |
35 | // Load a different build order
36 | await page.getByRole('cell', { name: 'BO0011' }).click();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_build.spec.ts:33:55
|
[chromium] › pages/pui_build.spec.ts:5:1 › Pages - Build Order:
src/frontend/tests/pages/pui_build.spec.ts#L1
1) [chromium] › pages/pui_build.spec.ts:5:1 › Pages - Build Order ────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_build.spec.ts:5:1 › Pages - Build Order:
src/frontend/tests/pages/pui_build.spec.ts#L33
1) [chromium] › pages/pui_build.spec.ts:5:1 › Pages - Build Order ────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByLabel('breadcrumb-0-manufacturing')
31 |
32 | // Back to the build list
> 33 | await page.getByLabel('breadcrumb-0-manufacturing').click();
| ^
34 |
35 | // Load a different build order
36 | await page.getByRole('cell', { name: 'BO0011' }).click();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_build.spec.ts:33:55
|
[chromium] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders:
src/frontend/tests/pages/pui_sales_order.spec.ts#L1
2) [chromium] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders ─────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders:
src/frontend/tests/baseFixtures.ts#L85
2) [chromium] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders ─────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 44
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/order/so/3/hold/",
+ },
+ "page": EventEmitter {
+ "_events": Object {
+ "bindingCall": [Function anonymous],
+ "close": [Function anonymous],
+ "crash": [Function anonymous],
+ "download": [Function anonymous],
+ "fileChooser": [Function anonymous],
+ "frameAttached": [Function anonymous],
+ "frameDetached": [Function anonymous],
+ "locatorHandlerTriggered": [Function anonymous],
+ "route": [Function anonymous],
+ "video": [Function anonymous],
+ "webSocket": [Function anonymous],
+ "worker": [Function anonymous],
+ },
+ "_eventsCount": 12,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "page@1d84b5916d05929ed893320034ca456b",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "Failed to load resource: the server responded with a status of 500 (Internal Server Error)",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@1d84b5916d05929ed893320034ca456b",
+ "_type": "Page",
+ },
+ },
+ ]
at baseFixtures.ts:85
83 | });
84 | await use(page);
> 85 | expect(messages).toEqual([]);
| ^
86 | }
87 | });
88 |
at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:85:22)
|
[chromium] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders:
src/frontend/tests/pages/pui_sales_order.spec.ts#L41
2) [chromium] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders ─────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Issue Order' }) to be visible
39 |
40 | await page.getByText('On Hold').first().waitFor();
> 41 | await page.getByRole('button', { name: 'Issue Order' }).waitFor();
| ^
42 | });
43 |
44 | test('Sales Orders - Shipments', async ({ page }) => {
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_sales_order.spec.ts:41:59
|
[chromium] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders:
src/frontend/tests/pages/pui_sales_order.spec.ts#L1
2) [chromium] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders ─────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders:
src/frontend/tests/pages/pui_sales_order.spec.ts#L15
2) [chromium] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders ─────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('On Hold').first() to be visible
13 | await page.getByRole('tab', { name: 'Sales Orders' }).waitFor();
14 | await page.getByText('In Progress').first().waitFor();
> 15 | await page.getByText('On Hold').first().waitFor();
| ^
16 |
17 | // Navigate to a particular sales order
18 | await page.getByRole('cell', { name: 'SO0003' }).click();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_sales_order.spec.ts:15:43
|
[chromium] › pui_settings.spec.ts:164:1 › Settings - Admin - Unauthorized:
src/frontend/tests/baseFixtures.ts#L85
3) [chromium] › pui_settings.spec.ts:164:1 › Settings - Admin - Unauthorized ─────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 582
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@900e94cadf6755029795782b28dd5e40",
+ "_type": "JSHandle",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ ],
+ "location": Object {
+ "columnNumber": 6,
+ "lineNumber": 2599,
+ "url": "http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=6253db06",
+ },
+ "page": EventEmitter {
+ "_events": Object {
+ "bindingCall": [Function anonymous],
+ "close": [Function anonymous],
+ "crash": [Function anonymous],
+ "download": [Function anonymous],
+ "fileChooser": [Function anonymous],
+ "frameAttached": [Function anonymous],
+ "frameDetached": [Function anonymous],
+ "locatorHandlerTriggered": [Function anonymous],
+ "route": [Function anonymous],
+ "video": [Function anonymous],
+ "webSocket": [Function anonymous],
+ "worker": [Function anonymous],
+ },
+ "_eventsCount": 12,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "page@79624978c93378d91a8043a0f031fd21",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "Setting ENABLE_LAST_BREADCRUMB not found",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@79624978c93378d91a8043a0f031fd21",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@db98afb096edc291341ed59afac8a312",
+ "_type": "JSHandle",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ ],
+ "location": Object {
+ "columnNumber": 6,
+ "lineNumber": 2599,
+ "url": "http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=6253db06",
+ },
+ "page": EventEmitter {
+ "_events": Object {
+ "bindingCall": [Function anonymous],
+ "close": [Function anonymous],
+ "crash": [Function anonymous],
+ "download": [Function anonymous],
+ "fileChooser": [Function anonymous],
+ "frameAttached": [Function anonymous],
+ "frameDetached": [Function anonymous],
+ "locatorHandlerTriggered": [Function anonymous],
+ "route": [Function anonymous],
+ "video": [Function anonymous],
+ "webSocket": [Function anonymous],
+ "worker": [Function anonym
|
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 - inventree-python
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 2.0m
|
Slow Test:
src/frontend/[firefox] › pages/pui_stock.spec.ts#L1
src/frontend/[firefox] › pages/pui_stock.spec.ts took 48.4s
|
Slow Test:
src/frontend/[firefox] › pages/pui_scan.spec.ts#L1
src/frontend/[firefox] › pages/pui_scan.spec.ts took 46.7s
|
Slow Test:
src/frontend/[chromium] › pages/pui_stock.spec.ts#L1
src/frontend/[chromium] › pages/pui_stock.spec.ts took 37.0s
|
Slow Test:
src/frontend/[firefox] › pui_tables.spec.ts#L1
src/frontend/[firefox] › pui_tables.spec.ts took 34.5s
|
🎭 Playwright Run Summary
6 failed
[chromium] › pages/pui_build.spec.ts:5:1 › Pages - Build Order ─────────────────────────────────
[chromium] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders ──────────────────────────────────
[chromium] › pui_settings.spec.ts:164:1 › Settings - Admin - Unauthorized ──────────────────────
[firefox] › pages/pui_build.spec.ts:5:1 › Pages - Build Order ──────────────────────────────────
[firefox] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders ───────────────────────────────────
[firefox] › pui_settings.spec.ts:164:1 › Settings - Admin - Unauthorized ───────────────────────
4 flaky
[firefox] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ──────────────────────────────────────────
[firefox] › pui_printing.spec.ts:11:1 › Label Printing ─────────────────────────────────────────
[firefox] › pui_printing.spec.ts:55:1 › Report Printing ────────────────────────────────────────
[firefox] › pui_settings.spec.ts:127:1 › Settings - Admin - Barcode History ────────────────────
112 passed (19.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.17 MB |
|
playwright-report
Expired
|
72.6 MB |
|
schema.yml
|
63.5 KB |
|