Skip to content

[PUI] Set password #16431

[PUI] Set password

[PUI] Set password #16431

Triggered via pull request December 26, 2024 11:40
Status Failure
Total duration 27m 19s
Artifacts 2

qc_checks.yaml

on: pull_request
Build - UI Platform
2m 2s
Build - UI Platform
Style [pre-commit]
34s
Style [pre-commit]
Tests - API Schema Documentation
0s
Tests - API Schema Documentation
Style [Documentation]
32s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
0s
Tests - inventree-python
Tests - DB [PostgreSQL]
0s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
0s
Tests - DB [MySQL]
Tests - Platform UI
26m 18s
Tests - Platform UI
Security [Zizmor]
0s
Security [Zizmor]
Matrix: coverage
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 6 warnings, and 1 notice
[chromium] › pui_login.spec.ts:99:1 › Login - Change Password: src/frontend/tests/baseFixtures.ts#L85
1) [chromium] › pui_login.spec.ts:99:1 › Login - Change Password ───────────────────────────────── 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/auth/password/change/", + }, + "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@6584506e0de408ca7b89d768b02bbbec", + "_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@6584506e0de408ca7b89d768b02bbbec", + "_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)
[chromium] › pui_login.spec.ts:99:1 › Login - Change Password: src/frontend/tests/pui_login.spec.ts#L1
1) [chromium] › pui_login.spec.ts:99:1 › Login - Change Password ───────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_login.spec.ts:99:1 › Login - Change Password: src/frontend/tests/login.ts#L37
1) [chromium] › pui_login.spec.ts:99:1 › Login - Change Password ───────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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/pui_login.spec.ts:100:3
[chromium] › pui_login.spec.ts:99:1 › Login - Change Password: src/frontend/tests/pui_login.spec.ts#L1
1) [chromium] › pui_login.spec.ts:99:1 › Login - Change Password ───────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_login.spec.ts:99:1 › Login - Change Password: src/frontend/tests/login.ts#L37
1) [chromium] › pui_login.spec.ts:99:1 › Login - Change Password ───────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── 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/pui_login.spec.ts:100:3
[firefox] › pui_login.spec.ts:99:1 › Login - Change Password: src/frontend/tests/pui_login.spec.ts#L1
2) [firefox] › pui_login.spec.ts:99:1 › Login - Change Password ────────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pui_login.spec.ts:99:1 › Login - Change Password: src/frontend/tests/login.ts#L37
2) [firefox] › pui_login.spec.ts:99:1 › Login - Change Password ────────────────────────────────── 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/pui_login.spec.ts:100:3
[firefox] › pui_login.spec.ts:99:1 › Login - Change Password: src/frontend/tests/pui_login.spec.ts#L1
2) [firefox] › pui_login.spec.ts:99:1 › Login - Change Password ────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pui_login.spec.ts:99:1 › Login - Change Password: src/frontend/tests/login.ts#L37
2) [firefox] › pui_login.spec.ts:99:1 › Login - Change Password ────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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/pui_login.spec.ts:100:3
[firefox] › pui_login.spec.ts:99:1 › Login - Change Password: src/frontend/tests/pui_login.spec.ts#L1
2) [firefox] › pui_login.spec.ts:99:1 › Login - Change Password ────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
Filter
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: src/frontend/[chromium] › pages/pui_purchase_order.spec.ts#L1
src/frontend/[chromium] › pages/pui_purchase_order.spec.ts took 45.5s
Slow Test: src/frontend/[firefox] › pui_plugins.spec.ts#L1
src/frontend/[firefox] › pui_plugins.spec.ts took 33.6s
Slow Test: src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 26.5s
Slow Test: src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 24.2s
Slow Test: src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 19.8s
🎭 Playwright Run Summary
2 failed [chromium] › pui_login.spec.ts:99:1 › Login - Change Password ────────────────────────────────── [firefox] › pui_login.spec.ts:99:1 › Login - Change Password ─────────────────────────────────── 11 flaky [chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ──────────────────────────────── [chromium] › pages/pui_part.spec.ts:165:1 › Parts - Pricing (Nothing, BOM) ───────────────────── [chromium] › pages/pui_part.spec.ts:215:1 › Parts - Pricing (Supplier) ───────────────────────── [chromium] › pages/pui_sales_order.spec.ts:6:1 › Sales Orders - Basic Tests ──────────────────── [chromium] › pui_login.spec.ts:36:1 › Login - Quick Test ─────────────────────────────────────── [chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ───────────────────────────────── [firefox] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ───────────────────────────────── [firefox] › pages/pui_part.spec.ts:215:1 › Parts - Pricing (Supplier) ────────────────────────── [firefox] › pages/pui_purchase_order.spec.ts:56:1 › Purchase Orders - Filters ────────────────── [firefox] › pages/pui_stock.spec.ts:158:1 › Stock - Stock Actions ────────────────────────────── [firefox] › settings/selectionList.spec.ts:5:1 › PUI - Admin - Parameter ─────────────────────── 125 passed (20.2m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.27 MB
playwright-report Expired
52.1 MB