Skip to content

Merge branch 'fix-promise' of https://github.com/matmair/InvenTree in… #4848

Merge branch 'fix-promise' of https://github.com/matmair/InvenTree in…

Merge branch 'fix-promise' of https://github.com/matmair/InvenTree in… #4848

Triggered via push November 14, 2024 07:27
Status Success
Total duration 22m 25s
Artifacts 2

qc_checks.yaml

on: push
Build - UI Platform
1m 59s
Build - UI Platform
Style [pre-commit]
26s
Style [pre-commit]
Tests - API Schema Documentation
4m 20s
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 4s
Tests - inventree-python
Tests - DB [PostgreSQL]
13m 26s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
12m 51s
Tests - DB [MySQL]
Tests - Platform UI
21m 29s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 31s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
[chromium] › pages/pui_part.spec.ts:8:1 › Parts - Tabs: src/frontend/tests/pages/pui_part.spec.ts#L1
1) [chromium] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ──────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pages/pui_part.spec.ts:8:1 › Parts - Tabs: src/frontend/tests/pages/pui_part.spec.ts#L14
1) [chromium] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ──────────────────────────────────────── Error: page.waitForURL: Test timeout of 90000ms exceeded. =========================== logs =========================== waiting for navigation to "**/platform/part/category/index/details" until "load" navigated to "http://localhost:5173/platform/home" ============================================================ 12 | await page.getByRole('tab', { name: 'Parts' }).click(); 13 | > 14 | await page.waitForURL('**/platform/part/category/index/details'); | ^ 15 | await page.goto(`${baseUrl}/part/category/index/parts`); 16 | await page.getByText('1551ABK').click(); 17 | await page.getByRole('tab', { name: 'Allocations' }).click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:14:14
[chromium] › pui_printing.spec.ts:55:1 › Report Printing: src/frontend/tests/pui_printing.spec.ts#L1
2) [chromium] › pui_printing.spec.ts:55:1 › Report Printing ────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_printing.spec.ts:55:1 › Report Printing: src/frontend/tests/pui_printing.spec.ts#L62
2) [chromium] › pui_printing.spec.ts:55:1 › Report Printing ────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'Purchasing' }) 60 | 61 | // Navigate to a specific PurchaseOrder > 62 | await page.getByRole('tab', { name: 'Purchasing' }).click(); | ^ 63 | await page.getByRole('cell', { name: 'PO0009' }).click(); 64 | 65 | // Select "print report" at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_printing.spec.ts:62:55
[firefox] › pages/pui_part.spec.ts:99:1 › Parts - Allocations: src/frontend/tests/pages/pui_part.spec.ts#L1
3) [firefox] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ───────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pages/pui_part.spec.ts:99:1 › Parts - Allocations: src/frontend/tests/pages/pui_part.spec.ts#L124
3) [firefox] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ───────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText('BO0001') to be visible 122 | 123 | // Expected order reference values > 124 | await page.getByText('BO0001').waitFor(); | ^ 125 | await page.getByText('BO0016').waitFor(); 126 | await page.getByText('BO0019').waitFor(); 127 | await page.getByText('SO0008').waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:124:34
[firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin: src/frontend/tests/pui_plugins.spec.ts#L1
4) [firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ───────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin: src/frontend/tests/pui_plugins.spec.ts#L82
4) [firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ───────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Plugin Information' }) 80 | // Open the plugin drawer, and ensure that the custom admin elements are visible 81 | await page.getByText('SampleUI').click(); > 82 | await page.getByRole('button', { name: 'Plugin Information' }).click(); | ^ 83 | await page 84 | .getByLabel('Plugin Detail') 85 | .getByRole('button', { name: 'Plugin Settings' }) at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_plugins.spec.ts:82:66
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] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 33.4s
Slow Test: src/frontend/[firefox] › pages/pui_purchase_order.spec.ts#L1
src/frontend/[firefox] › pages/pui_purchase_order.spec.ts took 31.8s
Slow Test: src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 26.0s
Slow Test: src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 24.6s
Slow Test: src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 22.6s
🎭 Playwright Run Summary
4 flaky [chromium] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ───────────────────────────────────────── [chromium] › pui_printing.spec.ts:55:1 › Report Printing ─────────────────────────────────────── [firefox] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ────────────────────────────────── [firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ────────────────────────────────── 120 passed (14.6m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.17 MB
schema.yml
63.5 KB