Add option ot mark the build item as complete if all tests passed #14489
Annotations
8 errors, 6 warnings, and 1 notice
Run Playwright tests:
src/frontend/tests/pui_general.spec.ts#L1
1) [chromium] › pui_general.spec.ts:71:1 › PUI - Sales ───────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
src/frontend/tests/baseFixtures.ts#L82
1) [chromium] › pui_general.spec.ts:71:1 › PUI - Sales ───────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 442
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/order/so/shipment/?order=1",
+ },
+ "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@1a22a353715114b90f7d9e6760327956",
+ "_type": "Page",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ "text": "Failed to load resource: the server responded with a status of 401 (Unauthorized)",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@1a22a353715114b90f7d9e6760327956",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/order/so/shipment/?order=1&limit=25&offset=0",
+ },
+ "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@1a22a353715114b90f7d9e6760327956",
+ "_type": "Page",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ "text": "Failed to load resource: the server responded with a status of 401 (Unauthorized)",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@1a22a353715114b90f7d9e6760327956",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/order/so/shipment/?order=1&limit=25&offset=0",
+ },
+ "page": EventEmitter {
+ "_events": Object {
+ "bindingCall": [Function anonymous],
+ "close": [Function anonymous],
+ "crash": [Function anonymous],
+ "download": [Function anonymous],
+ "fileChooser": [Function anonymous],
+ "frameAttached": [Function anonymous],
|
Run Playwright tests:
src/frontend/tests/pui_general.spec.ts#L106
1) [chromium] › pui_general.spec.ts:71:1 › PUI - Sales ───────────────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('No records found').first() to be visible
104 | await page.getByRole('tab', { name: 'Shipments' }).click();
105 | await page.getByRole('tab', { name: 'Build Orders' }).click();
> 106 | await page.getByText('No records found').first().waitFor();
| ^
107 | await page.getByRole('tab', { name: 'Attachments' }).click();
108 | await page.getByText('No attachments found').first().waitFor();
109 | await page.getByRole('tab', { name: 'Notes' }).click();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:106:52
|
Run Playwright tests:
src/frontend/tests/baseFixtures.ts#L82
2) [firefox] › pages/pui_orders.spec.ts:44:1 › PUI - Purchase Orders ─────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 56
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@c375adb8d99cdd43a69ef1a635389442",
+ "_type": "JSHandle",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ ],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:5173/platform/home",
+ },
+ "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@ea9f7c57ba05ccbdd613dba29928174a",
+ "_type": "Page",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/views/MobileAppView.tsx” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/home\" line: 0}]",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@ea9f7c57ba05ccbdd613dba29928174a",
+ "_type": "Page",
+ },
+ },
+ ]
at baseFixtures.ts:82
80 | });
81 | await use(page);
> 82 | expect(messages).toEqual([]);
| ^
83 | }
84 | });
85 |
at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:82:22)
|
Run Playwright tests:
src/frontend/tests/baseFixtures.ts#L82
3) [firefox] › pui_basic.spec.ts:5:1 › PUI - Basic Login Test ────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 242
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@f4bfca88730fcebf739ff35fd5eb0864",
+ "_type": "JSHandle",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ ],
+ "location": Object {
+ "columnNumber": 19,
+ "lineNumber": 2599,
+ "url": "http://localhost:5173/node_modules/.vite/deps/chunk-J57E7VAL.js?v=2f22f732",
+ },
+ "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@fbb9d4afd34d57ae5e7d9a70a4af0f76",
+ "_type": "Page",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ "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=a513ec9c:4031:7
+ Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=a513ec9c:4403:20
+ _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=0db517d2:22623:5
+ Boundary@http://localhost:5173/src/components/Boundary.tsx:999:25
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-J57E7VAL.js?v=2f22f732:3819:3
+ Container<@http://localhost:5173/node_modules/.vite/deps/chunk-J57E7VAL.js?v=2f22f732:15473:25
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-J57E7VAL.js?v=2f22f732:3819:3
+ Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-J57E7VAL.js?v=2f22f732:10002:25
+ ProtectedRoute@http://localhost:5173/src/components/nav/Layout.tsx:1341:31
+ LayoutComponent@http://localhost:5173/src/components/nav/Layout.tsx:1384:47
+ Suspense
+ RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=a513ec9c:4031:7
+ Routes@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=a513ec9c:4469:7
+ Router@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=a513ec9c:4417:7
+ BrowserRouter@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=a513ec9c:5159:7
+ QueryClientProvider@http://localhost:5173/node_modules/.vite/deps/@tanstack_react-query.js?v=ca37f6bb:2719:27
+ ModalsProvider@http://localhost:5173/node_modules/.vite/deps/@mantine_modals.js?v=e55f012a:184:24
+ I18nProvider@http://localhost:5173/node_modules/.vite/deps/@lingui_react.js?v=949f7a29:159:20
+ LanguageContext@http://localhost:5173/src/contexts/LanguageContext.tsx:3399:32
+ MantineThemeProvider@http://localhost:5173/node_modules/.vite/deps/chunk-J57E7VAL.js?v=2f22f732:2184:30
+ MantineProvider@http://localhost:5173/node
|
Run Playwright tests:
src/frontend/tests/baseFixtures.ts#L82
4) [firefox] › pui_basic.spec.ts:38:1 › PUI - Quick Login Test ───────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 272
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@fe2df4101e4f11175b3e029d4a6f8383",
+ "_type": "JSHandle",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ ],
+ "location": Object {
+ "columnNumber": 19,
+ "lineNumber": 2599,
+ "url": "http://localhost:5173/node_modules/.vite/deps/chunk-J57E7VAL.js?v=2f22f732",
+ },
+ "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@6523bed0e7962cfdfe0ad18611d21cef",
+ "_type": "Page",
+ },
+ Symbol(shapeMode): false,
+ 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-J57E7VAL.js?v=2f22f732:3819:3
+ Container<@http://localhost:5173/node_modules/.vite/deps/chunk-J57E7VAL.js?v=2f22f732:15473:25
+ Resizable2@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=ce61696d:2527:39
+ DraggableCore@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=ce61696d:1481:9
+ GridItem@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=ce61696d:3059:9
+ div
+ ReactGridLayout@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=ce61696d:3591:9
+ ResponsiveReactGridLayout@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=ce61696d:4320:9
+ WidthProvider@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=ce61696d: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=a513ec9c:4031:7
+ Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=a513ec9c:4403:20
+ _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=0db517d2:22623:5
+ Boundary@http://localhost:5173/src/components/Boundary.tsx:999:25
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-J57E7VAL.js?v=2f22f732:3819:3
+ Container<@http://localhost:5173/node_modules/.vite/deps/chunk-J57E7VAL.js?v=2f22f732:15473:25
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-J57E7VAL.js?v=2f22f732:3819:3
+ Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-J57E7VAL.js?v=2f22f732:10002:25
+ ProtectedRoute@http://localhost
|
Run Playwright tests:
src/frontend/tests/pui_general.spec.ts#L1
5) [firefox] › pui_general.spec.ts:71:1 › PUI - Sales ────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
src/frontend/tests/pui_general.spec.ts#L98
5) [firefox] › pui_general.spec.ts:71:1 › PUI - Sales ────────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('cell', { name: 'SO0001' })
96 | // Sales Order Details
97 | await page.getByRole('tab', { name: 'Sales Orders' }).click();
> 98 | await page.getByRole('cell', { name: 'SO0001' }).click();
| ^
99 | await page
100 | .getByLabel('Order Details')
101 | .getByText('Selling some stuff')
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:98:52
|
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/[chromium] › pui_stock.spec.ts#L1
src/frontend/[chromium] › pui_stock.spec.ts took 28.0s
|
Run Playwright tests:
src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 26.2s
|
Run Playwright tests:
src/frontend/[chromium] › pages/pui_build.spec.ts#L1
src/frontend/[chromium] › pages/pui_build.spec.ts took 25.5s
|
Run Playwright tests:
src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 24.4s
|
Run Playwright tests:
src/frontend/[firefox] › pages/pui_build.spec.ts#L1
src/frontend/[firefox] › pages/pui_build.spec.ts took 23.3s
|
Run Playwright tests
5 flaky
[chromium] › pui_general.spec.ts:71:1 › PUI - Sales ────────────────────────────────────────────
[firefox] › pages/pui_orders.spec.ts:44:1 › PUI - Purchase Orders ──────────────────────────────
[firefox] › pui_basic.spec.ts:5:1 › PUI - Basic Login Test ─────────────────────────────────────
[firefox] › pui_basic.spec.ts:38:1 › PUI - Quick Login Test ────────────────────────────────────
[firefox] › pui_general.spec.ts:71:1 › PUI - Sales ─────────────────────────────────────────────
91 passed (11.8m)
|
Loading