Skip to content

[PUI] Fix line-break for "details" field #13302

[PUI] Fix line-break for "details" field

[PUI] Fix line-break for "details" field #13302

Triggered via pull request July 11, 2024 01:43
Status Success
Total duration 16m 57s
Artifacts 1

qc_checks.yaml

on: pull_request
Build - UI Platform
1m 48s
Build - UI Platform
Style [pre-commit]
34s
Style [pre-commit]
Tests - API Schema Documentation
0s
Tests - API Schema Documentation
Style [Documentation]
31s
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
15m 52s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 22s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 8 warnings, and 1 notice
[chromium] › pui_general.spec.ts:178:1 › PUI - Company: src/frontend/tests/baseFixtures.ts#L78
1) [chromium] › pui_general.spec.ts:178:1 › PUI - Company ──────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 41 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/user/roles/", + }, + "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@b6a3d81ccd145903c42581fffdc6248c", + "_type": "Page", + }, + Symbol(kCapture): false, + }, + "text": "Failed to load resource: the server responded with a status of 401 (Unauthorized)", + "type": "error", + }, + "_page": Object { + "_guid": "page@b6a3d81ccd145903c42581fffdc6248c", + "_type": "Page", + }, + }, + ] at baseFixtures.ts:78 76 | }); 77 | await use(page); > 78 | expect(messages).toEqual([]); | ^ 79 | } 80 | }); 81 | at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:78:22)
[firefox] › pui_general.spec.ts:45:1 › PUI - Parts - Manufacturer Parts: src/frontend/tests/baseFixtures.ts#L78
2) [firefox] › pui_general.spec.ts:45:1 › PUI - Parts - Manufacturer Parts ─────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 265 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@23ac06d47e658037369b9e5ac80c4cd2", + "_type": "JSHandle", + }, + Symbol(kCapture): false, + }, + ], + "location": Object { + "columnNumber": 19, + "lineNumber": 2214, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-AGKALZCE.js?v=e04bf600", + }, + "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@469d57496a23cbed7c41628dc9f73064", + "_type": "Page", + }, + Symbol(kCapture): false, + }, + "text": "The above error occurred in one of your React components: + + Lazy + Suspense + LoadingItem@http://localhost:5173/src/functions/loading.tsx:994:28 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-AGKALZCE.js?v=e04bf600:3434:3 + Container<@http://localhost:5173/node_modules/.vite/deps/chunk-AGKALZCE.js?v=e04bf600:14767:25 + Resizable2@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=9c1af482:2527:39 + DraggableCore@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=9c1af482:1481:9 + GridItem@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=9c1af482:3059:9 + div + ReactGridLayout@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=9c1af482:3591:9 + ResponsiveReactGridLayout@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=9c1af482:4320:9 + WidthProvider@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=9c1af482:5074:11 + div + WidgetLayout@http://localhost:5173/src/components/widgets/WidgetLayout.tsx:2166:29 + Home@http://localhost:5173/src/pages/Index/Home.tsx:1114:49 + Suspense + RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=37ed045b:3992:7 + Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=37ed045b:4359:20 + _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=d337169e:21962:5 + Boundary@http://localhost:5173/src/components/Boundary.tsx:999:25 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-AGKALZCE.js?v=e04bf600:3434:3 + Container<@http://localhost:5173/node_modules/.vite/deps/chunk-AGKALZCE.js?v=e04bf600:14767:25 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-AGKALZCE.js?v=e04bf600:3434:3 + Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-AGKALZCE.js?v=e04bf600:9305:25 + ProtectedRoute@http://localhost:5173/src/components/nav/Layout.tsx:1341:31 + LayoutComponent@http://localhost:
[firefox] › pui_general.spec.ts:71:1 › PUI - Sales: src/frontend/tests/pui_general.spec.ts#L1
3) [firefox] › pui_general.spec.ts:71:1 › PUI - Sales ──────────────────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pui_general.spec.ts:71:1 › PUI - Sales: src/frontend/tests/pui_general.spec.ts#L91
3) [firefox] › pui_general.spec.ts:71:1 › PUI - Sales ──────────────────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('cell', { name: 'Dorathy Gross' }) to be visible 89 | await page.getByRole('tab', { name: 'Sales Orders' }).click(); 90 | await page.getByRole('tab', { name: 'Contacts' }).click(); > 91 | await page.getByRole('cell', { name: 'Dorathy Gross' }).waitFor(); | ^ 92 | await page 93 | .getByRole('row', { name: 'Dorathy Gross dorathy.gross@customer.com' }) 94 | .waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:91:59
[firefox] › pui_stock.spec.ts:99:1 › PUI - Stock Location Tree: src/frontend/tests/baseFixtures.ts#L78
4) [firefox] › pui_stock.spec.ts:99:1 › PUI - Stock Location Tree ──────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 265 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@a7f32a008ac1882d0b280c74aa71d5da", + "_type": "JSHandle", + }, + Symbol(kCapture): false, + }, + ], + "location": Object { + "columnNumber": 19, + "lineNumber": 2214, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-AGKALZCE.js?v=e04bf600", + }, + "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@4c2821d75913a03ba81fa6bd62225b89", + "_type": "Page", + }, + Symbol(kCapture): false, + }, + "text": "The above error occurred in one of your React components: + + Lazy + Suspense + LoadingItem@http://localhost:5173/src/functions/loading.tsx:994:28 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-AGKALZCE.js?v=e04bf600:3434:3 + Container<@http://localhost:5173/node_modules/.vite/deps/chunk-AGKALZCE.js?v=e04bf600:14767:25 + Resizable2@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=9c1af482:2527:39 + DraggableCore@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=9c1af482:1481:9 + GridItem@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=9c1af482:3059:9 + div + ReactGridLayout@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=9c1af482:3591:9 + ResponsiveReactGridLayout@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=9c1af482:4320:9 + WidthProvider@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=9c1af482:5074:11 + div + WidgetLayout@http://localhost:5173/src/components/widgets/WidgetLayout.tsx:2166:29 + Home@http://localhost:5173/src/pages/Index/Home.tsx:1114:49 + Suspense + RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=37ed045b:3992:7 + Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=37ed045b:4359:20 + _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=d337169e:21962:5 + Boundary@http://localhost:5173/src/components/Boundary.tsx:999:25 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-AGKALZCE.js?v=e04bf600:3434:3 + Container<@http://localhost:5173/node_modules/.vite/deps/chunk-AGKALZCE.js?v=e04bf600:14767:25 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-AGKALZCE.js?v=e04bf600:3434:3 + Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-AGKALZCE.js?v=e04bf600:9305:25 + ProtectedRoute@http://localhost:5173/src/components/nav/Layout.tsx:1341:31 + LayoutComponent@http://localhost:
Build - UI Platform
The following actions uses Node.js version which is deprecated 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 uses Node.js version which is deprecated 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 uses Node.js version which is deprecated 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] › pui_printing.spec.ts#L1
src/frontend/[chromium] › pui_printing.spec.ts took 27.3s
Slow Test: src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 22.2s
Slow Test: src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 19.3s
Slow Test: src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 18.5s
Slow Test: src/frontend/[firefox] › modals.spec.ts#L1
src/frontend/[firefox] › modals.spec.ts took 15.4s
🎭 Playwright Run Summary
4 flaky [chromium] › pui_general.spec.ts:178:1 › PUI - Company ───────────────────────────────────────── [firefox] › pui_general.spec.ts:45:1 › PUI - Parts - Manufacturer Parts ──────────────────────── [firefox] › pui_general.spec.ts:71:1 › PUI - Sales ───────────────────────────────────────────── [firefox] › pui_stock.spec.ts:99:1 › PUI - Stock Location Tree ───────────────────────────────── 84 passed (9.7m)

Artifacts

Produced during runtime
Name Size
frontend-build Expired
1.91 MB