[PUI] Fix stock actions #15935
Annotations
10 errors, 5 warnings, and 1 notice
Run Playwright tests:
src/frontend/tests/pages/pui_build.spec.ts#L1
1) [chromium] › pages/pui_build.spec.ts:166:1 › Build Order - Allocation ─────────────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
src/frontend/tests/pages/pui_build.spec.ts#L197
1) [chromium] › pages/pui_build.spec.ts:166:1 › Build Order - Allocation ─────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('cell', { name: '# 7' }).locator('xpath=ancestor::tr').first().getByText('3 / 4') to be visible
195 |
196 | // Expecting 3/4 allocated outputs
> 197 | await output7.getByText('3 / 4').waitFor();
| ^
198 |
199 | // Expecting 0/3 completed tests
200 | await output7.getByText('0 / 3').waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_build.spec.ts:197:36
|
Run Playwright tests:
src/frontend/tests/baseFixtures.ts#L85
2) [chromium] › pages/pui_dashboard.spec.ts:5:1 › Dashboard - Basic ──────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 44
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [],
+ "location": Object {
+ "columnNumber": 0,
+ "lineNumber": 0,
+ "url": "http://localhost:8000/api/",
+ },
+ "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@551957c8eb4b68ed166c29d7f8b79755",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "Failed to load resource: the server responded with a status of 500 (Internal Server Error)",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@551957c8eb4b68ed166c29d7f8b79755",
+ "_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)
|
Run Playwright tests:
src/frontend/tests/pages/pui_part.spec.ts#L1
3) [chromium] › pages/pui_part.spec.ts:267:1 › Parts - Pricing (Internal) ────────────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
src/frontend/tests/pages/pui_part.spec.ts#L272
3) [chromium] › pages/pui_part.spec.ts:267:1 › Parts - Pricing (Internal) ────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('Socket head cap screw, M2') to be visible
270 | // Part
271 | await page.goto(`${baseUrl}/part/65/pricing`);
> 272 | await page.getByText('Socket head cap screw, M2').waitFor();
| ^
273 | await page.getByRole('tab', { name: 'Part Pricing' }).click();
274 | await page.getByLabel('Part Pricing').getByText('Part Pricing').waitFor();
275 | await page.getByRole('button', { name: 'Pricing Overview' }).waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:272:53
|
Run Playwright tests:
src/frontend/tests/pages/pui_purchase_order.spec.ts#L1
4) [chromium] › pages/pui_purchase_order.spec.ts:5:1 › Purchase Orders - General ─────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
src/frontend/tests/login.ts#L37
4) [chromium] › pages/pui_purchase_order.spec.ts:5:1 › Purchase Orders - General ─────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText(/InvenTree Demo Server -/) to be visible
at login.ts:37
35 | await page.waitForURL('**/platform/home');
36 |
> 37 | await page.getByText(/InvenTree Demo Server -/).waitFor();
| ^
38 | };
39 |
40 | export const doLogout = async (page) => {
at doQuickLogin (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/login.ts:37:51)
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_purchase_order.spec.ts:6:3
|
Run Playwright tests:
src/frontend/tests/pui_plugins.spec.ts#L1
5) [chromium] › pui_plugins.spec.ts:7:1 › Plugins - Panels ───────────────────────────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
src/frontend/tests/pui_plugins.spec.ts#L39
5) [chromium] › pui_plugins.spec.ts:7:1 › Plugins - Panels ───────────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('tab', { name: 'Broken Panel' })
37 | // Check out each of the plugin panels
38 |
> 39 | await page.getByRole('tab', { name: 'Broken Panel' }).click();
| ^
40 | await page.waitForTimeout(500);
41 |
42 | await page.getByText('Error occurred while loading plugin content').waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_plugins.spec.ts:39:57
|
Run Playwright tests:
src/frontend/tests/pages/pui_build.spec.ts#L1
6) [firefox] › pages/pui_build.spec.ts:10:1 › Build Order - Basic Tests ──────────────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
src/frontend/[chromium] › pages/pui_sales_order.spec.ts#L1
src/frontend/[chromium] › pages/pui_sales_order.spec.ts took 29.6s
|
Run Playwright tests:
src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 25.5s
|
Run Playwright tests:
src/frontend/[firefox] › settings/selectionList.spec.ts#L1
src/frontend/[firefox] › settings/selectionList.spec.ts took 18.0s
|
Run Playwright tests:
src/frontend/[firefox] › modals.spec.ts#L1
src/frontend/[firefox] › modals.spec.ts took 16.4s
|
Run Playwright tests:
src/frontend/[firefox] › pui_command.spec.ts#L1
src/frontend/[firefox] › pui_command.spec.ts took 16.0s
|
Run Playwright tests
10 flaky
[chromium] › pages/pui_build.spec.ts:166:1 › Build Order - Allocation ──────────────────────────
[chromium] › pages/pui_dashboard.spec.ts:5:1 › Dashboard - Basic ───────────────────────────────
[chromium] › pages/pui_part.spec.ts:267:1 › Parts - Pricing (Internal) ─────────────────────────
[chromium] › pages/pui_purchase_order.spec.ts:5:1 › Purchase Orders - General ──────────────────
[chromium] › pui_plugins.spec.ts:7:1 › Plugins - Panels ────────────────────────────────────────
[firefox] › pages/pui_build.spec.ts:10:1 › Build Order - Basic Tests ───────────────────────────
[firefox] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ─────────────────────────────────
[firefox] › pages/pui_stock.spec.ts:158:1 › Stock - Stock Actions ──────────────────────────────
[firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ──────────────────────────────────
[firefox] › pui_tables.spec.ts:23:1 › Tables - Filters ─────────────────────────────────────────
126 passed (16.5m)
|
Loading