refactor(core): remove abort event error on init (#9465) #21654
Annotations
4 errors, 1 warning, and 1 notice
Run playwright tests:
blocksuite/tests-legacy/utils/actions/misc.ts#L332
1) edgeless/linked-doc.spec.ts:207:3 › single edgeless element to linked doc › select a frame, turn into a linked doc
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment."
Received: "Unexpected console message: Access to font at 'https://fonts.cdnfonts.com/s/13130/Kalam-Light.woff' from origin 'http://localhost:4173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."
at utils/actions/misc.ts:332
330 | expect
331 | .soft('Unexpected console message: ' + message.text())
> 332 | .toBe(
| ^
333 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
334 | );
335 | }
at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/actions/misc.ts:332:10)
|
Run playwright tests:
blocksuite/tests-legacy/utils/actions/misc.ts#L332
1) edgeless/linked-doc.spec.ts:207:3 › single edgeless element to linked doc › select a frame, turn into a linked doc
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment."
Received: "Unexpected console message: Failed to load resource: net::ERR_FAILED"
at utils/actions/misc.ts:332
330 | expect
331 | .soft('Unexpected console message: ' + message.text())
> 332 | .toBe(
| ^
333 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
334 | );
335 | }
at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/actions/misc.ts:332:10)
|
Run playwright tests:
blocksuite/tests-legacy/utils/actions/misc.ts#L332
1) edgeless/linked-doc.spec.ts:207:3 › single edgeless element to linked doc › select a frame, turn into a linked doc
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment."
Received: "Unexpected console message: NetworkError: A network error occurred."
at utils/actions/misc.ts:332
330 | expect
331 | .soft('Unexpected console message: ' + message.text())
> 332 | .toBe(
| ^
333 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
334 | );
335 | }
at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/actions/misc.ts:332:10)
|
Run playwright tests:
blocksuite/tests-legacy/utils/asserts.ts#L773
2) edgeless/note/resize.spec.ts:138:1 › resize note then auto size and custom size ───────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 192
Received: 92
Expected precision: 0
Expected difference: < 0.5
Received difference: 100
at utils/asserts.ts:773
771 | expect(a.y).toBeCloseTo(b.y, 0);
772 | expect(a.w).toBeCloseTo(b.w, 0);
> 773 | expect(a.h).toBeCloseTo(b.h, 0);
| ^
774 | }
775 |
776 | export function assertDOMRectEqual(a: DOMRect, b: DOMRect) {
at assertRectEqual (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/asserts.ts:773:15)
at assertNoteRectEqual (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/asserts.ts:766:3)
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/edgeless/note/resize.spec.ts:188:3
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run playwright tests
2 flaky
edgeless/linked-doc.spec.ts:207:3 › single edgeless element to linked doc › select a frame, turn into a linked doc
edgeless/note/resize.spec.ts:138:1 › resize note then auto size and custom size ────────────────
12 skipped
85 passed (2.3m)
|
Loading