Fix for "installed in" display #15655
qc_checks.yaml
on: pull_request
Filter
6s
Build - UI Platform
1m 54s
Style [Documentation]
27s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
0s
Tests - DB [PostgreSQL]
0s
Tests - DB [MySQL]
0s
Tests - Platform UI
23m 19s
Matrix: coverage
Style - Classic UI [JS]
1m 24s
Push new schema
0s
Annotations
10 errors, 8 warnings, and 1 notice
[chromium] › pages/pui_part.spec.ts:60:1 › Parts - Supplier Parts:
src/frontend/tests/pages/pui_part.spec.ts#L1
1) [chromium] › pages/pui_part.spec.ts:60:1 › Parts - Supplier Parts ─────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_part.spec.ts:60:1 › Parts - Supplier Parts:
src/frontend/tests/login.ts#L37
1) [chromium] › pages/pui_part.spec.ts:60: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:51)
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:61:3
|
[chromium] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders:
src/frontend/tests/pages/pui_sales_order.spec.ts#L1
2) [chromium] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders ─────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders:
src/frontend/tests/pages/pui_sales_order.spec.ts#L10
2) [chromium] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders ─────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('tab', { name: 'Sales Orders' })
- locator resolved to <button role="tab" tabindex="0" type="button" data-active="true" aria-selected="true" data-placement="left" data-variant="default" data-orientation="vertical" id="mantine-gif8mexvg-tab-salesorders" aria-controls="mantine-gif8mexvg-panel-salesorders" class="mantine-focus-auto m_539e827b m_4ec4dce6 mantine-Tabs-tab m_87cf2631 mantine-UnstyledButton-root">…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element was detached from the DOM, retrying
8 | await page.goto(`${baseUrl}/home`);
9 | await page.getByRole('tab', { name: 'Sales' }).click();
> 10 | await page.getByRole('tab', { name: 'Sales Orders' }).click();
| ^
11 |
12 | // Check for expected text in the table
13 | await page.getByRole('tab', { name: 'Sales Orders' }).waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_sales_order.spec.ts:10:57
|
[chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin:
src/frontend/tests/pui_plugins.spec.ts#L1
3) [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
3) [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:60:1 › Parts - Supplier Parts:
src/frontend/tests/pages/pui_part.spec.ts#L1
4) [firefox] › pages/pui_part.spec.ts:60:1 › Parts - Supplier Parts ──────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pages/pui_part.spec.ts:60:1 › Parts - Supplier Parts:
src/frontend/tests/login.ts#L37
4) [firefox] › pages/pui_part.spec.ts:60: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:51)
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:61:3
|
[firefox] › pui_basic.spec.ts:5:1 › Basic Login Test:
src/frontend/tests/baseFixtures.ts#L85
5) [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@ea7da463e3a6507de870f8c3e94220cc",
+ "_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=90589c65",
+ },
+ "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@41f2a16fcac9d37868cb85c9bcbe33c2",
+ "_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=944e4d95:4095:7
+ Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=944e4d95:4467:20
+ _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=2c1275ce: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=90589c65:3819:3
+ Container<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=90589c65:15473:25
+ div
+ _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=90589c65:3819:3
+ Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=90589c65: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=944e4d95:4095:7
+ Routes@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=944e4d95:4533:7
+ Router@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=944e4d95:4481:7
+ BrowserRouter@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=944e4d95:5223:7
+ QueryClientProvider@http://localhost:5173/node_modules/.vite/deps/@tanstack_react-query.js?v=28176b5f:2725:27
+ ModalsProvider@http://localhost:5173/node_modules/.vite/deps/@mantine_modals.js?v=636ce0cb:184:24
+ I18nProvider@http://localhost:5173/node_modules/.vite/deps/@lingui_react.js?v=a9c11861:159:20
+ LanguageContext@http://localhos
|
[firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin:
src/frontend/tests/pui_plugins.spec.ts#L1
6) [firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ─────────────────────────────────
Test timeout of 90000ms exceeded.
|
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/[chromium] › pages/pui_stock.spec.ts#L1
src/frontend/[chromium] › pages/pui_stock.spec.ts took 40.4s
|
Slow Test:
src/frontend/[chromium] › pages/pui_scan.spec.ts#L1
src/frontend/[chromium] › pages/pui_scan.spec.ts took 35.7s
|
Slow Test:
src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 34.9s
|
Slow Test:
src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 27.4s
|
Slow Test:
src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 26.1s
|
🎭 Playwright Run Summary
6 flaky
[chromium] › pages/pui_part.spec.ts:60:1 › Parts - Supplier Parts ──────────────────────────────
[chromium] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders ──────────────────────────────────
[chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ─────────────────────────────────
[firefox] › pages/pui_part.spec.ts:60:1 › Parts - Supplier Parts ───────────────────────────────
[firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ───────────────────────────────────────────
[firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ──────────────────────────────────
118 passed (15.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.17 MB |
|