Report printing refactor #12170
Annotations
10 errors, 2 warnings, and 1 notice
Run Playwright tests:
src/frontend/tests/pui_printing.spec.ts#L1
1) [chromium] › pui_printing.spec.ts:10:1 › PUI - Label Printing ─────────────────────────────────
Tearing down "context" exceeded the test timeout of 60000ms.
|
Run Playwright tests:
src/frontend/tests/baseFixtures.ts#L47
1) [chromium] › pui_printing.spec.ts:10:1 › PUI - Label Printing ─────────────────────────────────
Error: page.evaluate: Test ended.
at baseFixtures.ts:47
45 | await use(context);
46 | for (const page of context.pages()) {
> 47 | await page.evaluate(() =>
| ^
48 | (window as any).collectIstanbulCoverage(
49 | JSON.stringify((window as any).__coverage__)
50 | )
at Object.context (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:47:18)
|
Run Playwright tests:
src/frontend/tests/pui_printing.spec.ts#L1
1) [chromium] › pui_printing.spec.ts:10:1 › PUI - Label Printing ─────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Tearing down "context" exceeded the test timeout of 60000ms.
|
Run Playwright tests:
src/frontend/tests/baseFixtures.ts#L47
1) [chromium] › pui_printing.spec.ts:10:1 › PUI - Label Printing ─────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: Test ended.
at baseFixtures.ts:47
45 | await use(context);
46 | for (const page of context.pages()) {
> 47 | await page.evaluate(() =>
| ^
48 | (window as any).collectIstanbulCoverage(
49 | JSON.stringify((window as any).__coverage__)
50 | )
at Object.context (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:47:18)
|
Run Playwright tests:
src/frontend/tests/pui_printing.spec.ts#L1
2) [chromium] › pui_printing.spec.ts:52:1 › PUI - Report Printing ────────────────────────────────
Tearing down "context" exceeded the test timeout of 60000ms.
|
Run Playwright tests:
src/frontend/tests/baseFixtures.ts#L47
2) [chromium] › pui_printing.spec.ts:52:1 › PUI - Report Printing ────────────────────────────────
Error: page.evaluate: Test ended.
at baseFixtures.ts:47
45 | await use(context);
46 | for (const page of context.pages()) {
> 47 | await page.evaluate(() =>
| ^
48 | (window as any).collectIstanbulCoverage(
49 | JSON.stringify((window as any).__coverage__)
50 | )
at Object.context (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:47:18)
|
Run Playwright tests:
src/frontend/tests/pui_printing.spec.ts#L1
2) [chromium] › pui_printing.spec.ts:52:1 › PUI - Report Printing ────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Tearing down "context" exceeded the test timeout of 60000ms.
|
Run Playwright tests:
src/frontend/tests/baseFixtures.ts#L47
2) [chromium] › pui_printing.spec.ts:52:1 › PUI - Report Printing ────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: Test ended.
at baseFixtures.ts:47
45 | await use(context);
46 | for (const page of context.pages()) {
> 47 | await page.evaluate(() =>
| ^
48 | (window as any).collectIstanbulCoverage(
49 | JSON.stringify((window as any).__coverage__)
50 | )
at Object.context (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:47:18)
|
Run Playwright tests:
src/frontend/tests/baseFixtures.ts#L72
3) [firefox] › pages/pui_part.spec.ts:108:1 › PUI - Pages - Part - Pricing (Internal) ────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 54
- Array []
+ Array [
+ ConsoleMessage {
+ "_event": Object {
+ "args": Array [
+ EventEmitter {
+ "_events": Object {
+ "previewUpdated": [Function anonymous],
+ },
+ "_eventsCount": 1,
+ "_maxListeners": undefined,
+ "_object": Object {
+ "_guid": "handle@1790befe521961726ac8080c0b12ea9a",
+ "_type": "JSHandle",
+ },
+ Symbol(kCapture): false,
+ },
+ ],
+ "location": Object {
+ "columnNumber": 19,
+ "lineNumber": 2544,
+ "url": "http://localhost:5173/node_modules/.vite/deps/chunk-3RV62VHK.js?v=1f20d401",
+ },
+ "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@9ae27222498969e925b7b8cc4dddaaf9",
+ "_type": "Page",
+ },
+ Symbol(kCapture): false,
+ },
+ "text": "Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: [\"notification-count\"]",
+ "type": "error",
+ },
+ "_page": Object {
+ "_guid": "page@9ae27222498969e925b7b8cc4dddaaf9",
+ "_type": "Page",
+ },
+ },
+ ]
at baseFixtures.ts:72
70 | });
71 | await use(page);
> 72 | expect(messages).toEqual([]);
| ^
73 | }
74 | });
75 |
at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:72:22)
|
Run Playwright tests
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run Playwright tests:
src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 15.7s
|
Run Playwright tests
2 failed
[chromium] › pui_printing.spec.ts:10:1 › PUI - Label Printing ──────────────────────────────────
[chromium] › pui_printing.spec.ts:52:1 › PUI - Report Printing ─────────────────────────────────
1 flaky
[firefox] › pages/pui_part.spec.ts:108:1 › PUI - Pages - Part - Pricing (Internal) ─────────────
67 passed (8.4m)
|
Loading