Skip to content

[PUI] Updates for AdminButton (#8434) #15500

[PUI] Updates for AdminButton (#8434)

[PUI] Updates for AdminButton (#8434) #15500

Triggered via push November 5, 2024 22:27
Status Success
Total duration 20m 59s
Artifacts 2

qc_checks.yaml

on: push
Build - UI Platform
2m 5s
Build - UI Platform
Style [pre-commit]
45s
Style [pre-commit]
Tests - API Schema Documentation
4m 11s
Tests - API Schema Documentation
Style [Documentation]
29s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 19s
Tests - inventree-python
Tests - DB [PostgreSQL]
13m 39s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
13m 4s
Tests - DB [MySQL]
Tests - Platform UI
19m 46s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 25s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 6 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
[firefox] › pages/pui_scan.spec.ts:54:1 › Pages - Index - Scan (SupplierPart): src/frontend/tests/pages/pui_scan.spec.ts#L1
1) [firefox] › pages/pui_scan.spec.ts:54:1 › Pages - Index - Scan (SupplierPart) ───────────────── Test timeout of 90000ms exceeded.
[firefox] › pages/pui_scan.spec.ts:54:1 › Pages - Index - Scan (SupplierPart): src/frontend/tests/baseFixtures.ts#L85
1) [firefox] › pages/pui_scan.spec.ts:54:1 › Pages - Index - Scan (SupplierPart) ───────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 60 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@02d5e6f809762b1008ad0ee64ccbf350", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 1, + "lineNumber": 0, + "url": "http://localhost:5173/platform/scan", + }, + "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@6e8771b88413c3d00f986122618ad54e", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/enums/ModelType.tsx” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/scan\" line: 0}]", + "type": "error", + }, + "_page": Object { + "_guid": "page@6e8771b88413c3d00f986122618ad54e", + "_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)
[firefox] › pages/pui_scan.spec.ts:54:1 › Pages - Index - Scan (SupplierPart): src/frontend/tests/pages/pui_scan.spec.ts#L9
1) [firefox] › pages/pui_scan.spec.ts:54:1 › Pages - Index - Scan (SupplierPart) ───────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByPlaceholder('Select input method') 7 | 8 | await page.goto(`${baseUrl}/scan`); > 9 | await page.getByPlaceholder('Select input method').click(); | ^ 10 | await page.getByRole('option', { name: 'Manual input' }).click(); 11 | await page.getByPlaceholder('Enter item serial or data').click(); 12 | at defaultScanTest (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_scan.spec.ts:9:54) at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_scan.spec.ts:55:3
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/[firefox] › pages/pui_stock.spec.ts#L1
src/frontend/[firefox] › pages/pui_stock.spec.ts took 41.6s
Slow Test: src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 18.9s
🎭 Playwright Run Summary
1 flaky [firefox] › pages/pui_scan.spec.ts:54:1 › Pages - Index - Scan (SupplierPart) ────────────────── 121 passed (13.0m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.16 MB
schema.yml
62.6 KB