Enable printing actions for PartTable #15484
qc_checks.yaml
on: pull_request
Filter
9s
Build - UI Platform
2m 5s
Style [Documentation]
30s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
0s
Tests - DB [PostgreSQL]
0s
Tests - DB [MySQL]
0s
Tests - Platform UI
21m 53s
Matrix: coverage
Style - Classic UI [JS]
1m 28s
Push new schema
0s
Annotations
10 errors, 8 warnings, and 1 notice
[chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin:
src/frontend/tests/pui_plugins.spec.ts#L1
1) [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
1) [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_part.spec.ts:61:1 › Parts - Supplier Parts:
src/frontend/tests/pages/pui_part.spec.ts#L1
2) [firefox] › pages/pui_part.spec.ts:61:1 › Parts - Supplier Parts ──────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pages/pui_part.spec.ts:61:1 › Parts - Supplier Parts:
src/frontend/tests/login.ts#L37
2) [firefox] › pages/pui_part.spec.ts:61:1 › Parts - Supplier Parts ──────────────────────────────
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:62:3
|
[firefox] › pages/pui_scan.spec.ts:90:1 › Pages - Index - Scan (General):
src/frontend/tests/pages/pui_scan.spec.ts#L1
3) [firefox] › pages/pui_scan.spec.ts:90:1 › Pages - Index - Scan (General) ──────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pages/pui_scan.spec.ts:90:1 › Pages - Index - Scan (General):
src/frontend/tests/baseFixtures.ts#L85
3) [firefox] › pages/pui_scan.spec.ts:90:1 › Pages - Index - Scan (General) ──────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 198
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@200d37ff8e08e6473df6929b19256778",
+ "_type": "JSHandle",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ ],
+ "location": Object {
+ "columnNumber": 1,
+ "lineNumber": 0,
+ "url": "http://localhost:5173/platform/scan",
+ },
+ "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@89fc66bf56bc7654970eb1e814883b08",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "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/scan\" line: 0}]",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@89fc66bf56bc7654970eb1e814883b08",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@1504e8a3c1faa4b40c989e249a81955f",
+ "_type": "JSHandle",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ ],
+ "location": Object {
+ "columnNumber": 1,
+ "lineNumber": 0,
+ "url": "http://localhost:5173/platform/scan",
+ },
+ "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],
+
|
[firefox] › pages/pui_scan.spec.ts:90:1 › Pages - Index - Scan (General):
src/frontend/tests/pages/pui_scan.spec.ts#L110
3) [firefox] › pages/pui_scan.spec.ts:90:1 › Pages - Index - Scan (General) ──────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('No history') to be visible
108 | // reload again
109 | await page.goto(`${baseUrl}/scan`);
> 110 | await page.getByText('No history').waitFor();
| ^
111 |
112 | // Empty dummy input
113 | await page.getByPlaceholder('Enter item serial or data').fill('');
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_scan.spec.ts:110:38
|
[firefox] › pui_basic.spec.ts:5:1 › Basic Login Test:
src/frontend/tests/baseFixtures.ts#L85
4) [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@0bf6fcfe72209f44a72253886b137eb3",
+ "_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=d07700c3",
+ },
+ "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@b30bb5cef5ae33e5711b99053c3561da",
+ "_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=a31dc23e:4095:7
+ Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=a31dc23e:4467:20
+ _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=018364da: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=d07700c3:3819:3
+ Container<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=d07700c3:15473:25
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=d07700c3:3819:3
+ Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=d07700c3: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=a31dc23e:4095:7
+ Routes@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=a31dc23e:4533:7
+ Router@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=a31dc23e:4481:7
+ BrowserRouter@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=a31dc23e:5223:7
+ QueryClientProvider@http://localhost:5173/node_modules/.vite/deps/@tanstack_react-query.js?v=e90bca7f:2725:27
+ ModalsProvider@http://localhost:5173/node_modules/.vite/deps/@mantine_modals.js?v=8fa7587d:184:24
+ I18nProvider@http://localhost:5173/node_modules/.vite/deps/@lingui_react.js?v=c6683859:159:20
+ LanguageContext@http://localhos
|
[firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin:
src/frontend/tests/pui_plugins.spec.ts#L1
5) [firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ─────────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin:
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
|
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_stock.spec.ts#L1
src/frontend/[firefox] › pages/pui_stock.spec.ts took 47.4s
|
Slow Test:
src/frontend/[firefox] › pui_tables.spec.ts#L1
src/frontend/[firefox] › pui_tables.spec.ts took 39.2s
|
Slow Test:
src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 35.0s
|
Slow Test:
src/frontend/[firefox] › pui_forms.spec.ts#L1
src/frontend/[firefox] › pui_forms.spec.ts took 33.6s
|
Slow Test:
src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 26.0s
|
🎭 Playwright Run Summary
5 flaky
[chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ─────────────────────────────────
[firefox] › pages/pui_part.spec.ts:61:1 › Parts - Supplier Parts ───────────────────────────────
[firefox] › pages/pui_scan.spec.ts:90:1 › Pages - Index - Scan (General) ───────────────────────
[firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ───────────────────────────────────────────
[firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ──────────────────────────────────
115 passed (14.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.16 MB |
|