[PUI] Notification fix #15491
qc_checks.yaml
on: pull_request
Filter
8s
Build - UI Platform
1m 57s
Style [Documentation]
36s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
0s
Tests - DB [PostgreSQL]
0s
Tests - DB [MySQL]
0s
Tests - Platform UI
19m 27s
Matrix: coverage
Style - Classic UI [JS]
1m 31s
Push new schema
0s
Annotations
7 errors, 8 warnings, and 1 notice
[firefox] › pui_basic.spec.ts:5:1 › Basic Login Test:
src/frontend/tests/baseFixtures.ts#L85
1) [firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ──────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 256
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@f9759c9e6477fafd63c4fb2fefbc53d9",
+ "_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=57d36bd9",
+ },
+ "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@4f2936a27e9d6b1aa7444a1bb96edf9c",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "The above error occurred in one of your React components:
+
+ Lazy
+ Suspense
+ RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=74664aa5:4095:7
+ Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=74664aa5:4467:20
+ _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=76c78ad9:22660:5
+ Boundary@http://localhost:5173/src/components/Boundary.tsx:999:25
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=57d36bd9:3819:3
+ Container<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=57d36bd9:15473:25
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=57d36bd9:3819:3
+ Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=57d36bd9:10002:25
+ ProtectedRoute@http://localhost:5173/src/components/nav/Layout.tsx:1341:31
+ LayoutComponent@http://localhost:5173/src/components/nav/Layout.tsx:1386:47
+ Suspense
+ RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=74664aa5:4095:7
+ Routes@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=74664aa5:4533:7
+ Router@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=74664aa5:4481:7
+ BrowserRouter@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=74664aa5:5223:7
+ QueryClientProvider@http://localhost:5173/node_modules/.vite/deps/@tanstack_react-query.js?v=d5be444b:2725:27
+ ModalsProvider@http://localhost:5173/node_modules/.vite/deps/@mantine_modals.js?v=3f5e2d68:184:24
+ I18nProvider@http://localhost:5173/node_modules/.vite/deps/@lingui_react.js?v=0a723b40:159:20
+ LanguageContext@http://localhos
|
[firefox] › pui_basic.spec.ts:5:1 › Basic Login Test:
src/frontend/tests/baseFixtures.ts#L85
1) [firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ──────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 256
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@fd61e3892d96b1c2fd8a7bf24da2d8df",
+ "_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=57d36bd9",
+ },
+ "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@7abd0646b2705f095b6166c6d342365b",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "The above error occurred in one of your React components:
+
+ Lazy
+ Suspense
+ RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=74664aa5:4095:7
+ Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=74664aa5:4467:20
+ _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=76c78ad9:22660:5
+ Boundary@http://localhost:5173/src/components/Boundary.tsx:999:25
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=57d36bd9:3819:3
+ Container<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=57d36bd9:15473:25
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=57d36bd9:3819:3
+ Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=57d36bd9:10002:25
+ ProtectedRoute@http://localhost:5173/src/components/nav/Layout.tsx:1341:31
+ LayoutComponent@http://localhost:5173/src/components/nav/Layout.tsx:1386:47
+ Suspense
+ RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=74664aa5:4095:7
+ Routes@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=74664aa5:4533:7
+ Router@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=74664aa5:4481:7
+ BrowserRouter@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=74664aa5:5223:7
+ QueryClientProvider@http://localhost:5173/node_modules/.vite/deps/@tanstack_react-query.js?v=d5be444b:2725:27
+ ModalsProvider@http://localhost:5173/node_modules/.vite/deps/@mantine_modals.js?v=3f5e2d68:184:24
+ I18nProvider@http://localhost
|
[chromium] › pages/pui_part.spec.ts:358:1 › Parts - Revision:
src/frontend/tests/pages/pui_part.spec.ts#L1
2) [chromium] › pages/pui_part.spec.ts:358:1 › Parts - Revision ──────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_part.spec.ts:358:1 › Parts - Revision:
src/frontend/tests/login.ts#L37
2) [chromium] › pages/pui_part.spec.ts:358:1 › Parts - Revision ──────────────────────────────────
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:359:3
|
[firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys:
src/frontend/tests/pui_command.spec.ts#L1
3) [firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys ────────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys:
src/frontend/tests/login.ts#L37
3) [firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys ────────────────────────────────
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/pui_command.spec.ts:17:3
|
Tests - Platform UI
Process completed with exit code 1.
|
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 34.0s
|
Slow Test:
src/frontend/[chromium] › pages/pui_sales_order.spec.ts#L1
src/frontend/[chromium] › pages/pui_sales_order.spec.ts took 30.5s
|
Slow Test:
src/frontend/[firefox] › pui_general.spec.ts#L1
src/frontend/[firefox] › pui_general.spec.ts took 29.1s
|
Slow Test:
src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 25.8s
|
Slow Test:
src/frontend/[firefox] › pui_forms.spec.ts#L1
src/frontend/[firefox] › pui_forms.spec.ts took 22.5s
|
🎭 Playwright Run Summary
1 failed
[firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ───────────────────────────────────────────
2 flaky
[chromium] › pages/pui_part.spec.ts:358:1 › Parts - Revision ───────────────────────────────────
[firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys ─────────────────────────────────
117 passed (13.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.16 MB |
|
playwright-report
|
8.33 MB |
|