Skip to content

Purchase Order Destination #15417

Purchase Order Destination

Purchase Order Destination #15417

Triggered via pull request October 31, 2024 23:40
Status Success
Total duration 22m 11s
Artifacts 2

qc_checks.yaml

on: pull_request
Build - UI Platform
2m 1s
Build - UI Platform
Style [pre-commit]
34s
Style [pre-commit]
Tests - API Schema Documentation
4m 17s
Tests - API Schema Documentation
Style [Documentation]
43s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 34s
Tests - inventree-python
Tests - DB [PostgreSQL]
13m 39s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
12m 49s
Tests - DB [MySQL]
Tests - Platform UI
21m 11s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 21s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
[chromium] › pui_general.spec.ts:71:1 › Sales: src/frontend/tests/pui_general.spec.ts#L1
1) [chromium] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_general.spec.ts:71:1 › Sales: src/frontend/tests/baseFixtures.ts#L85
1) [chromium] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 2354 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/stock/?customer=30&part_detail=true&location_detail=true&supplier_part_detail=true&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@6e81054da9022ef4e79f2fbfc72ed1f3", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "Failed to load resource: the server responded with a status of 401 (Unauthorized)", + "type": "error", + }, + "_page": Object { + "_guid": "page@6e81054da9022ef4e79f2fbfc72ed1f3", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/order/ro/?customer=30&customer_detail=true", + }, + "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@6e81054da9022ef4e79f2fbfc72ed1f3", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "Failed to load resource: the server responded with a status of 401 (Unauthorized)", + "type": "error", + }, + "_page": Object { + "_guid": "page@6e81054da9022ef4e79f2fbfc72ed1f3", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/order/ro/?customer=30&customer_detail=true&limit=25&offset=0", + }, + "page": EventEmitter { + "_events": Object { +
[chromium] › pui_general.spec.ts:71:1 › Sales: src/frontend/tests/pui_general.spec.ts#L91
1) [chromium] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('cell', { name: 'Dorathy Gross' }) to be visible 89 | await page.getByRole('tab', { name: 'Sales Orders' }).click(); 90 | await page.getByRole('tab', { name: 'Contacts' }).click(); > 91 | await page.getByRole('cell', { name: 'Dorathy Gross' }).waitFor(); | ^ 92 | await page 93 | .getByRole('row', { name: 'Dorathy Gross [email protected]' }) 94 | .waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:91:59
[firefox] › pages/pui_part.spec.ts:60:1 › Pages - Part - Pricing (Nothing: src/frontend/tests/pages/pui_part.spec.ts#L1
2) [firefox] › pages/pui_part.spec.ts:60:1 › Pages - Part - Pricing (Nothing, BOM) ─────────────── Test timeout of 90000ms exceeded.
[firefox] › pages/pui_part.spec.ts:60:1 › Pages - Part - Pricing (Nothing: src/frontend/tests/baseFixtures.ts#L85
2) [firefox] › pages/pui_part.spec.ts:60:1 › Pages - Part - Pricing (Nothing, BOM) ─────────────── 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@70cfd73bac3b5b4c3a68292af2b49823", + "_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=4cab4b08", + }, + "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@6dd6a36e16ccfab10e1ec4825cb440c2", + "_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=c5c101fa:4095:7 + Routes@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=c5c101fa:4533:7 + Router@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=c5c101fa:4481:7 + BrowserRouter@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=c5c101fa:5223:7 + QueryClientProvider@http://localhost:5173/node_modules/.vite/deps/@tanstack_react-query.js?v=eea60a9d:2725:27 + ModalsProvider@http://localhost:5173/node_modules/.vite/deps/@mantine_modals.js?v=880cfdad:184:24 + I18nProvider@http://localhost:5173/node_modules/.vite/deps/@lingui_react.js?v=1460418b:159:20 + LanguageContext@http://localhost:5173/src/contexts/LanguageContext.tsx:3440:32 + MantineThemeProvider@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=4cab4b08:2184:30 + MantineProvider@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=4cab4b08: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=eea60a9d: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 {
[firefox] › pages/pui_part.spec.ts:60:1 › Pages - Part - Pricing (Nothing: src/frontend/tests/pages/pui_part.spec.ts#L76
2) [firefox] › pages/pui_part.spec.ts:60:1 › Pages - Part - Pricing (Nothing, BOM) ─────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText('Part: Blue Chair') to be visible 74 | // Part with history 75 | await page.goto(`${baseUrl}/part/108/pricing`); > 76 | await page.getByText('Part: Blue Chair').waitFor(); | ^ 77 | await page.getByRole('tab', { name: 'Part Pricing' }).click(); 78 | await page.getByLabel('Part Pricing').getByText('Part Pricing').waitFor(); 79 | await page.getByRole('button', { name: 'Pricing Overview' }).waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:76:44
[firefox] › pui_basic.spec.ts:38:1 › Quick Login Test: src/frontend/tests/pui_basic.spec.ts#L1
3) [firefox] › pui_basic.spec.ts:38:1 › Quick Login Test ───────────────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pui_basic.spec.ts:38:1 › Quick Login Test: src/frontend/tests/pui_basic.spec.ts#L52
3) [firefox] › pui_basic.spec.ts:38:1 › Quick Login Test ───────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('heading', { name: 'Welcome to your Dashboard, Ally Access' }) 50 | await page 51 | .getByRole('heading', { name: `Welcome to your Dashboard, ${user.name}` }) > 52 | .click(); | ^ 53 | 54 | // Logout (via URL) 55 | await page.goto(`${baseUrl}/logout/`); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_basic.spec.ts:52:6
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 - inventree-python
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] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 33.9s
Slow Test: src/frontend/[firefox] › pages/pui_purchase_order.spec.ts#L1
src/frontend/[firefox] › pages/pui_purchase_order.spec.ts took 30.5s
Slow Test: src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 23.9s
Slow Test: src/frontend/[firefox] › pui_plugins.spec.ts#L1
src/frontend/[firefox] › pui_plugins.spec.ts took 23.7s
Slow Test: src/frontend/[firefox] › pui_forms.spec.ts#L1
src/frontend/[firefox] › pui_forms.spec.ts took 22.7s
🎭 Playwright Run Summary
3 flaky [chromium] › pui_general.spec.ts:71:1 › Sales ────────────────────────────────────────────────── [firefox] › pages/pui_part.spec.ts:60:1 › Pages - Part - Pricing (Nothing, BOM) ──────────────── [firefox] › pui_basic.spec.ts:38:1 › Quick Login Test ────────────────────────────────────────── 115 passed (14.1m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.13 MB
schema.yml
62.7 KB