refactor(edgeless): surface elements api #15170
Annotations
10 errors and 1 notice
Run playwright test:
tests/paragraph.spec.ts#L1
1) paragraph.spec.ts:1585:1 › paragraph indent and delete in line start ──────────────────────────
Test finished within timeout of 30000ms, but tearing down "context" ran out of time.
Please allow more time for the test, since teardown is attributed towards the test timeout budget.
|
Run playwright test:
tests/utils/actions/misc.ts#L248
2) paragraph.spec.ts:1809:1 › arrow up/down navigation within and across paragraphs containing different types of text
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://cdn.affine.pro/fonts/Satoshi-Italic.woff' from origin 'http://localhost:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."
at utils/actions/misc.ts:248
246 | expect
247 | .soft('Unexpected console message: ' + message.text())
> 248 | .toBe(
| ^
249 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
250 | );
251 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:248:10)
|
Run playwright test:
tests/utils/actions/misc.ts#L248
2) paragraph.spec.ts:1809:1 › arrow up/down navigation within and across paragraphs containing different types of text
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:248
246 | expect
247 | .soft('Unexpected console message: ' + message.text())
> 248 | .toBe(
| ^
249 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
250 | );
251 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:248:10)
|
Run playwright test:
tests/utils/actions/misc.ts#L248
2) paragraph.spec.ts:1809:1 › arrow up/down navigation within and across paragraphs containing different types of text
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: DOMException: A network error occurred."
at utils/actions/misc.ts:248
246 | expect
247 | .soft('Unexpected console message: ' + message.text())
> 248 | .toBe(
| ^
249 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
250 | );
251 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:248:10)
|
Run playwright test:
tests/utils/actions/misc.ts#L248
3) paragraph.spec.ts:1859:1 › delete divider using keyboard from prev/next paragraph ─────────────
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://cdn.affine.pro/fonts/Satoshi-Italic.woff' from origin 'http://localhost:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."
at utils/actions/misc.ts:248
246 | expect
247 | .soft('Unexpected console message: ' + message.text())
> 248 | .toBe(
| ^
249 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
250 | );
251 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:248:10)
|
Run playwright test:
tests/utils/actions/misc.ts#L248
3) paragraph.spec.ts:1859:1 › delete divider using keyboard from prev/next paragraph ─────────────
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:248
246 | expect
247 | .soft('Unexpected console message: ' + message.text())
> 248 | .toBe(
| ^
249 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
250 | );
251 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:248:10)
|
Run playwright test:
tests/utils/actions/misc.ts#L248
3) paragraph.spec.ts:1859:1 › delete divider using keyboard from prev/next paragraph ─────────────
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: DOMException: A network error occurred."
at utils/actions/misc.ts:248
246 | expect
247 | .soft('Unexpected console message: ' + message.text())
> 248 | .toBe(
| ^
249 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
250 | );
251 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:248:10)
|
Run playwright test:
tests/utils/asserts.ts#L197
4) selection/block.spec.ts:136:1 › click the list icon can select and copy ───────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
- "123",
+ "23",
"456",
"789",
]
at utils/asserts.ts:197
195 | });
196 | }, currentEditorIndex);
> 197 | expect(actualTexts).toEqual(texts);
| ^
198 | }
199 |
200 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:197:23)
at /home/runner/work/blocksuite/blocksuite/tests/selection/block.spec.ts:140:3
|
Run playwright test:
tests/utils/asserts.ts#L197
4) selection/block.spec.ts:136:1 › click the list icon can select and copy ───────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
- "123",
+ "23",
"456",
"789",
]
at utils/asserts.ts:197
195 | });
196 | }, currentEditorIndex);
> 197 | expect(actualTexts).toEqual(texts);
| ^
198 | }
199 |
200 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:197:23)
at /home/runner/work/blocksuite/blocksuite/tests/selection/block.spec.ts:140:3
|
Run playwright test:
tests/utils/actions/misc.ts#L248
5) selection/block.spec.ts:158:1 › click the list icon can select and delete ─────────────────────
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://cdn.affine.pro/fonts/Satoshi-Italic.woff' from origin 'http://localhost:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."
at utils/actions/misc.ts:248
246 | expect
247 | .soft('Unexpected console message: ' + message.text())
> 248 | .toBe(
| ^
249 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
250 | );
251 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:248:10)
|
Run playwright test
12 flaky
paragraph.spec.ts:1585:1 › paragraph indent and delete in line start ───────────────────────────
paragraph.spec.ts:1809:1 › arrow up/down navigation within and across paragraphs containing different types of text
paragraph.spec.ts:1859:1 › delete divider using keyboard from prev/next paragraph ──────────────
selection/block.spec.ts:136:1 › click the list icon can select and copy ────────────────────────
selection/block.spec.ts:158:1 › click the list icon can select and delete ──────────────────────
selection/block.spec.ts:295:1 › should unindent multi-selection block ──────────────────────────
selection/block.spec.ts:553:1 › should keep selection state when scrolling backward with the scroll wheel
selection/block.spec.ts:781:1 › should not clear selected rects when clicking on scrollbar ─────
selection/block.spec.ts:945:1 › should refresh selected rects when resizing the window/viewport
selection/block.spec.ts:1164:1 › should not draw rect for sub selected blocks when entering tab key
selection/block.spec.ts:1409:1 › verify cursor position after changing block type ──────────────
selection/native.spec.ts:583:1 › select all text with keyboard delete ──────────────────────────
1 skipped
51 passed (4.4m)
|
The logs for this run have expired and are no longer available.
Loading