Fix for locate item plugins #15639
Annotations
10 errors, 6 warnings, and 1 notice
Run Playwright tests:
src/frontend/tests/pages/pui_part.spec.ts#L1
1) [chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ────────────────────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
src/frontend/tests/pages/pui_part.spec.ts#L126
1) [chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('BO0001') to be visible
124 |
125 | // Expected order reference values
> 126 | await page.getByText('BO0001').waitFor();
| ^
127 | await page.getByText('BO0016').waitFor();
128 | await page.getByText('BO0019').waitFor();
129 | await page.getByText('SO0008').waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:126:34
|
Run Playwright tests:
src/frontend/tests/baseFixtures.ts#L85
2) [chromium] › pui_general.spec.ts:96:1 › Admin Button ──────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 86
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/test-admin/jsi18n/",
+ },
+ "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@80c8761802d4fbbaa08ce6884455411b",
+ "_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@80c8761802d4fbbaa08ce6884455411b",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/test-admin/company/company/1/change/",
+ },
+ "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@80c8761802d4fbbaa08ce6884455411b",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "Refused to execute script from 'http://localhost:8000/test-admin/jsi18n/' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@80c8761802d4fbbaa08ce6884455411b",
+ "_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)
|
Run Playwright tests:
src/frontend/tests/pui_plugins.spec.ts#L1
3) [chromium] › pui_plugins.spec.ts:98:1 › Plugins - Locate Item ─────────────────────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
src/frontend/tests/pui_plugins.spec.ts#L114
3) [chromium] › pui_plugins.spec.ts:98:1 › Plugins - Locate Item ─────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByLabel('action-button-locate-item')
112 |
113 | // "Locate" this item
> 114 | await page.getByLabel('action-button-locate-item').click();
| ^
115 | await page.getByRole('button', { name: 'Submit' }).click();
116 | await page.getByText('Item location requested').waitFor();
117 |
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_plugins.spec.ts:114:54
|
Run Playwright tests:
src/frontend/tests/pages/pui_part.spec.ts#L1
4) [firefox] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ─────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
src/frontend/tests/baseFixtures.ts#L85
4) [firefox] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ─────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 140
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@05b9f8494f1c5f6140d07482233c7783",
+ "_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=1f8d31f3",
+ },
+ "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@f6eb3ce319a589d48c56c1ffd12f9021",
+ "_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=15a86736:4095:7
+ Routes@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=15a86736:4533:7
+ Router@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=15a86736:4481:7
+ BrowserRouter@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=15a86736:5223:7
+ QueryClientProvider@http://localhost:5173/node_modules/.vite/deps/@tanstack_react-query.js?v=1dc94e2b:2725:27
+ ModalsProvider@http://localhost:5173/node_modules/.vite/deps/@mantine_modals.js?v=1ebefe96:184:24
+ I18nProvider@http://localhost:5173/node_modules/.vite/deps/@lingui_react.js?v=a81e142c:159:20
+ LanguageContext@http://localhost:5173/src/contexts/LanguageContext.tsx:3440:32
+ MantineThemeProvider@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=1f8d31f3:2184:30
+ MantineProvider@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=1f8d31f3:2683:25
+ ThemeContext@http://localhost:5173/src/contexts/ThemeContext.tsx:919:29
+ QueryClientProvider@http://localhost:5173/node_modules/.vite/deps/@tanstack_react-query.js?v=1dc94e2b:2725:27
+ BaseContext@http://localhost:5173/src/contexts/BaseContext.tsx:795:28
+ DesktopAppView@http://localhost:5173/src/views/DesktopAppView.tsx:1002:48
+ Suspense
+ MainView@http://localhost:5173/src/views/MainView.tsx:1472:51
+
+ Consider adding an error boundary to your tree to customize error handling behavior.
+ Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.",
+ "type": "error",
+ },
+ "_page": Object {
|
Run Playwright tests:
src/frontend/tests/pages/pui_part.spec.ts#L42
4) [firefox] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ─────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('Blue Chair')
40 |
41 | await page.goto(`${baseUrl}/part/category/index/parts`);
> 42 | await page.getByText('Blue Chair').click();
| ^
43 | await page.getByRole('tab', { name: 'Bill of Materials' }).click();
44 | await page.getByRole('tab', { name: 'Build Orders' }).click();
45 | });
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:42:38
|
Run Playwright tests:
src/frontend/tests/pui_plugins.spec.ts#L1
5) [firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ─────────────────────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
src/frontend/tests/pui_plugins.spec.ts#L82
5) [firefox] › 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
|
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/
|
Run Playwright tests:
src/frontend/[firefox] › pui_tables.spec.ts#L1
src/frontend/[firefox] › pui_tables.spec.ts took 37.4s
|
Run Playwright tests:
src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 31.8s
|
Run Playwright tests:
src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 26.1s
|
Run Playwright tests:
src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 25.0s
|
Run Playwright tests:
src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 22.7s
|
Run Playwright tests
5 flaky
[chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ─────────────────────────────────
[chromium] › pui_general.spec.ts:96:1 › Admin Button ───────────────────────────────────────────
[chromium] › pui_plugins.spec.ts:98:1 › Plugins - Locate Item ──────────────────────────────────
[firefox] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ──────────────────────────────────────────
[firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ──────────────────────────────────
119 passed (14.6m)
|
Loading