[PUI] notifications fix (#8392) #15376
qc_checks.yaml
on: push
Filter
7s
Build - UI Platform
2m 3s
Style [Documentation]
37s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
5m 5s
Tests - DB [PostgreSQL]
12m 55s
Tests - DB [MySQL]
12m 36s
Tests - Platform UI
20m 8s
Matrix: coverage
Style - Classic UI [JS]
1m 21s
Push new schema
5s
Annotations
6 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 + 2522
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/company/contact/?company=30&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@81ce9bce6dd32441cd6a06796737bb61",
+ "_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@81ce9bce6dd32441cd6a06796737bb61",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/label/print/",
+ },
+ "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@81ce9bce6dd32441cd6a06796737bb61",
+ "_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@81ce9bce6dd32441cd6a06796737bb61",
+ "_type": "Page",
+ },
+ },
+ 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",
+ },
+ "page": EventEmitter {
+ "_events": Object {
+ "bindingCall": [Function anonymous],
+ "close"
|
[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] › pui_general.spec.ts:71:1 › Sales:
src/frontend/tests/pui_general.spec.ts#L1
2) [firefox] › pui_general.spec.ts:71:1 › Sales ──────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pui_general.spec.ts:71:1 › Sales:
src/frontend/tests/pui_general.spec.ts#L113
2) [firefox] › pui_general.spec.ts:71:1 › Sales ──────────────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('link', { name: 'Customer A' })
- locator resolved to <a href="#" data-underline="hover" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root">…</a>
- attempting click action
- waiting for element to be visible, enabled and stable
- element was detached from the DOM, retrying
111 |
112 | // Return Order Details
> 113 | await page.getByRole('link', { name: 'Customer A' }).click();
| ^
114 | await page.getByRole('tab', { name: 'Return Orders' }).click();
115 | await page.getByRole('cell', { name: 'RMA-' }).click();
116 | await page.getByText('RMA-0001', { exact: true }).waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:113:56
|
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/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 35.7s
|
Slow Test:
src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 32.9s
|
Slow Test:
src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 22.5s
|
Slow Test:
src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 22.4s
|
Slow Test:
src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 20.6s
|
🎭 Playwright Run Summary
2 flaky
[chromium] › pui_general.spec.ts:71:1 › Sales ──────────────────────────────────────────────────
[firefox] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────────
112 passed (13.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.13 MB |
|
schema.yml
|
62.7 KB |
|