Fix for links in notification drawer (#8435) #15498
qc_checks.yaml
on: push
Filter
5s
Build - UI Platform
2m 12s
Style [Documentation]
32s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
0s
Tests - DB [PostgreSQL]
0s
Tests - DB [MySQL]
0s
Tests - Platform UI
20m 51s
Matrix: coverage
Style - Classic UI [JS]
1m 30s
Push new schema
0s
Annotations
10 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@05783f8216117abb16097a267425b884",
+ "_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=87c0f60b",
+ },
+ "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@22cc45ea7c04d5fee7b65749e9f0db5d",
+ "_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=768897f3:4095:7
+ Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=768897f3:4467:20
+ _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=9b67ffa1: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=87c0f60b:3819:3
+ Container<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=87c0f60b:15473:25
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=87c0f60b:3819:3
+ Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=87c0f60b: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=768897f3:4095:7
+ Routes@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=768897f3:4533:7
+ Router@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=768897f3:4481:7
+ BrowserRouter@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=768897f3:5223:7
+ QueryClientProvider@http://localhost:5173/node_modules/.vite/deps/@tanstack_react-query.js?v=e5be91fd:2725:27
+ ModalsProvider@http://localhost:5173/node_modules/.vite/deps/@mantine_modals.js?v=e38ce0b7:184:24
+ I18nProvider@http://localhost:5173/node_modules/.vite/deps/@lingui_react.js?v=95368471: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@f5fc7ccc44b618a82613cbb73bfeedb6",
+ "_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=87c0f60b",
+ },
+ "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@7e27fee51377ddc3fd6bfb92920b731e",
+ "_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=768897f3:4095:7
+ Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=768897f3:4467:20
+ _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=9b67ffa1: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=87c0f60b:3819:3
+ Container<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=87c0f60b:15473:25
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=87c0f60b:3819:3
+ Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=87c0f60b: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=768897f3:4095:7
+ Routes@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=768897f3:4533:7
+ Router@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=768897f3:4481:7
+ BrowserRouter@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=768897f3:5223:7
+ QueryClientProvider@http://localhost:5173/node_modules/.vite/deps/@tanstack_react-query.js?v=e5be91fd:2725:27
+ ModalsProvider@http://localhost:5173/node_modules/.vite/deps/@mantine_modals.js?v=e38ce0b7:184:24
+ I18nProvider@http://localhost
|
[chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin:
src/frontend/tests/pui_plugins.spec.ts#L1
2) [chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin:
src/frontend/tests/pui_plugins.spec.ts#L82
2) [chromium] › 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
|
[firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs:
src/frontend/tests/pages/pui_build.spec.ts#L1
3) [firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs ────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs:
src/frontend/tests/pages/pui_build.spec.ts#L91
3) [firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs ────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('tab', { name: 'Manufacturing', exact: true })
89 |
90 | // Navigate to the correct build order
> 91 | await page.getByRole('tab', { name: 'Manufacturing', exact: true }).click();
| ^
92 |
93 | // We have now loaded the "Build Order" table. Check for some expected texts
94 | await page.getByText('On Hold').first().waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_build.spec.ts:91:71
|
[firefox] › pages/pui_part.spec.ts:299:1 › Parts - Parameters:
src/frontend/tests/pages/pui_part.spec.ts#L1
4) [firefox] › pages/pui_part.spec.ts:299:1 › Parts - Parameters ─────────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pages/pui_part.spec.ts:299:1 › Parts - Parameters:
src/frontend/tests/pages/pui_part.spec.ts#L310
4) [firefox] › pages/pui_part.spec.ts:299:1 › Parts - Parameters ─────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByLabel('choice-field-data')
308 | await page.getByLabel('related-field-template').fill('Color');
309 | await page.getByRole('option', { name: 'Color Part color' }).click();
> 310 | await page.getByLabel('choice-field-data').click();
| ^
311 | await page.getByRole('option', { name: 'Green' }).click();
312 |
313 | // Select the "polarized" parameter template (should create a "checkbox" field)
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:310:46
|
[firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys:
src/frontend/tests/pui_command.spec.ts#L1
5) [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/baseFixtures.ts#L85
5) [firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys ────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 60
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@330ccac1648b410d830019486b2c2af7",
+ "_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=87c0f60b",
+ },
+ "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@7f6093d83bff2eb509ca58ab1704dcb7",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: [\"license\"]",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@7f6093d83bff2eb509ca58ab1704dcb7",
+ "_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)
|
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/[firefox] › pages/pui_sales_order.spec.ts#L1
src/frontend/[firefox] › pages/pui_sales_order.spec.ts took 37.6s
|
Slow Test:
src/frontend/[firefox] › pui_general.spec.ts#L1
src/frontend/[firefox] › pui_general.spec.ts took 30.9s
|
Slow Test:
src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 28.2s
|
Slow Test:
src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 24.9s
|
Slow Test:
src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 24.8s
|
🎭 Playwright Run Summary
1 failed
[firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ───────────────────────────────────────────
4 flaky
[chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ─────────────────────────────────
[firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs ─────────────────
[firefox] › pages/pui_part.spec.ts:299:1 › Parts - Parameters ──────────────────────────────────
[firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys ─────────────────────────────────
115 passed (14.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.16 MB |
|
playwright-report
|
21.6 MB |
|