Skip to content

[PUI] Updates for AdminButton #15499

[PUI] Updates for AdminButton

[PUI] Updates for AdminButton #15499

Triggered via pull request November 5, 2024 21:45
Status Success
Total duration 22m 28s
Artifacts 2

qc_checks.yaml

on: pull_request
Build - UI Platform
1m 55s
Build - UI Platform
Style [pre-commit]
40s
Style [pre-commit]
Tests - API Schema Documentation
4m 10s
Tests - API Schema Documentation
Style [Documentation]
32s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 9s
Tests - inventree-python
Tests - DB [PostgreSQL]
12m 17s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
12m 50s
Tests - DB [MySQL]
Tests - Platform UI
21m 18s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 23s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
[chromium] › pages/pui_part.spec.ts:61:1 › Parts - Supplier Parts: src/frontend/tests/pages/pui_part.spec.ts#L1
1) [chromium] › pages/pui_part.spec.ts:61:1 › Parts - Supplier Parts ───────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pages/pui_part.spec.ts:61:1 › Parts - Supplier Parts: src/frontend/tests/login.ts#L37
1) [chromium] › pages/pui_part.spec.ts:61:1 › Parts - Supplier Parts ───────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText(/InvenTree Demo Server/) to be visible at login.ts:37 35 | await page.waitForURL('**/platform/home'); 36 | > 37 | await page.getByText(/InvenTree Demo Server/).waitFor(); | ^ 38 | }; 39 | 40 | export const doLogout = async (page) => { at doQuickLogin (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/login.ts:37:49) at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:62:3
[firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs: src/frontend/tests/pages/pui_build.spec.ts#L1
2) [firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs ──────────────── Test timeout of 90000ms exceeded.
[firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs: src/frontend/tests/pages/pui_build.spec.ts#L135
2) [firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs ──────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('cell', { name: '# 1' }).first() to be visible 133 | .getByRole('cell', { name: `# ${sn}` }) 134 | .first() > 135 | .waitFor(); | ^ 136 | await page 137 | .getByRole('cell', { name: `# ${sn + 1}` }) 138 | .first() at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_build.spec.ts:135:6
[firefox] › pages/pui_part.spec.ts:299:1 › Parts - Parameters: src/frontend/tests/pages/pui_part.spec.ts#L1
3) [firefox] › pages/pui_part.spec.ts:299:1 › Parts - Parameters ───────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pages/pui_part.spec.ts:299:1 › Parts - Parameters: src/frontend/tests/pages/pui_part.spec.ts#L310
3) [firefox] › pages/pui_part.spec.ts:299:1 › Parts - Parameters ───────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByLabel('choice-field-data') 308 | await page.getByLabel('related-field-template').fill('Color'); 309 | await page.getByRole('option', { name: 'Color Part color' }).click(); > 310 | await page.getByLabel('choice-field-data').click(); | ^ 311 | await page.getByRole('option', { name: 'Green' }).click(); 312 | 313 | // Select the "polarized" parameter template (should create a "checkbox" field) at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:310:46
[firefox] › pages/pui_scan.spec.ts:90:1 › Pages - Index - Scan (General): src/frontend/tests/pages/pui_scan.spec.ts#L1
4) [firefox] › pages/pui_scan.spec.ts:90:1 › Pages - Index - Scan (General) ────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pages/pui_scan.spec.ts:90:1 › Pages - Index - Scan (General): src/frontend/tests/baseFixtures.ts#L85
4) [firefox] › pages/pui_scan.spec.ts:90:1 › Pages - Index - Scan (General) ────────────────────── 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@da7acbf89a6becef3d53ef4836462fc1", + "_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@7486b16d2539702dae41c07aa4ca1de6", + "_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@7486b16d2539702dae41c07aa4ca1de6", + "_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:90:1 › Pages - Index - Scan (General): src/frontend/tests/pages/pui_scan.spec.ts#L9
4) [firefox] › pages/pui_scan.spec.ts:90:1 › Pages - Index - Scan (General) ────────────────────── 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:91:3
[firefox] › pui_printing.spec.ts:11:1 › Label Printing: src/frontend/tests/pui_printing.spec.ts#L1
5) [firefox] › pui_printing.spec.ts:11:1 › Label Printing ──────────────────────────────────────── Test timeout of 90000ms exceeded.
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 42.4s
Slow Test: src/frontend/[firefox] › pages/pui_sales_order.spec.ts#L1
src/frontend/[firefox] › pages/pui_sales_order.spec.ts took 36.3s
Slow Test: src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 33.7s
Slow Test: src/frontend/[firefox] › pui_tables.spec.ts#L1
src/frontend/[firefox] › pui_tables.spec.ts took 33.2s
Slow Test: src/frontend/[firefox] › pui_forms.spec.ts#L1
src/frontend/[firefox] › pui_forms.spec.ts took 21.8s
🎭 Playwright Run Summary
5 flaky [chromium] › pages/pui_part.spec.ts:61:1 › Parts - Supplier Parts ────────────────────────────── [firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs ───────────────── [firefox] › pages/pui_part.spec.ts:299:1 › Parts - Parameters ────────────────────────────────── [firefox] › pages/pui_scan.spec.ts:90:1 › Pages - Index - Scan (General) ─────────────────────── [firefox] › pui_printing.spec.ts:11:1 › Label Printing ───────────────────────────────────────── 117 passed (14.6m)

Artifacts

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