[API] Sales order filters #15223
Annotations
10 errors, 6 warnings, and 1 notice
src/frontend/tests/pages/pui_stock.spec.ts#L1
1) [chromium] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ────────────────────────────
Test timeout of 90000ms exceeded.
|
src/frontend/tests/baseFixtures.ts#L85
1) [chromium] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 416
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/stock/",
+ },
+ "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@fc9541296d4c2655ec4af90b9fdffac6",
+ "_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@fc9541296d4c2655ec4af90b9fdffac6",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/stock/?part=73&part_detail=true&location_detail=true&supplier_part_detail=true&limit=25&offset=0",
+ },
+ "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@fc9541296d4c2655ec4af90b9fdffac6",
+ "_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@fc9541296d4c2655ec4af90b9fdffac6",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/stock/",
+ },
+ "page": EventEmitter {
+ "_events": Object {
+ "bindingCall": [Function anonymous],
+ "close": [Function anonymous],
+
|
src/frontend/tests/pages/pui_stock.spec.ts#L80
1) [chromium] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ────────────────────────────
Error: locator.fill: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByLabel('text-field-serial_numbers')
78 |
79 | // Initially fill with invalid serial/quantity combinations
> 80 | await page.getByLabel('text-field-serial_numbers').fill('200-250');
| ^
81 | await page.getByLabel('number-field-quantity').fill('10');
82 |
83 | // Add delay to account to field debounce
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_stock.spec.ts:80:54
|
src/frontend/tests/pages/pui_stock.spec.ts#L1
2) [firefox] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ─────────────────────────────
Test timeout of 90000ms exceeded.
|
src/frontend/tests/pages/pui_stock.spec.ts#L89
2) [firefox] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ─────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('Errors exist for one or more form fields') to be visible
87 |
88 | // Expected error messages
> 89 | await page.getByText('Errors exist for one or more form fields').waitFor();
| ^
90 | await page
91 | .getByText(/exceeds allowed quantity/)
92 | .first()
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_stock.spec.ts:89:68
|
src/frontend/tests/pui_basic.spec.ts#L1
3) [firefox] › pui_basic.spec.ts:38:1 › Quick Login Test ─────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
src/frontend/tests/baseFixtures.ts#L85
3) [firefox] › pui_basic.spec.ts:38:1 › Quick Login Test ─────────────────────────────────────────
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@fa2df1bd0293ddbe5c6e0e0f74773a42",
+ "_type": "JSHandle",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ ],
+ "location": Object {
+ "columnNumber": 1,
+ "lineNumber": 0,
+ "url": "http://localhost:5173/platform/logout/",
+ },
+ "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@98d2fdd3d8182ef81057f53232966c61",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/defaults/backendMappings.tsx” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/logout/\" line: 0}]",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@98d2fdd3d8182ef81057f53232966c61",
+ "_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)
|
src/frontend/tests/pui_basic.spec.ts#L56
3) [firefox] › pui_basic.spec.ts:38:1 › Quick Login Test ─────────────────────────────────────────
Error: page.waitForURL: Test timeout of 90000ms exceeded.
=========================== logs ===========================
waiting for navigation to "**/platform/login" until "load"
============================================================
54 | // Logout (via URL)
55 | await page.goto(`${baseUrl}/logout/`);
> 56 | await page.waitForURL('**/platform/login');
| ^
57 | await page.getByLabel('username');
58 | });
59 |
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_basic.spec.ts:56:14
|
src/frontend/tests/pui_general.spec.ts#L1
4) [firefox] › pui_general.spec.ts:71:1 › Sales ──────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
src/frontend/tests/pui_general.spec.ts#L102
4) [firefox] › pui_general.spec.ts:71:1 › Sales ──────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByLabel('Order Details').getByText('Selling some stuff') to be visible
100 | .getByLabel('Order Details')
101 | .getByText('Selling some stuff')
> 102 | .waitFor();
| ^
103 | await page.getByRole('tab', { name: 'Line Items' }).click();
104 | await page.getByRole('tab', { name: 'Shipments' }).click();
105 | await page.getByRole('tab', { name: 'Build Orders' }).click();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:102:6
|
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/
|
src/frontend/[chromium] › pui_general.spec.ts#L1
src/frontend/[chromium] › pui_general.spec.ts took 1.1m
|
src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 35.1s
|
src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 23.2s
|
src/frontend/[firefox] › pui_command.spec.ts#L1
src/frontend/[firefox] › pui_command.spec.ts took 19.3s
|
src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 19.3s
|
4 flaky
[chromium] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ─────────────────────────────
[firefox] › pages/pui_stock.spec.ts:52:1 › Stock - Serial Numbers ──────────────────────────────
[firefox] › pui_basic.spec.ts:38:1 › Quick Login Test ──────────────────────────────────────────
[firefox] › pui_general.spec.ts:71:1 › Sales ───────────────────────────────────────────────────
106 passed (14.2m)
|
The logs for this run have expired and are no longer available.
Loading