A bit more testing #14870
qc_checks.yaml
on: pull_request
Filter
4s
Build - UI Platform
1m 59s
Style [Documentation]
36s
Tests - Migrations [PostgreSQL]
27m 21s
Tests - Full Migration [SQLite]
2m 57s
Tests - inventree-python
5m 3s
Tests - DB [PostgreSQL]
13m 9s
Tests - DB [MySQL]
13m 11s
Tests - Platform UI
18m 16s
Matrix: coverage
Style - Classic UI [JS]
1m 24s
Push new schema
0s
Annotations
5 errors, 8 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
|
[firefox] › pages/pui_orders.spec.ts:64:1 › PUI - Purchase Orders - Barcodes:
src/frontend/tests/baseFixtures.ts#L47
1) [firefox] › pages/pui_orders.spec.ts:64:1 › PUI - Purchase Orders - Barcodes ──────────────────
Error: page.evaluate: Execution context was destroyed, most likely because of a navigation
at baseFixtures.ts:47
45 | await use(context);
46 | for (const page of context.pages()) {
> 47 | await page.evaluate(() =>
| ^
48 | (window as any).collectIstanbulCoverage(
49 | JSON.stringify((window as any).__coverage__)
50 | )
at Object.context (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:47:18)
|
[firefox] › pui_general.spec.ts:71:1 › PUI - Sales:
src/frontend/tests/pui_general.spec.ts#L1
2) [firefox] › pui_general.spec.ts:71:1 › PUI - Sales ────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pui_general.spec.ts:71:1 › PUI - Sales:
src/frontend/tests/baseFixtures.ts#L83
2) [firefox] › pui_general.spec.ts:71:1 › PUI - Sales ────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 75
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@27d6cfc00a322efdfac250acedefab71",
+ "_type": "JSHandle",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@9b5b6e96dcac68fa97e6d73ea4800c95",
+ "_type": "JSHandle",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ ],
+ "location": Object {
+ "columnNumber": 19,
+ "lineNumber": 2599,
+ "url": "http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=6d20d898",
+ },
+ "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@5d8bcd8d101154cd2699d6aaec31227d",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "Failed to fetch plugin panels: JSHandle@object",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@5d8bcd8d101154cd2699d6aaec31227d",
+ "_type": "Page",
+ },
+ },
+ ]
at baseFixtures.ts:83
81 | });
82 | await use(page);
> 83 | expect(messages).toEqual([]);
| ^
84 | }
85 | });
86 |
at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:83:22)
|
[firefox] › pui_general.spec.ts:71:1 › PUI - Sales:
src/frontend/tests/pui_general.spec.ts#L115
2) [firefox] › pui_general.spec.ts:71:1 › PUI - Sales ────────────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('cell', { name: 'RMA-' })
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();
117 | await page.getByRole('tab', { name: 'Line Items' }).click();
118 | await page.getByRole('tab', { name: 'Attachments' }).click();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:115:50
|
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 33.2s
|
Slow Test:
src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 24.1s
|
Slow Test:
src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 19.2s
|
Slow Test:
src/frontend/[firefox] › pui_basic.spec.ts#L1
src/frontend/[firefox] › pui_basic.spec.ts took 15.7s
|
🎭 Playwright Run Summary
2 flaky
[firefox] › pages/pui_orders.spec.ts:64:1 › PUI - Purchase Orders - Barcodes ───────────────────
[firefox] › pui_general.spec.ts:71:1 › PUI - Sales ─────────────────────────────────────────────
100 passed (11.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
|
2.05 MB |
|
schema.yml
|
62.6 KB |
|