Forms refactor #16683
qc_checks.yaml
on: pull_request
Filter
7s
Build - UI Platform
2m 0s
Style [Documentation]
26s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
0s
Tests - DB [PostgreSQL]
0s
Tests - DB [MySQL]
0s
Tests - Platform UI
24m 7s
Security [Zizmor]
0s
Matrix: coverage
Push new schema
0s
Annotations
10 errors, 5 warnings, and 1 notice
[chromium] › pages/pui_dashboard.spec.ts:5:1 › Dashboard - Basic:
src/frontend/tests/baseFixtures.ts#L86
1) [chromium] › pages/pui_dashboard.spec.ts:5:1 › Dashboard - Basic ──────────────────────────────
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/auth/providers/",
+ },
+ "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@39e129ed7c06a5cbaaf7efed7539ed12",
+ "_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@39e129ed7c06a5cbaaf7efed7539ed12",
+ "_type": "Page",
+ },
+ },
+ ]
at baseFixtures.ts:86
84 | });
85 | await use(page);
> 86 | expect(messages).toEqual([]);
| ^
87 | }
88 | });
89 |
at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:86:22)
|
[chromium] › pages/pui_part.spec.ts:61:1 › Parts - Supplier Parts:
src/frontend/tests/pages/pui_part.spec.ts#L1
2) [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
2) [chromium] › pages/pui_part.spec.ts:61:1 › Parts - Supplier Parts ─────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByLabel('navigation-menu') to be visible
at login.ts:37
35 | await page.waitForURL('**/platform/home');
36 |
> 37 | await page.getByLabel('navigation-menu').waitFor();
| ^
38 | await page.getByText(/InvenTree Demo Server -/).waitFor();
39 | };
40 |
at doQuickLogin (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/login.ts:37:44)
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:62:3
|
[chromium] › pages/pui_sales_order.spec.ts:57:1 › Sales Orders - Basic Tests:
src/frontend/tests/pages/pui_sales_order.spec.ts#L1
3) [chromium] › pages/pui_sales_order.spec.ts:57:1 › Sales Orders - Basic Tests ──────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_sales_order.spec.ts:57:1 › Sales Orders - Basic Tests:
src/frontend/tests/pages/pui_sales_order.spec.ts#L62
3) [chromium] › pages/pui_sales_order.spec.ts:57:1 › Sales Orders - Basic Tests ──────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('tab', { name: 'Sales Orders' })
60 | await page.goto(`${baseUrl}/home`);
61 | await page.getByRole('tab', { name: 'Sales' }).click();
> 62 | await page.getByRole('tab', { name: 'Sales Orders' }).click();
| ^
63 |
64 | // Check for expected text in the table
65 | await page.getByRole('tab', { name: 'Sales Orders' }).waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_sales_order.spec.ts:62:57
|
[chromium] › pages/pui_sales_order.spec.ts:57:1 › Sales Orders - Basic Tests:
src/frontend/tests/pages/pui_sales_order.spec.ts#L1
3) [chromium] › pages/pui_sales_order.spec.ts:57:1 › Sales Orders - Basic Tests ──────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_sales_order.spec.ts:57:1 › Sales Orders - Basic Tests:
src/frontend/tests/baseFixtures.ts#L86
3) [chromium] › pages/pui_sales_order.spec.ts:57:1 › Sales Orders - Basic Tests ──────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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/issue/",
+ },
+ "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@7a7f208bbc47fcbf2e99fb776ffe3087",
+ "_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@7a7f208bbc47fcbf2e99fb776ffe3087",
+ "_type": "Page",
+ },
+ },
+ ]
at baseFixtures.ts:86
84 | });
85 | await use(page);
> 86 | expect(messages).toEqual([]);
| ^
87 | }
88 | });
89 |
at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:86:22)
|
[chromium] › pages/pui_sales_order.spec.ts:57:1 › Sales Orders - Basic Tests:
src/frontend/tests/pages/pui_sales_order.spec.ts#L83
3) [chromium] › pages/pui_sales_order.spec.ts:57:1 › Sales Orders - Basic Tests ──────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('In Progress').first() to be visible
81 |
82 | // Order should now be "in progress"
> 83 | await page.getByText('In Progress').first().waitFor();
| ^
84 | await page.getByRole('button', { name: 'Ship Order' }).waitFor();
85 |
86 | await page.getByLabel('action-menu-order-actions').click();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_sales_order.spec.ts:83:47
|
[chromium] › pui_settings.spec.ts:127:1 › Settings - Admin - Barcode History:
src/frontend/tests/pui_settings.spec.ts#L160
4) [chromium] › pui_settings.spec.ts:127:1 › Settings - Admin - Barcode History ──────────────────
Error: locator.waitFor: Test ended.
Call log:
- waiting for getByText('ABC1234').first() to be visible
158 | // Barcode history is displayed in table
159 | barcodes.forEach(async (barcode) => {
> 160 | await page.getByText(barcode).first().waitFor();
| ^
161 | });
162 | });
163 |
at forEach (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_settings.spec.ts:160:43)
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_settings.spec.ts:159:12
|
[chromium] › settings/selectionList.spec.ts:5:1 › PUI - Admin - Parameter:
src/frontend/tests/settings/selectionList.spec.ts#L1
5) [chromium] › settings/selectionList.spec.ts:5:1 › PUI - Admin - Parameter ─────────────────────
Test timeout of 90000ms exceeded.
|
Filter
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Slow Test:
src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 23.8s
|
Slow Test:
src/frontend/[firefox] › pui_command.spec.ts#L1
src/frontend/[firefox] › pui_command.spec.ts took 22.8s
|
Slow Test:
src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 16.6s
|
Slow Test:
src/frontend/[chromium] › pui_command.spec.ts#L1
src/frontend/[chromium] › pui_command.spec.ts took 15.6s
|
🎭 Playwright Run Summary
9 flaky
[chromium] › pages/pui_dashboard.spec.ts:5:1 › Dashboard - Basic ───────────────────────────────
[chromium] › pages/pui_part.spec.ts:61:1 › Parts - Supplier Parts ──────────────────────────────
[chromium] › pages/pui_sales_order.spec.ts:57:1 › Sales Orders - Basic Tests ───────────────────
[chromium] › pui_settings.spec.ts:127:1 › Settings - Admin - Barcode History ───────────────────
[chromium] › settings/selectionList.spec.ts:5:1 › PUI - Admin - Parameter ──────────────────────
[firefox] › pages/pui_part.spec.ts:167:1 › Parts - Pricing (Nothing, BOM) ──────────────────────
[firefox] › pui_forms.spec.ts:78:1 › Forms - Supplier Validation ───────────────────────────────
[firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ──────────────────────────────────
[firefox] › settings/selectionList.spec.ts:5:1 › PUI - Admin - Parameter ───────────────────────
129 passed (17.0m)
|