Remove unused function #14898
qc_checks.yaml
on: pull_request
Filter
7s
Build - UI Platform
1m 59s
Style [Documentation]
37s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
0s
Tests - DB [PostgreSQL]
0s
Tests - DB [MySQL]
0s
Tests - Platform UI
19m 44s
Matrix: coverage
Style - Classic UI [JS]
1m 33s
Push new schema
0s
Annotations
6 errors, 8 warnings, and 1 notice
[chromium] › pages/pui_scan.spec.ts:90:1 › Pages - Index - Scan (General):
src/frontend/tests/baseFixtures.ts#L83
1) [chromium] › pages/pui_scan.spec.ts:90:1 › Pages - Index - Scan (General) ─────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 128
- 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@756466182cbeba39755ead8c5d5c685c",
+ "_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@756466182cbeba39755ead8c5d5c685c",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/generic/status/",
+ },
+ "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@756466182cbeba39755ead8c5d5c685c",
+ "_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@756466182cbeba39755ead8c5d5c685c",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/settings/user/",
+ },
+ "page": EventEmitter {
+ "_events": Object {
+ "bindingCall": [Function anonymous],
+ "close": [Function anonymous],
+ "crash": [Function anonymous],
+ "download
|
[chromium] › pui_general.spec.ts:71:1 › Sales:
src/frontend/tests/pui_general.spec.ts#L1
2) [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#L83
2) [chromium] › pui_general.spec.ts:71:1 › Sales ─────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 2259
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/order/so/?customer_detail=true&customer=30",
+ },
+ "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@953864c2845cdf56cd52dfdd512ba58b",
+ "_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@953864c2845cdf56cd52dfdd512ba58b",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/user/owner/?is_active=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@953864c2845cdf56cd52dfdd512ba58b",
+ "_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@953864c2845cdf56cd52dfdd512ba58b",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/project-code/",
+ },
+ "page": EventEmitter {
+ "_events": Object {
+ "bindingCall": [Function anonymous],
+ "close": [Function anonymous],
+ "crash": [Function
|
[chromium] › pui_general.spec.ts:71:1 › Sales:
src/frontend/tests/pui_general.spec.ts#L115
2) [chromium] › pui_general.spec.ts:71:1 › 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
|
[firefox] › pui_general.spec.ts:71:1 › Sales:
src/frontend/tests/pui_general.spec.ts#L1
3) [firefox] › pui_general.spec.ts:71:1 › Sales ──────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[firefox] › pui_general.spec.ts:71:1 › Sales:
src/frontend/tests/pui_general.spec.ts#L91
3) [firefox] › pui_general.spec.ts:71:1 › Sales ──────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('cell', { name: 'Dorathy Gross' }) to be visible
89 | await page.getByRole('tab', { name: 'Sales Orders' }).click();
90 | await page.getByRole('tab', { name: 'Contacts' }).click();
> 91 | await page.getByRole('cell', { name: 'Dorathy Gross' }).waitFor();
| ^
92 | await page
93 | .getByRole('row', { name: 'Dorathy Gross dorathy.gross@customer.com' })
94 | .waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:91:59
|
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 - 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 32.5s
|
Slow Test:
src/frontend/[chromium] › pui_stock.spec.ts#L1
src/frontend/[chromium] › pui_stock.spec.ts took 31.7s
|
Slow Test:
src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 25.6s
|
Slow Test:
src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 23.4s
|
Slow Test:
src/frontend/[chromium] › pui_printing.spec.ts#L1
src/frontend/[chromium] › pui_printing.spec.ts took 21.6s
|
🎭 Playwright Run Summary
3 flaky
[chromium] › pages/pui_scan.spec.ts:90:1 › Pages - Index - Scan (General) ──────────────────────
[chromium] › pui_general.spec.ts:71:1 › Sales ──────────────────────────────────────────────────
[firefox] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────────
103 passed (12.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-build
Expired
|
2.05 MB |
|