Skip to content

[PUI] Table refactor #15384

[PUI] Table refactor

[PUI] Table refactor #15384

Re-run triggered October 30, 2024 04:34
Status Failure
Total duration 22m 17s
Artifacts 4

qc_checks.yaml

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

Annotations

11 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
[chromium] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking: src/frontend/tests/pages/pui_part.spec.ts#L1
1) [chromium] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking ────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking: src/frontend/tests/pages/pui_part.spec.ts#L19
1) [chromium] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking ────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText('Part is Locked', { exact: true }) to be visible 17 | await page.getByRole('tab', { name: 'Bill of Materials' }).click(); 18 | await page.getByLabel('part-lock-icon').waitFor(); > 19 | await page.getByText('Part is Locked', { exact: true }).waitFor(); | ^ 20 | 21 | // Check the "parameters" tab also 22 | await page.getByRole('tab', { name: 'Parameters' }).click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:19:59
[chromium] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking: src/frontend/tests/pages/pui_part.spec.ts#L1
1) [chromium] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking ────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking: src/frontend/tests/pages/pui_part.spec.ts#L19
1) [chromium] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking ────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText('Part is Locked', { exact: true }) to be visible 17 | await page.getByRole('tab', { name: 'Bill of Materials' }).click(); 18 | await page.getByLabel('part-lock-icon').waitFor(); > 19 | await page.getByText('Part is Locked', { exact: true }).waitFor(); | ^ 20 | 21 | // Check the "parameters" tab also 22 | await page.getByRole('tab', { name: 'Parameters' }).click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:19:59
[firefox] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking: src/frontend/tests/pages/pui_part.spec.ts#L1
2) [firefox] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking ─────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking: src/frontend/tests/pages/pui_part.spec.ts#L19
2) [firefox] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking ─────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText('Part is Locked', { exact: true }) to be visible 17 | await page.getByRole('tab', { name: 'Bill of Materials' }).click(); 18 | await page.getByLabel('part-lock-icon').waitFor(); > 19 | await page.getByText('Part is Locked', { exact: true }).waitFor(); | ^ 20 | 21 | // Check the "parameters" tab also 22 | await page.getByRole('tab', { name: 'Parameters' }).click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:19:59
[firefox] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking: src/frontend/tests/pages/pui_part.spec.ts#L1
2) [firefox] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking ─────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking: src/frontend/tests/pages/pui_part.spec.ts#L19
2) [firefox] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking ─────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText('Part is Locked', { exact: true }) to be visible 17 | await page.getByRole('tab', { name: 'Bill of Materials' }).click(); 18 | await page.getByLabel('part-lock-icon').waitFor(); > 19 | await page.getByText('Part is Locked', { exact: true }).waitFor(); | ^ 20 | 21 | // Check the "parameters" tab also 22 | await page.getByRole('tab', { name: 'Parameters' }).click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:19:59
[chromium] › pui_general.spec.ts:71:1 › Sales: src/frontend/tests/pui_general.spec.ts#L1
3) [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
3) [chromium] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 44 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/order/ro/1/?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@38c2b6c797371faf7efc79fe6f04a780", + "_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@38c2b6c797371faf7efc79fe6f04a780", + "_type": "Page", + }, + }, + ] at baseFixtures.ts:85 83 | }); 84 | await use(page); > 85 | expect(messages).toEqual([]); | ^ 86 | } 87 | }); 88 | at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:85:22)
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/
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/
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_scan.spec.ts#L1
src/frontend/[chromium] › pages/pui_scan.spec.ts took 43.0s
Slow Test: src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 37.2s
Slow Test: src/frontend/[chromium] › pages/pui_stock.spec.ts#L1
src/frontend/[chromium] › pages/pui_stock.spec.ts took 36.5s
Slow Test: src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 32.2s
Slow Test: src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 22.7s
🎭 Playwright Run Summary
2 failed [chromium] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking ─────────────────────────────── [firefox] › pages/pui_part.spec.ts:5:1 › Pages - Part - Locking ──────────────────────────────── 4 flaky [chromium] › pui_general.spec.ts:71:1 › Sales ────────────────────────────────────────────────── [firefox] › pages/pui_part.spec.ts:245:1 › Pages - Part - 404 ────────────────────────────────── [firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ─────────────────────────────────────────── [firefox] › pui_general.spec.ts:71:1 › Sales ─────────────────────────────────────────────────── 108 passed (16.1m)

Artifacts

Produced during runtime
Name Size
playwright-report
46.7 MB