Purchase order approvals and "ready" state #13691
Annotations
7 errors, 8 warnings, and 2 notices
src/frontend/tests/pages/pui_part.spec.ts#L1
1) [chromium] › pages/pui_part.spec.ts:75:1 › PUI - Pages - Part - Pricing (Supplier) ────────────
Test timeout of 90000ms exceeded.
|
src/frontend/tests/login.ts#L38
1) [chromium] › pages/pui_part.spec.ts:75:1 › PUI - Pages - Part - Pricing (Supplier) ────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('heading', { name: 'Welcome to your Dashboard,' }) to be visible
at login.ts:38
36 | await page
37 | .getByRole('heading', { name: 'Welcome to your Dashboard,' })
> 38 | .waitFor();
| ^
39 | };
40 |
41 | export const doLogout = async (page) => {
at doQuickLogin (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/login.ts:38:6)
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:76:3
|
src/frontend/tests/baseFixtures.ts#L81
2) [firefox] › pages/pui_part.spec.ts:271:1 › PUI - Pages - Part - Revision ──────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 110
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@ebca91abecacb3c26e4954a136418bc9",
+ "_type": "JSHandle",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ ],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "",
+ },
+ "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@075f314330bef0b4f187819447e399cd",
+ "_type": "Page",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ "text": "[JavaScript Error: \"downloadable font: download failed (font-family: \"inventree-icon-font-ti\" style:normal weight:400 stretch:100 src index:0): status=2152398850 source: http://localhost:8000/static/tabler-icons/tabler-icons.woff2\"]",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@075f314330bef0b4f187819447e399cd",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@0c28d18455d39e27ba7ef7fc41d52bd4",
+ "_type": "JSHandle",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ ],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "",
+ },
+ "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@075f314330bef0b4f187819447e399cd",
+ "_type": "Page",
+ },
+ Symbol
|
src/frontend/tests/pui_printing.spec.ts#L1
3) [firefox] › pui_printing.spec.ts:54:1 › PUI - Report Printing ─────────────────────────────────
Test timeout of 90000ms exceeded.
|
src/frontend/tests/baseFixtures.ts#L81
3) [firefox] › pui_printing.spec.ts:54:1 › PUI - Report Printing ─────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 56
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@400897fec5c666949eb3b77a61f499c5",
+ "_type": "JSHandle",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ ],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:5173/platform/stock/location/index/",
+ },
+ "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@7ee7fcca850afc44e38ebac9a8887411",
+ "_type": "Page",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ "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/stock/location/index/\" line: 0}]",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@7ee7fcca850afc44e38ebac9a8887411",
+ "_type": "Page",
+ },
+ },
+ ]
at baseFixtures.ts:81
79 | });
80 | await use(page);
> 81 | expect(messages).toEqual([]);
| ^
82 | }
83 | });
84 |
at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:81:22)
|
src/frontend/tests/pui_printing.spec.ts#L61
3) [firefox] › pui_printing.spec.ts:54:1 › PUI - Report Printing ─────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('tab', { name: 'Purchasing' })
59 |
60 | // Navigate to a specific PurchaseOrder
> 61 | await page.getByRole('tab', { name: 'Purchasing' }).click();
| ^
62 | await page.getByRole('cell', { name: 'PO0009' }).click();
63 |
64 | // Select "print report"
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_printing.spec.ts:61:55
|
src/frontend/tests/baseFixtures.ts#L81
3) [firefox] › pui_printing.spec.ts:54:1 › PUI - Report Printing ─────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 56
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@d166b517d92db7099e7c453d0acb2b20",
+ "_type": "JSHandle",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ ],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "",
+ },
+ "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@c9fe0beabed4356635cb508c18c868a7",
+ "_type": "Page",
+ },
+ Symbol(shapeMode): false,
+ Symbol(kCapture): false,
+ },
+ "text": "[JavaScript Error: \"downloadable font: download failed (font-family: \"inventree-icon-font-ti\" style:normal weight:400 stretch:100 src index:0): status=2152398850 source: http://localhost:8000/static/tabler-icons/tabler-icons.woff2\"]",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@c9fe0beabed4356635cb508c18c868a7",
+ "_type": "Page",
+ },
+ },
+ ]
at baseFixtures.ts:81
79 | });
80 | await use(page);
> 81 | expect(messages).toEqual([]);
| ^
82 | }
83 | });
84 |
at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:81:22)
|
The following actions uses Node.js version which is deprecated 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/
|
src/frontend/[firefox] › pui_purchasing.spec.ts#L1
src/frontend/[firefox] › pui_purchasing.spec.ts took 50.7s
|
src/frontend/[chromium] › pui_purchasing.spec.ts#L1
src/frontend/[chromium] › pui_purchasing.spec.ts took 49.1s
|
src/frontend/[firefox] › pui_tables.spec.ts#L1
src/frontend/[firefox] › pui_tables.spec.ts took 36.1s
|
src/frontend/[chromium] › pages/pui_scan.spec.ts#L1
src/frontend/[chromium] › pages/pui_scan.spec.ts took 35.5s
|
src/frontend/[firefox] › pui_stock.spec.ts#L1
src/frontend/[firefox] › pui_stock.spec.ts took 33.3s
|
src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 23.9s
|
src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 19.0s
|
|
3 flaky
[chromium] › pages/pui_part.spec.ts:75:1 › PUI - Pages - Part - Pricing (Supplier) ─────────────
[firefox] › pages/pui_part.spec.ts:271:1 › PUI - Pages - Part - Revision ───────────────────────
[firefox] › pui_printing.spec.ts:54:1 › PUI - Report Printing ──────────────────────────────────
87 passed (10.1m)
|
The logs for this run have expired and are no longer available.
Loading