SalesOrder migration unit test #16564
qc_checks.yaml
on: pull_request
Filter
5s
Build - UI Platform
1m 53s
Style [Documentation]
36s
Tests - Migrations [PostgreSQL]
28m 33s
Tests - Full Migration [SQLite]
2m 52s
Tests - inventree-python
5m 24s
Tests - DB [PostgreSQL]
13m 39s
Tests - DB [MySQL]
13m 18s
Tests - Platform UI
31m 44s
Security [Zizmor]
48s
Matrix: coverage
Push new schema
0s
Annotations
12 errors, 8 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
|
Tests - Migrations [PostgreSQL]
Process completed with exit code 1.
|
[chromium] › pui_login.spec.ts:5:1 › Login - Basic Test:
src/frontend/tests/baseFixtures.ts#L86
1) [chromium] › pui_login.spec.ts:5:1 › Login - Basic Test ───────────────────────────────────────
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/settings/global/",
+ },
+ "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@c4abea95d251f162dee6e25b0b437b63",
+ "_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@c4abea95d251f162dee6e25b0b437b63",
+ "_type": "Page",
+ },
+ },
+ ]
at baseFixtures.ts:86
84 | });
85 | await use(page);
> 86 | expect(messages).toEqual([]);
| ^
87 | }
88 | });
89 |
at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:86:22)
|
[chromium] › pui_login.spec.ts:5:1 › Login - Basic Test:
src/frontend/tests/pui_login.spec.ts#L1
1) [chromium] › pui_login.spec.ts:5:1 › Login - Basic Test ───────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pui_login.spec.ts:5:1 › Login - Basic Test:
src/frontend/tests/pui_login.spec.ts#L29
1) [chromium] › pui_login.spec.ts:5:1 › Login - Basic Test ───────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Ally Access' })
27 |
28 | // Logout (via menu)
> 29 | await page.getByRole('button', { name: 'Ally Access' }).click();
| ^
30 | await page.getByRole('menuitem', { name: 'Logout' }).click();
31 |
32 | await page.waitForURL('**/platform/login');
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_login.spec.ts:29:59
|
[chromium] › pui_login.spec.ts:5:1 › Login - Basic Test:
src/frontend/tests/baseFixtures.ts#L86
1) [chromium] › pui_login.spec.ts:5:1 › Login - Basic Test ───────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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/plugins/ui/features/dashboard/",
+ },
+ "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@620591cf6e02b912b7607b5c4cbdbb72",
+ "_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@620591cf6e02b912b7607b5c4cbdbb72",
+ "_type": "Page",
+ },
+ },
+ ]
at baseFixtures.ts:86
84 | });
85 | await use(page);
> 86 | expect(messages).toEqual([]);
| ^
87 | }
88 | });
89 |
at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:86:22)
|
[firefox] › pages/pui_part.spec.ts:100:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L1
2) [firefox] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ────────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pages/pui_part.spec.ts:100:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L127
2) [firefox] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('BO0001') to be visible
125 |
126 | // Expected order reference values
> 127 | await page.getByText('BO0001').waitFor();
| ^
128 | await page.getByText('BO0016').waitFor();
129 | await page.getByText('BO0019').waitFor();
130 | await page.getByText('SO0008').waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:127:34
|
[firefox] › pages/pui_part.spec.ts:100:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L1
2) [firefox] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pages/pui_part.spec.ts:100:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L127
2) [firefox] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('BO0001') to be visible
125 |
126 | // Expected order reference values
> 127 | await page.getByText('BO0001').waitFor();
| ^
128 | await page.getByText('BO0016').waitFor();
129 | await page.getByText('BO0019').waitFor();
130 | await page.getByText('SO0008').waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:127:34
|
[firefox] › pages/pui_part.spec.ts:100:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L1
2) [firefox] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pages/pui_part.spec.ts:100:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L127
2) [firefox] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('BO0001') to be visible
125 |
126 | // Expected order reference values
> 127 | await page.getByText('BO0001').waitFor();
| ^
128 | await page.getByText('BO0016').waitFor();
129 | await page.getByText('BO0019').waitFor();
130 | await page.getByText('SO0008').waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:127:34
|
Filter
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests - Full Migration [SQLite]
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests - Migrations [PostgreSQL]
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/[firefox] › pui_command.spec.ts#L1
src/frontend/[firefox] › pui_command.spec.ts took 27.5s
|
Slow Test:
src/frontend/[chromium] › pui_command.spec.ts#L1
src/frontend/[chromium] › pui_command.spec.ts took 22.5s
|
Slow Test:
src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 20.9s
|
Slow Test:
src/frontend/[firefox] › modals.spec.ts#L1
src/frontend/[firefox] › modals.spec.ts took 20.0s
|
Slow Test:
src/frontend/[chromium] › settings/selectionList.spec.ts#L1
src/frontend/[chromium] › settings/selectionList.spec.ts took 19.7s
|
🎭 Playwright Run Summary
3 failed
[chromium] › pui_login.spec.ts:5:1 › Login - Basic Test ────────────────────────────────────────
[firefox] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ─────────────────────────────────
[firefox] › pages/pui_part.spec.ts:167:1 › Parts - Pricing (Nothing, BOM) ──────────────────────
11 flaky
[chromium] › pages/pui_build.spec.ts:164:1 › Build Order - Allocation ──────────────────────────
[chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ────────────────────────────────
[chromium] › pages/pui_part.spec.ts:167:1 › Parts - Pricing (Nothing, BOM) ─────────────────────
[chromium] › pages/pui_stock.spec.ts:103:1 › Stock - Serial Numbers ────────────────────────────
[chromium] › pui_settings.spec.ts:127:1 › Settings - Admin - Barcode History ───────────────────
[firefox] › pages/pui_build.spec.ts:164:1 › Build Order - Allocation ───────────────────────────
[firefox] › pages/pui_part.spec.ts:217:1 › Parts - Pricing (Supplier) ──────────────────────────
[firefox] › pages/pui_purchase_order.spec.ts:26:1 › Purchase Orders - Barcodes ─────────────────
[firefox] › pui_login.spec.ts:5:1 › Login - Basic Test ─────────────────────────────────────────
[firefox] › pui_plugins.spec.ts:7:1 › Plugins - Panels ─────────────────────────────────────────
[firefox] › settings/selectionList.spec.ts:5:1 › PUI - Admin - Parameter ───────────────────────
124 passed (23.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.29 MB |
|
playwright-report
Expired
|
62.8 MB |
|
schema.yml
|
65.2 KB |
|