[PUI] Notes editor #12650
qc_checks.yaml
on: pull_request
Filter
5s
Build - UI Platform
1m 51s
Style [Documentation]
31s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
6m 15s
Tests - DB [PostgreSQL]
20m 6s
Tests - DB [MySQL]
20m 0s
Tests - Platform UI
15m 9s
Matrix: coverage
Style - Classic UI [JS]
1m 15s
Push new schema
0s
Annotations
12 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
|
|
Tests - DB [PostgreSQL]:
src/backend/InvenTree/plugin/broken/broken_sample.py#L17
This is a dummy error
|
Tests - DB [MySQL]:
src/backend/InvenTree/plugin/broken/broken_sample.py#L17
This is a dummy error
|
|
[chromium] › pages/pui_part.spec.ts:200:1 › PUI - Pages - Part - Notes:
src/frontend/tests/pages/pui_part.spec.ts#L1
1) [chromium] › pages/pui_part.spec.ts:200:1 › PUI - Pages - Part - Notes ────────────────────────
Test timeout of 60000ms exceeded.
|
[chromium] › pages/pui_part.spec.ts:200:1 › PUI - Pages - Part - Notes:
src/frontend/tests/pages/pui_part.spec.ts#L225
1) [chromium] › pages/pui_part.spec.ts:200:1 › PUI - Pages - Part - Notes ────────────────────────
Error: locator.waitFor: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByText('This is some data') to be visible
223 |
224 | // Check that the original notes are still present
> 225 | await page.getByText('This is some data').waitFor();
| ^
226 | });
227 |
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:225:45
|
[chromium] › pui_general.spec.ts:5:1 › PUI - Parts:
src/frontend/tests/pui_general.spec.ts#L1
2) [chromium] › pui_general.spec.ts:5:1 › PUI - Parts ────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
[chromium] › pui_general.spec.ts:5:1 › PUI - Parts:
src/frontend/tests/pui_general.spec.ts#L11
2) [chromium] › pui_general.spec.ts:5:1 › PUI - Parts ────────────────────────────────────────────
Error: page.waitForURL: Test timeout of 60000ms exceeded.
=========================== logs ===========================
waiting for navigation to "**/platform/part/category/index/details" until "load"
navigated to "http://localhost:5173/platform/home"
============================================================
9 | await page.getByRole('tab', { name: 'Parts' }).click();
10 |
> 11 | await page.waitForURL('**/platform/part/category/index/details');
| ^
12 | await page.goto(`${baseUrl}/part/category/index/parts`);
13 | await page.getByText('1551ABK').click();
14 | await page.getByRole('tab', { name: 'Allocations' }).click();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:11:14
|
[firefox] › pages/pui_part.spec.ts:200:1 › PUI - Pages - Part - Notes:
src/frontend/tests/pages/pui_part.spec.ts#L1
3) [firefox] › pages/pui_part.spec.ts:200:1 › PUI - Pages - Part - Notes ─────────────────────────
Test timeout of 60000ms exceeded.
|
[firefox] › pages/pui_part.spec.ts:200:1 › PUI - Pages - Part - Notes:
src/frontend/tests/baseFixtures.ts#L72
3) [firefox] › pages/pui_part.spec.ts:200:1 › PUI - Pages - Part - Notes ─────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 54
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@7a6edb25ede112083a027dcf272837a6",
+ "_type": "JSHandle",
+ },
+ Symbol(kCapture): false,
+ },
+ ],
+ "location": Object {
+ "columnNumber": 19,
+ "lineNumber": 2220,
+ "url": "http://localhost:5173/node_modules/.vite/deps/chunk-O5XNKVOA.js?v=1801c22f",
+ },
+ "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@42af2ac0af2fbd9b42c951d31aa4c250",
+ "_type": "Page",
+ },
+ Symbol(kCapture): false,
+ },
+ "text": "Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: [\"notification-count\"]",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@42af2ac0af2fbd9b42c951d31aa4c250",
+ "_type": "Page",
+ },
+ },
+ ]
at baseFixtures.ts:72
70 | });
71 | await use(page);
> 72 | expect(messages).toEqual([]);
| ^
73 | }
74 | });
75 |
at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:72:22)
|
[firefox] › pages/pui_part.spec.ts:200:1 › PUI - Pages - Part - Notes:
src/frontend/tests/pages/pui_part.spec.ts#L216
3) [firefox] › pages/pui_part.spec.ts:200:1 › PUI - Pages - Part - Notes ─────────────────────────
Error: locator.waitFor: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByText('Notes saved successfully') to be visible
214 | // Save
215 | await page.getByLabel('save-notes').click();
> 216 | await page.getByText('Notes saved successfully').waitFor();
| ^
217 |
218 | // Navigate away from the page, and then back
219 | await page.goto(`${baseUrl}/stock/location/index/`);
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:216:52
|
🎭 Playwright Run Summary
3 flaky
[chromium] › pages/pui_part.spec.ts:200:1 › PUI - Pages - Part - Notes ─────────────────────────
[chromium] › pui_general.spec.ts:5:1 › PUI - Parts ─────────────────────────────────────────────
[firefox] › pages/pui_part.spec.ts:200:1 › PUI - Pages - Part - Notes ──────────────────────────
75 passed (8.2m)
|
Build - UI Platform
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Style - Classic UI [JS]
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests - Platform UI
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Slow Test:
src/frontend/[firefox] › pages/pui_scan.spec.ts#L1
src/frontend/[firefox] › pages/pui_scan.spec.ts took 44.7s
|
Slow Test:
src/frontend/[chromium] › pages/pui_scan.spec.ts#L1
src/frontend/[chromium] › pages/pui_scan.spec.ts took 40.8s
|
Slow Test:
src/frontend/[firefox] › pui_command.spec.ts#L1
src/frontend/[firefox] › pui_command.spec.ts took 24.2s
|
Slow Test:
src/frontend/[chromium] › pui_printing.spec.ts#L1
src/frontend/[chromium] › pui_printing.spec.ts took 23.2s
|
Slow Test:
src/frontend/[chromium] › pui_command.spec.ts#L1
src/frontend/[chromium] › pui_command.spec.ts took 18.1s
|
Tests - inventree-python
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|