[PUI] Updates for AdminButton #15499
Annotations
10 errors, 6 warnings, and 1 notice
Run Playwright tests:
src/frontend/tests/pages/pui_part.spec.ts#L1
1) [chromium] › pages/pui_part.spec.ts:61:1 › Parts - Supplier Parts ─────────────────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
src/frontend/tests/login.ts#L37
1) [chromium] › pages/pui_part.spec.ts:61:1 › Parts - Supplier Parts ─────────────────────────────
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:49)
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:62:3
|
Run Playwright tests:
src/frontend/tests/pages/pui_build.spec.ts#L1
2) [firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs ────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
src/frontend/tests/pages/pui_build.spec.ts#L135
2) [firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs ────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('cell', { name: '# 1' }).first() to be visible
133 | .getByRole('cell', { name: `# ${sn}` })
134 | .first()
> 135 | .waitFor();
| ^
136 | await page
137 | .getByRole('cell', { name: `# ${sn + 1}` })
138 | .first()
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_build.spec.ts:135:6
|
Run Playwright tests:
src/frontend/tests/pages/pui_part.spec.ts#L1
3) [firefox] › pages/pui_part.spec.ts:299:1 › Parts - Parameters ─────────────────────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
src/frontend/tests/pages/pui_part.spec.ts#L310
3) [firefox] › pages/pui_part.spec.ts:299:1 › Parts - Parameters ─────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByLabel('choice-field-data')
308 | await page.getByLabel('related-field-template').fill('Color');
309 | await page.getByRole('option', { name: 'Color Part color' }).click();
> 310 | await page.getByLabel('choice-field-data').click();
| ^
311 | await page.getByRole('option', { name: 'Green' }).click();
312 |
313 | // Select the "polarized" parameter template (should create a "checkbox" field)
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:310:46
|
Run Playwright tests:
src/frontend/tests/pages/pui_scan.spec.ts#L1
4) [firefox] › pages/pui_scan.spec.ts:90:1 › Pages - Index - Scan (General) ──────────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
src/frontend/tests/baseFixtures.ts#L85
4) [firefox] › pages/pui_scan.spec.ts:90:1 › Pages - Index - Scan (General) ──────────────────────
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@da7acbf89a6becef3d53ef4836462fc1",
+ "_type": "JSHandle",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ ],
+ "location": Object {
+ "columnNumber": 1,
+ "lineNumber": 0,
+ "url": "http://localhost:5173/platform/scan",
+ },
+ "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@7486b16d2539702dae41c07aa4ca1de6",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "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/scan\" line: 0}]",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@7486b16d2539702dae41c07aa4ca1de6",
+ "_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_scan.spec.ts#L9
4) [firefox] › pages/pui_scan.spec.ts:90:1 › Pages - Index - Scan (General) ──────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByPlaceholder('Select input method')
7 |
8 | await page.goto(`${baseUrl}/scan`);
> 9 | await page.getByPlaceholder('Select input method').click();
| ^
10 | await page.getByRole('option', { name: 'Manual input' }).click();
11 | await page.getByPlaceholder('Enter item serial or data').click();
12 |
at defaultScanTest (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_scan.spec.ts:9:54)
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_scan.spec.ts:91:3
|
Run Playwright tests:
src/frontend/tests/pui_printing.spec.ts#L1
5) [firefox] › pui_printing.spec.ts:11:1 › Label Printing ────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
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/
|
Run Playwright tests:
src/frontend/[firefox] › pages/pui_stock.spec.ts#L1
src/frontend/[firefox] › pages/pui_stock.spec.ts took 42.4s
|
Run Playwright tests:
src/frontend/[firefox] › pages/pui_sales_order.spec.ts#L1
src/frontend/[firefox] › pages/pui_sales_order.spec.ts took 36.3s
|
Run Playwright tests:
src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 33.7s
|
Run Playwright tests:
src/frontend/[firefox] › pui_tables.spec.ts#L1
src/frontend/[firefox] › pui_tables.spec.ts took 33.2s
|
Run Playwright tests:
src/frontend/[firefox] › pui_forms.spec.ts#L1
src/frontend/[firefox] › pui_forms.spec.ts took 21.8s
|
Run Playwright tests
5 flaky
[chromium] › pages/pui_part.spec.ts:61:1 › Parts - Supplier Parts ──────────────────────────────
[firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs ─────────────────
[firefox] › pages/pui_part.spec.ts:299:1 › Parts - Parameters ──────────────────────────────────
[firefox] › pages/pui_scan.spec.ts:90:1 › Pages - Index - Scan (General) ───────────────────────
[firefox] › pui_printing.spec.ts:11:1 › Label Printing ─────────────────────────────────────────
117 passed (14.6m)
|
Loading