[Refactor] Custom states #16487
Annotations
10 errors, 4 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:51)
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:62:3
|
Run Playwright tests:
src/frontend/tests/pages/pui_purchase_order.spec.ts#L1
2) [chromium] › pages/pui_purchase_order.spec.ts:6:1 › Purchase Orders ───────────────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
src/frontend/tests/login.ts#L37
2) [chromium] › pages/pui_purchase_order.spec.ts:6:1 › Purchase Orders ───────────────────────────
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:7:3
|
Run Playwright tests:
src/frontend/tests/pui_plugins.spec.ts#L1
3) [chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ────────────────────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
src/frontend/tests/pui_plugins.spec.ts#L87
3) [chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ────────────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Plugin Configuration' })
85 | .getByRole('button', { name: 'Plugin Settings' })
86 | .click();
> 87 | await page.getByRole('button', { name: 'Plugin Configuration' }).click();
| ^
88 |
89 | // Check for expected custom elements
90 | await page
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_plugins.spec.ts:87:68
|
Run Playwright tests:
src/frontend/tests/pui_settings.spec.ts#L160
4) [chromium] › pui_settings.spec.ts:127:1 › Settings - Admin - Barcode History ──────────────────
Error: locator.waitFor: Test ended.
Call log:
- waiting for getByText('ABC1234').first() to be visible
158 | // Barcode history is displayed in table
159 | barcodes.forEach(async (barcode) => {
> 160 | await page.getByText(barcode).first().waitFor();
| ^
161 | });
162 | });
163 |
at forEach (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_settings.spec.ts:160:43)
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_settings.spec.ts:159:12
|
Run Playwright tests:
src/frontend/tests/pages/pui_build.spec.ts#L1
5) [firefox] › pages/pui_build.spec.ts:90:1 › Build Order - Build Outputs ────────────────────────
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
src/frontend/tests/baseFixtures.ts#L86
5) [firefox] › pages/pui_build.spec.ts:90:1 › Build Order - Build Outputs ────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 141
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@a365700a707387ebcfeb39d352e6d237",
+ "_type": "JSHandle",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ ],
+ "location": Object {
+ "columnNumber": 1,
+ "lineNumber": 0,
+ "url": "http://localhost:5173/platform/manufacturing/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@541d5c2aa23fc81d0d57ffecf7d3d0ac",
+ "_type": "Page",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/components/nav/Layout.tsx” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/manufacturing/index/\" line: 0}]",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@541d5c2aa23fc81d0d57ffecf7d3d0ac",
+ "_type": "Page",
+ },
+ },
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@a3cd8ea5e2d68c49cae364f57c61d09b",
+ "_type": "JSHandle",
+ },
+ "_pendingHandlers": Map {},
+ "_rejectionHandler": undefined,
+ "off": [Function removeListener],
+ "on": [Function addListener],
+ },
+ ],
+ "location": Object {
+ "columnNumber": 19,
+ "lineNumber": 2599,
+ "url": "http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=b0c37f85",
+ },
+ "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": [Funct
|
Run Playwright tests:
src/frontend/tests/pages/pui_build.spec.ts#L94
5) [firefox] › pages/pui_build.spec.ts:90:1 › Build Order - Build Outputs ────────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('tab', { name: 'Build Orders', exact: true })
92 |
93 | await page.goto(`${baseUrl}/manufacturing/index/`);
> 94 | await page.getByRole('tab', { name: 'Build Orders', exact: true }).click();
| ^
95 |
96 | // We have now loaded the "Build Order" table. Check for some expected texts
97 | await page.getByText('On Hold').first().waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_build.spec.ts:94:70
|
Run Playwright tests:
src/frontend/[chromium] › pui_command.spec.ts#L1
src/frontend/[chromium] › pui_command.spec.ts took 18.3s
|
Run Playwright tests:
src/frontend/[firefox] › pui_general.spec.ts#L1
src/frontend/[firefox] › pui_general.spec.ts took 16.9s
|
Run Playwright tests:
src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 15.5s
|
Run Playwright tests:
src/frontend/[chromium] › settings/selectionList.spec.ts#L1
src/frontend/[chromium] › settings/selectionList.spec.ts took 15.2s
|
Run Playwright tests
14 flaky
[chromium] › pages/pui_part.spec.ts:61:1 › Parts - Supplier Parts ──────────────────────────────
[chromium] › pages/pui_purchase_order.spec.ts:6:1 › Purchase Orders ────────────────────────────
[chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ─────────────────────────────────
[chromium] › pui_settings.spec.ts:127:1 › Settings - Admin - Barcode History ───────────────────
[firefox] › pages/pui_build.spec.ts:90:1 › Build Order - Build Outputs ─────────────────────────
[firefox] › pages/pui_part.spec.ts:74:1 › Parts - Locking ──────────────────────────────────────
[firefox] › pages/pui_purchase_order.spec.ts:26:1 › Purchase Orders - Barcodes ─────────────────
[firefox] › pages/pui_purchase_order.spec.ts:70:1 › Purchase Orders - General ──────────────────
[firefox] › pages/pui_sales_order.spec.ts:57:1 › Sales Orders - Basic Tests ────────────────────
[firefox] › pages/pui_stock.spec.ts:103:1 › Stock - Serial Numbers ─────────────────────────────
[firefox] › pui_forms.spec.ts:78:1 › Forms - Supplier Validation ───────────────────────────────
[firefox] › pui_login.spec.ts:5:1 › Login - Basic Test ─────────────────────────────────────────
[firefox] › pui_settings.spec.ts:164:1 › Settings - Admin - Unauthorized ───────────────────────
[firefox] › settings/selectionList.spec.ts:5:1 › PUI - Admin - Parameter ───────────────────────
124 passed (18.1m)
|
Loading