Skip to content

Table date filters #15139

Table date filters

Table date filters #15139

Re-run triggered October 16, 2024 08:53
Status Success
Total duration 20m 53s
Artifacts 3

qc_checks.yaml

on: pull_request
Style [pre-commit]
47s
Style [pre-commit]
Tests - API Schema Documentation
0s
Tests - API Schema Documentation
Style [Documentation]
47s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
0s
Tests - inventree-python
Tests - DB [PostgreSQL]
0s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
0s
Tests - DB [MySQL]
Tests - Platform UI
20m 41s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 18s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 8 warnings, and 1 notice
[chromium] › pages/pui_part.spec.ts:255:1 › Pages - Part - Revision: src/frontend/tests/pages/pui_part.spec.ts#L1
1) [chromium] › pages/pui_part.spec.ts:255:1 › Pages - Part - Revision ─────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pages/pui_part.spec.ts:255:1 › Pages - Part - Revision: src/frontend/tests/login.ts#L38
1) [chromium] › pages/pui_part.spec.ts:255:1 › Pages - Part - Revision ─────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('heading', { name: 'Welcome to your Dashboard,' }) to be visible at login.ts:38 36 | await page 37 | .getByRole('heading', { name: 'Welcome to your Dashboard,' }) > 38 | .waitFor(); | ^ 39 | }; 40 | 41 | export const doLogout = async (page) => { at doQuickLogin (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/login.ts:38:6) at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:256:3
[chromium] › pui_general.spec.ts:71:1 › Sales: src/frontend/tests/pui_general.spec.ts#L1
2) [chromium] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_general.spec.ts:71:1 › Sales: src/frontend/tests/baseFixtures.ts#L85
2) [chromium] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────── 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/company/30/", + }, + "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@6979e09bf8b925a72704d7dbeeef61ad", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "Failed to load resource: the server responded with a status of 401 (Unauthorized)", + "type": "error", + }, + "_page": Object { + "_guid": "page@6979e09bf8b925a72704d7dbeeef61ad", + "_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] › pui_general.spec.ts:71:1 › Sales: src/frontend/tests/pui_general.spec.ts#L114
2) [chromium] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'Return Orders' }) 112 | // Return Order Details 113 | await page.getByRole('link', { name: 'Customer A' }).click(); > 114 | await page.getByRole('tab', { name: 'Return Orders' }).click(); | ^ 115 | await page.getByRole('cell', { name: 'RMA-' }).click(); 116 | await page.getByText('RMA-0001', { exact: true }).waitFor(); 117 | await page.getByRole('tab', { name: 'Line Items' }).click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:114:58
[firefox] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers: src/frontend/tests/pages/pui_stock.spec.ts#L1
3) [firefox] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ───────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers: src/frontend/tests/baseFixtures.ts#L85
3) [firefox] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ───────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 146 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@f1f4f801072fbd7671244a325bbdd066", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 19, + "lineNumber": 2599, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=55e3e71f", + }, + "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@0b960657da1914f1d6bbed0f394567e7", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "Warning: Cannot update a component (`@mantine/notifications/Notifications`) while rendering a different component (`OptionsApiForm`). To locate the bad setState() call inside `OptionsApiForm`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render + OptionsApiForm@http://localhost:5173/src/components/forms/ApiForm.tsx:6815:31 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=55e3e71f:3819:3 + Stack<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=55e3e71f:24167:25 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=55e3e71f:3819:3 + ModalBaseBody<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=55e3e71f:9147:3 + ModalBody<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=55e3e71f:17709:25 + NativeScrollArea@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=55e3e71f:9321:26 + section + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=55e3e71f:3819:3 + Paper<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=55e3e71f:5118:25 + FocusTrap@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=55e3e71f:7676:19 + div + Transition@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=55e3e71f:7988:20 + ModalBaseContent<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=55e3e71f:9190:3 + ModalContent<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=55e3e71f:17749:25 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=55e3e71f:3819:3 + div + RemoveScroll<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=55e3e71f:30
[firefox] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers: src/frontend/tests/pages/pui_stock.spec.ts#L77
3) [firefox] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ───────────────────────────── Error: locator.fill: Test timeout of 90000ms exceeded. Call log: - waiting for getByLabel('text-field-serial_numbers') 75 | 76 | // Initially fill with invalid serial/quantity combinations > 77 | await page.getByLabel('text-field-serial_numbers').fill('200-250'); | ^ 78 | await page.getByLabel('number-field-quantity').fill('10'); 79 | 80 | await page.getByRole('button', { name: 'Submit' }).click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_stock.spec.ts:77:54
[firefox] › pui_printing.spec.ts:11:1 › Label Printing: src/frontend/tests/pui_printing.spec.ts#L1
4) [firefox] › pui_printing.spec.ts:11:1 › Label Printing ──────────────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pui_printing.spec.ts:11:1 › Label Printing: src/frontend/tests/pui_printing.spec.ts#L20
4) [firefox] › pui_printing.spec.ts:11:1 › Label Printing ──────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByLabel('Select record 1', { exact: true }) 18 | 19 | // Select some labels > 20 | await page.getByLabel('Select record 1', { exact: true }).click(); | ^ 21 | await page.getByLabel('Select record 2', { exact: true }).click(); 22 | await page.getByLabel('Select record 3', { exact: true }).click(); 23 | at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_printing.spec.ts:20:61
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 - 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_scan.spec.ts#L1
src/frontend/[chromium] › pages/pui_scan.spec.ts took 38.8s
Slow Test: src/frontend/[firefox] › pui_tables.spec.ts#L1
src/frontend/[firefox] › pui_tables.spec.ts took 37.7s
Slow Test: src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 34.2s
Slow Test: src/frontend/[firefox] › pui_plugins.spec.ts#L1
src/frontend/[firefox] › pui_plugins.spec.ts took 31.9s
Slow Test: src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 30.3s
🎭 Playwright Run Summary
4 flaky [chromium] › pages/pui_part.spec.ts:255:1 › Pages - Part - Revision ──────────────────────────── [chromium] › pui_general.spec.ts:71:1 › Sales ────────────────────────────────────────────────── [firefox] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ────────────────────────────── [firefox] › pui_printing.spec.ts:11:1 › Label Printing ───────────────────────────────────────── 106 passed (13.8m)