fix migrations #4880
qc_checks.yaml
on: push
Filter
7s
Build - UI Platform
2m 2s
Style [Documentation]
37s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
5m 52s
Tests - DB [PostgreSQL]
14m 56s
Tests - DB [MySQL]
14m 43s
Tests - Platform UI
22m 21s
Matrix: coverage
Style - Classic UI [JS]
1m 30s
Push new schema
0s
Annotations
11 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
|
[chromium] › pages/pui_part.spec.ts:73:1 › Parts - Locking:
src/frontend/tests/pages/pui_part.spec.ts#L1
1) [chromium] › pages/pui_part.spec.ts:73:1 › Parts - Locking ────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_part.spec.ts:73:1 › Parts - Locking:
src/frontend/tests/login.ts#L37
1) [chromium] › pages/pui_part.spec.ts:73:1 › Parts - Locking ────────────────────────────────────
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/pages/pui_part.spec.ts:74:3
|
[chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L1
2) [chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L124
2) [chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('BO0001') to be visible
122 |
123 | // Expected order reference values
> 124 | await page.getByText('BO0001').waitFor();
| ^
125 | await page.getByText('BO0016').waitFor();
126 | await page.getByText('BO0019').waitFor();
127 | await page.getByText('SO0008').waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:124:34
|
[chromium] › pages/pui_stock.spec.ts:161:1 › Stock - Tracking:
src/frontend/tests/pages/pui_stock.spec.ts#L1
3) [chromium] › pages/pui_stock.spec.ts:161:1 › Stock - Tracking ─────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_stock.spec.ts:161:1 › Stock - Tracking:
src/frontend/tests/login.ts#L37
3) [chromium] › pages/pui_stock.spec.ts:161:1 › Stock - Tracking ─────────────────────────────────
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/pages/pui_stock.spec.ts:162:3
|
[chromium] › pui_general.spec.ts:96:1 › Admin Button:
src/frontend/tests/baseFixtures.ts#L85
4) [chromium] › pui_general.spec.ts:96:1 › Admin Button ──────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 86
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/test-admin/jsi18n/",
+ },
+ "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@77c17cbe029ef43893470a90abfd309b",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "Failed to load resource: the server responded with a status of 500 (Internal Server Error)",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@77c17cbe029ef43893470a90abfd309b",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/test-admin/company/company/1/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@77c17cbe029ef43893470a90abfd309b",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "Refused to execute script from 'http://localhost:8000/test-admin/jsi18n/' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@77c17cbe029ef43893470a90abfd309b",
+ "_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)
|
[firefox] › pages/pui_part.spec.ts:8:1 › Parts - Tabs:
src/frontend/tests/pages/pui_part.spec.ts#L1
5) [firefox] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ─────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pages/pui_part.spec.ts:8:1 › Parts - Tabs:
src/frontend/tests/baseFixtures.ts#L85
5) [firefox] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ─────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 60
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@ff33afe690a7e8ae25b47a0cd6fa165e",
+ "_type": "JSHandle",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ ],
+ "location": Object {
+ "columnNumber": 1,
+ "lineNumber": 0,
+ "url": "http://localhost:5173/platform/part/category/index/parts",
+ },
+ "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@9591da5b4f84f2f66403f96e13a6a903",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/enums/ModelType.tsx” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/part/category/index/parts\" line: 0}]",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@9591da5b4f84f2f66403f96e13a6a903",
+ "_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)
|
[firefox] › pages/pui_part.spec.ts:8:1 › Parts - Tabs:
src/frontend/tests/pages/pui_part.spec.ts#L42
5) [firefox] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ─────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('Blue Chair')
40 |
41 | await page.goto(`${baseUrl}/part/category/index/parts`);
> 42 | await page.getByText('Blue Chair').click();
| ^
43 | await page.getByRole('tab', { name: 'Bill of Materials' }).click();
44 | await page.getByRole('tab', { name: 'Build Orders' }).click();
45 | });
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:42:38
|
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] › settings/selectionList.spec.ts#L1
src/frontend/[firefox] › settings/selectionList.spec.ts took 24.5s
|
Slow Test:
src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 22.5s
|
Slow Test:
src/frontend/[firefox] › modals.spec.ts#L1
src/frontend/[firefox] › modals.spec.ts took 19.8s
|
Slow Test:
src/frontend/[chromium] › settings/selectionList.spec.ts#L1
src/frontend/[chromium] › settings/selectionList.spec.ts took 17.8s
|
Slow Test:
src/frontend/[firefox] › pui_command.spec.ts#L1
src/frontend/[firefox] › pui_command.spec.ts took 17.2s
|
🎭 Playwright Run Summary
11 flaky
[chromium] › pages/pui_part.spec.ts:73:1 › Parts - Locking ─────────────────────────────────────
[chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ─────────────────────────────────
[chromium] › pages/pui_stock.spec.ts:161:1 › Stock - Tracking ──────────────────────────────────
[chromium] › pui_general.spec.ts:96:1 › Admin Button ───────────────────────────────────────────
[firefox] › pages/pui_part.spec.ts:8:1 › Parts - Tabs ──────────────────────────────────────────
[firefox] › pages/pui_part.spec.ts:73:1 › Parts - Locking ──────────────────────────────────────
[firefox] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ──────────────────────────────────
[firefox] › pages/pui_part.spec.ts:218:1 › Parts - Pricing (Supplier) ──────────────────────────
[firefox] › pages/pui_purchase_order.spec.ts:4:1 › Purchase Orders - General ───────────────────
[firefox] › pages/pui_stock.spec.ts:118:1 › Stock - Stock Actions ──────────────────────────────
[firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ──────────────────────────────────
117 passed (15.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.21 MB |
|
schema.yml
|
64.5 KB |
|