Skip to content

[Pricing] Add option to convert received items currency #17015

[Pricing] Add option to convert received items currency

[Pricing] Add option to convert received items currency #17015

Triggered via pull request January 29, 2025 12:11
Status Failure
Total duration 29m 3s
Artifacts 3

qc_checks.yaml

on: pull_request
Build - UI Platform
2m 10s
Build - UI Platform
Style [pre-commit]
34s
Style [pre-commit]
Tests - API Schema Documentation
2m 23s
Tests - API Schema Documentation
Style [Documentation]
48s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
3m 38s
Tests - inventree-python
Tests - DB [PostgreSQL]
13m 21s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
13m 29s
Tests - DB [MySQL]
Tests - Platform UI
28m 2s
Tests - Platform UI
Security [Zizmor]
51s
Security [Zizmor]
Matrix: coverage
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 6 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
[chromium] › pui_printing.spec.ts:55:1 › Report Printing: src/frontend/tests/pui_printing.spec.ts#L1
1) [chromium] › pui_printing.spec.ts:55:1 › Report Printing ────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_printing.spec.ts:55:1 › Report Printing: src/frontend/tests/pui_printing.spec.ts#L78
1) [chromium] › pui_printing.spec.ts:55:1 › Report Printing ────────────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for locator('#form-success') to be visible 76 | await page.getByRole('button', { name: 'Generate', exact: true }).click(); 77 | > 78 | await page.locator('#form-success').waitFor(); | ^ 79 | await page.getByText('Report printing completed').waitFor(); 80 | 81 | await page.context().close(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_printing.spec.ts:78:39
[chromium] › pui_printing.spec.ts:55:1 › Report Printing: src/frontend/tests/pui_printing.spec.ts#L1
1) [chromium] › pui_printing.spec.ts:55:1 › Report Printing ────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_printing.spec.ts:55:1 › Report Printing: src/frontend/tests/pui_printing.spec.ts#L78
1) [chromium] › pui_printing.spec.ts:55:1 › Report Printing ────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for locator('#form-success') to be visible 76 | await page.getByRole('button', { name: 'Generate', exact: true }).click(); 77 | > 78 | await page.locator('#form-success').waitFor(); | ^ 79 | await page.getByText('Report printing completed').waitFor(); 80 | 81 | await page.context().close(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_printing.spec.ts:78:39
[chromium] › pui_printing.spec.ts:55:1 › Report Printing: src/frontend/tests/pui_printing.spec.ts#L1
1) [chromium] › pui_printing.spec.ts:55:1 › Report Printing ────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_printing.spec.ts:55:1 › Report Printing: src/frontend/tests/pui_printing.spec.ts#L78
1) [chromium] › pui_printing.spec.ts:55:1 › Report Printing ────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for locator('#form-success') to be visible 76 | await page.getByRole('button', { name: 'Generate', exact: true }).click(); 77 | > 78 | await page.locator('#form-success').waitFor(); | ^ 79 | await page.getByText('Report printing completed').waitFor(); 80 | 81 | await page.context().close(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_printing.spec.ts:78:39
[chromium] › pui_printing.spec.ts:84:1 › Report Editing: src/frontend/tests/pui_printing.spec.ts#L1
2) [chromium] › pui_printing.spec.ts:84:1 › Report Editing ─────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_printing.spec.ts:84:1 › Report Editing: src/frontend/tests/baseFixtures.ts#L86
2) [chromium] › pui_printing.spec.ts:84:1 › Report Editing ─────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 88 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/media/report/label/stockitem_qr.html", + }, + "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], + "webSocketRoute": [Function anonymous], + "worker": [Function anonymous], + }, + "_eventsCount": 13, + "_maxListeners": undefined, + "_object": Object { + "_guid": "page@2cb81318ab2774801f5ebdd434a828ce", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "Failed to load resource: the server responded with a status of 404 (Not Found)", + "type": "error", + }, + "_page": Object { + "_guid": "page@2cb81318ab2774801f5ebdd434a828ce", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/media/report/label/stockitem_qr.html", + }, + "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], + "webSocketRoute": [Function anonymous], + "worker": [Function anonymous], + }, + "_eventsCount": 13, + "_maxListeners": undefined, + "_object": Object { + "_guid": "page@2cb81318ab2774801f5ebdd434a828ce", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "Failed to load resource: the server responded with a status of 404 (Not Found)", + "type": "error", + }, + "_page": Object { + "_guid": "page@2cb81318ab2774801f5ebdd434a828ce", + "_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_printing.spec.ts:84:1 › Report Editing: src/frontend/tests/pui_printing.spec.ts#L113
2) [chromium] › pui_printing.spec.ts:84:1 › Report Editing ─────────────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText('The preview has been updated') to be visible 111 | await page.getByRole('button', { name: 'Save & Reload' }).click(); 112 | > 113 | await page.getByText('The preview has been updated').waitFor(); | ^ 114 | 115 | // Test plugin provided editors 116 | await page.getByRole('tab', { name: 'Sample Template Editor' }).click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_printing.spec.ts:113:56
[chromium] › pui_printing.spec.ts:84:1 › Report Editing: src/frontend/tests/pui_printing.spec.ts#L1
2) [chromium] › pui_printing.spec.ts:84:1 › Report Editing ─────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
Playwright
You are using a frozen webkit browser which does not receive updates anymore on ubuntu20.04-x64. Please update to the latest version of your operating system to test up-to-date browsers.
Slow Test: src/frontend/[firefox] › pages/pui_build.spec.ts#L1
src/frontend/[firefox] › pages/pui_build.spec.ts took 1.2m
Slow Test: src/frontend/[firefox] › pui_tables.spec.ts#L1
src/frontend/[firefox] › pui_tables.spec.ts took 51.0s
Slow Test: src/frontend/[chromium] › pages/pui_stock.spec.ts#L1
src/frontend/[chromium] › pages/pui_stock.spec.ts took 47.2s
Slow Test: src/frontend/[firefox] › pui_forms.spec.ts#L1
src/frontend/[firefox] › pui_forms.spec.ts took 38.4s
Slow Test: src/frontend/[chromium] › pages/pui_scan.spec.ts#L1
src/frontend/[chromium] › pages/pui_scan.spec.ts took 33.8s
🎭 Playwright Run Summary
5 failed [chromium] › pui_printing.spec.ts:55:1 › Report Printing ─────────────────────────────────────── [chromium] › pui_printing.spec.ts:84:1 › Report Editing ──────────────────────────────────────── [firefox] › pages/pui_purchase_order.spec.ts:173:1 › Purchase Orders - Order Parts ───────────── [firefox] › pui_printing.spec.ts:55:1 › Report Printing ──────────────────────────────────────── [firefox] › pui_printing.spec.ts:84:1 › Report Editing ───────────────────────────────────────── 8 flaky [chromium] › pages/pui_part.spec.ts:67:1 › Parts - Supplier Parts ────────────────────────────── [chromium] › pages/pui_sales_order.spec.ts:57:1 › Sales Orders - Basic Tests ─────────────────── [chromium] › pages/pui_sales_order.spec.ts:100:1 › Sales Orders - Shipments ──────────────────── [chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ───────────────────────────────── [firefox] › pages/pui_part.spec.ts:9:1 › Parts - Tabs ────────────────────────────────────────── [firefox] › pages/pui_part.spec.ts:275:1 › Parts - Pricing (Internal) ────────────────────────── [firefox] › pages/pui_stock.spec.ts:11:1 › Stock - Basic Tests ───────────────────────────────── [firefox] › pui_general.spec.ts:5:1 › Company ────────────────────────────────────────────────── 127 passed (23.0m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.33 MB
playwright-report
74.4 MB
schema.yml
65.3 KB