chore: tweak update complete #7664
test.yml
on: pull_request
Install Dependencies
1m 0s
Build & Test
0s
Annotations
163 errors, 4 warnings, and 20 notices
Build:
packages/blocks/src/root-block/widgets/format-bar/format-bar.ts#L149
Property 'getUpdateComplete' is protected and only accessible through an instance of class 'AffineFormatBarWidget'. This is an instance of class 'EditorHost'.
|
Build
Process completed with exit code 2.
|
code/crud.spec.ts:508:1 › auto scroll horizontally when typing:
tests/code/crud.spec.ts#L527
1) code/crud.spec.ts:508:1 › auto scroll horizontally when typing ────────────────────────────────
Error: expect(received).toBeGreaterThan(expected)
Expected: > 200
Received: 0
525 | return richText.scrollLeft;
526 | });
> 527 | expect(richTextScrollLeft1).toBeGreaterThan(200);
| ^
528 |
529 | await pressArrowLeft(page, 5);
530 | await type(page, 'aa');
at /home/runner/work/blocksuite/blocksuite/tests/code/crud.spec.ts:527:31
|
code/crud.spec.ts:508:1 › auto scroll horizontally when typing:
tests/code/crud.spec.ts#L527
1) code/crud.spec.ts:508:1 › auto scroll horizontally when typing ────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeGreaterThan(expected)
Expected: > 200
Received: 0
525 | return richText.scrollLeft;
526 | });
> 527 | expect(richTextScrollLeft1).toBeGreaterThan(200);
| ^
528 |
529 | await pressArrowLeft(page, 5);
530 | await type(page, 'aa');
at /home/runner/work/blocksuite/blocksuite/tests/code/crud.spec.ts:527:31
|
code/crud.spec.ts:508:1 › auto scroll horizontally when typing:
tests/code/crud.spec.ts#L527
1) code/crud.spec.ts:508:1 › auto scroll horizontally when typing ────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeGreaterThan(expected)
Expected: > 200
Received: 0
525 | return richText.scrollLeft;
526 | });
> 527 | expect(richTextScrollLeft1).toBeGreaterThan(200);
| ^
528 |
529 | await pressArrowLeft(page, 5);
530 | await type(page, 'aa');
at /home/runner/work/blocksuite/blocksuite/tests/code/crud.spec.ts:527:31
|
code/crud.spec.ts:508:1 › auto scroll horizontally when typing:
tests/code/crud.spec.ts#L527
1) code/crud.spec.ts:508:1 › auto scroll horizontally when typing ────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeGreaterThan(expected)
Expected: > 200
Received: 0
525 | return richText.scrollLeft;
526 | });
> 527 | expect(richTextScrollLeft1).toBeGreaterThan(200);
| ^
528 |
529 | await pressArrowLeft(page, 5);
530 | await type(page, 'aa');
at /home/runner/work/blocksuite/blocksuite/tests/code/crud.spec.ts:527:31
|
code/crud.spec.ts:544:1 › code hotkey should not effect in global:
tests/utils/asserts.ts#L293
2) code/crud.spec.ts:544:1 › code hotkey should not effect in global ─────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('affine-paragraph')
Expected: 1
Received: 2
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('affine-paragraph')
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
at utils/asserts.ts:293
291 | count: number
292 | ) {
> 293 | await expect(page.locator(`affine-${flavour}`)).toHaveCount(count);
| ^
294 | }
295 | export async function assertRowCount(page: Page, count: number) {
296 | await expect(page.locator('.affine-database-block-row')).toHaveCount(count);
at assertBlockCount (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:293:51)
at /home/runner/work/blocksuite/blocksuite/tests/code/crud.spec.ts:553:9
|
code/crud.spec.ts:544:1 › code hotkey should not effect in global:
tests/utils/asserts.ts#L293
2) code/crud.spec.ts:544:1 › code hotkey should not effect in global ─────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('affine-paragraph')
Expected: 1
Received: 2
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('affine-paragraph')
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
at utils/asserts.ts:293
291 | count: number
292 | ) {
> 293 | await expect(page.locator(`affine-${flavour}`)).toHaveCount(count);
| ^
294 | }
295 | export async function assertRowCount(page: Page, count: number) {
296 | await expect(page.locator('.affine-database-block-row')).toHaveCount(count);
at assertBlockCount (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:293:51)
at /home/runner/work/blocksuite/blocksuite/tests/code/crud.spec.ts:553:9
|
code/crud.spec.ts:544:1 › code hotkey should not effect in global:
tests/utils/asserts.ts#L293
2) code/crud.spec.ts:544:1 › code hotkey should not effect in global ─────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('affine-paragraph')
Expected: 1
Received: 2
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('affine-paragraph')
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
at utils/asserts.ts:293
291 | count: number
292 | ) {
> 293 | await expect(page.locator(`affine-${flavour}`)).toHaveCount(count);
| ^
294 | }
295 | export async function assertRowCount(page: Page, count: number) {
296 | await expect(page.locator('.affine-database-block-row')).toHaveCount(count);
at assertBlockCount (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:293:51)
at /home/runner/work/blocksuite/blocksuite/tests/code/crud.spec.ts:553:9
|
code/crud.spec.ts:544:1 › code hotkey should not effect in global:
tests/utils/asserts.ts#L293
2) code/crud.spec.ts:544:1 › code hotkey should not effect in global ─────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('affine-paragraph')
Expected: 1
Received: 2
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('affine-paragraph')
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
- locator resolved to 2 elements
- unexpected value "2"
at utils/asserts.ts:293
291 | count: number
292 | ) {
> 293 | await expect(page.locator(`affine-${flavour}`)).toHaveCount(count);
| ^
294 | }
295 | export async function assertRowCount(page: Page, count: number) {
296 | await expect(page.locator('.affine-database-block-row')).toHaveCount(count);
at assertBlockCount (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:293:51)
at /home/runner/work/blocksuite/blocksuite/tests/code/crud.spec.ts:553:9
|
code/crud.spec.ts:593:1 › format text in code block:
tests/code/crud.spec.ts#L601
3) code/crud.spec.ts:593:1 › format text in code block ───────────────────────────────────────────
Error: Snapshot comparison failed:
{
"type": "block",
"id": "0",
"flavour": "affine:page",
"version": 2,
"props": {
"title": {
"$blocksuite:internal:text$": true,
"delta": []
}
},
"children": [
{
"type": "block",
"id": "1",
"flavour": "affine:note",
"version": 1,
"props": {
"xywh": "[0,0,498,92]",
"background": "--affine-note-background-white",
"index": "a0",
"hidden": false,
"displayMode": "both",
"edgeless": {
"style": {
"borderRadius": 8,
"borderSize": 4,
"borderStyle": "none",
"shadowType": "--affine-note-shadow-box"
}
}
},
"children": [
{
"type": "block",
"id": "3",
"flavour": "affine:code",
"version": 1,
"props": {
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "const aaa = 1000;"
}
]
},
"language": "typescript",
"wrap": false,
"caption": ""
},
"children": []
}
]
}
]
}
Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/code/crud.spec.ts/format-text-in-code-block-init.json
Received: /home/runner/work/blocksuite/blocksuite/tests/test-results/code-crud-format-text-in-code-block/format-text-in-code-block-init-actual.json
599 | await type(page, 'const aaa = 1000;');
600 |
> 601 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
| ^
602 | `${testInfo.title}_init.json`
603 | );
604 |
at /home/runner/work/blocksuite/blocksuite/tests/code/crud.spec.ts:601:45
|
code/crud.spec.ts:593:1 › format text in code block:
tests/code/crud.spec.ts#L601
3) code/crud.spec.ts:593:1 › format text in code block ───────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
{
"type": "block",
"id": "0",
"flavour": "affine:page",
"version": 2,
"props": {
"title": {
"$blocksuite:internal:text$": true,
"delta": []
}
},
"children": [
{
"type": "block",
"id": "1",
"flavour": "affine:note",
"version": 1,
"props": {
"xywh": "[0,0,498,92]",
"background": "--affine-note-background-white",
"index": "a0",
"hidden": false,
"displayMode": "both",
"edgeless": {
"style": {
"borderRadius": 8,
"borderSize": 4,
"borderStyle": "none",
"shadowType": "--affine-note-shadow-box"
}
}
},
"children": [
{
"type": "block",
"id": "3",
"flavour": "affine:code",
"version": 1,
"props": {
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "const aaa = 1000;"
}
]
},
"language": "typescript",
"wrap": false,
"caption": ""
},
"children": []
}
]
}
]
}
Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/code/crud.spec.ts/format-text-in-code-block-init.json
Received: /home/runner/work/blocksuite/blocksuite/tests/test-results/code-crud-format-text-in-code-block-retry1/format-text-in-code-block-init-actual.json
599 | await type(page, 'const aaa = 1000;');
600 |
> 601 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
| ^
602 | `${testInfo.title}_init.json`
603 | );
604 |
at /home/runner/work/blocksuite/blocksuite/tests/code/crud.spec.ts:601:45
|
embed-synced-doc.spec.ts:49:3 › Embed synced doc › can change linked doc to embed synced doc:
tests/utils/actions/linked-doc.ts#L15
1) embed-synced-doc.spec.ts:49:3 › Embed synced doc › can change linked doc to embed synced doc ──
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
at utils/actions/linked-doc.ts:15
13 | has: page.locator(`.affine-reference-title[data-title="${title}"]`),
14 | });
> 15 | await expect(refNode).toBeVisible();
| ^
16 | return refNode;
17 | };
18 | const assertExistRefText = async (text: string) => {
at findRefNode (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:15:27)
at createDoc (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:44:12)
at createAndConvertToEmbedSyncedDoc (/home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:24:23)
at /home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:53:5
|
embed-synced-doc.spec.ts:49:3 › Embed synced doc › can change linked doc to embed synced doc:
tests/utils/actions/linked-doc.ts#L15
1) embed-synced-doc.spec.ts:49:3 › Embed synced doc › can change linked doc to embed synced doc ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
at utils/actions/linked-doc.ts:15
13 | has: page.locator(`.affine-reference-title[data-title="${title}"]`),
14 | });
> 15 | await expect(refNode).toBeVisible();
| ^
16 | return refNode;
17 | };
18 | const assertExistRefText = async (text: string) => {
at findRefNode (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:15:27)
at createDoc (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:44:12)
at createAndConvertToEmbedSyncedDoc (/home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:24:23)
at /home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:53:5
|
embed-synced-doc.spec.ts:49:3 › Embed synced doc › can change linked doc to embed synced doc:
tests/utils/actions/linked-doc.ts#L15
1) embed-synced-doc.spec.ts:49:3 › Embed synced doc › can change linked doc to embed synced doc ──
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
at utils/actions/linked-doc.ts:15
13 | has: page.locator(`.affine-reference-title[data-title="${title}"]`),
14 | });
> 15 | await expect(refNode).toBeVisible();
| ^
16 | return refNode;
17 | };
18 | const assertExistRefText = async (text: string) => {
at findRefNode (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:15:27)
at createDoc (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:44:12)
at createAndConvertToEmbedSyncedDoc (/home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:24:23)
at /home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:53:5
|
embed-synced-doc.spec.ts:49:3 › Embed synced doc › can change linked doc to embed synced doc:
tests/utils/actions/linked-doc.ts#L15
1) embed-synced-doc.spec.ts:49:3 › Embed synced doc › can change linked doc to embed synced doc ──
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
at utils/actions/linked-doc.ts:15
13 | has: page.locator(`.affine-reference-title[data-title="${title}"]`),
14 | });
> 15 | await expect(refNode).toBeVisible();
| ^
16 | return refNode;
17 | };
18 | const assertExistRefText = async (text: string) => {
at findRefNode (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:15:27)
at createDoc (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:44:12)
at createAndConvertToEmbedSyncedDoc (/home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:24:23)
at /home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:53:5
|
embed-synced-doc.spec.ts:56:3 › Embed synced doc › can change embed synced doc to card view:
tests/utils/actions/linked-doc.ts#L15
2) embed-synced-doc.spec.ts:56:3 › Embed synced doc › can change embed synced doc to card view ───
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
at utils/actions/linked-doc.ts:15
13 | has: page.locator(`.affine-reference-title[data-title="${title}"]`),
14 | });
> 15 | await expect(refNode).toBeVisible();
| ^
16 | return refNode;
17 | };
18 | const assertExistRefText = async (text: string) => {
at findRefNode (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:15:27)
at createDoc (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:44:12)
at createAndConvertToEmbedSyncedDoc (/home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:24:23)
at /home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:60:5
|
embed-synced-doc.spec.ts:56:3 › Embed synced doc › can change embed synced doc to card view:
tests/utils/actions/linked-doc.ts#L15
2) embed-synced-doc.spec.ts:56:3 › Embed synced doc › can change embed synced doc to card view ───
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
at utils/actions/linked-doc.ts:15
13 | has: page.locator(`.affine-reference-title[data-title="${title}"]`),
14 | });
> 15 | await expect(refNode).toBeVisible();
| ^
16 | return refNode;
17 | };
18 | const assertExistRefText = async (text: string) => {
at findRefNode (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:15:27)
at createDoc (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:44:12)
at createAndConvertToEmbedSyncedDoc (/home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:24:23)
at /home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:60:5
|
embed-synced-doc.spec.ts:56:3 › Embed synced doc › can change embed synced doc to card view:
tests/utils/actions/linked-doc.ts#L15
2) embed-synced-doc.spec.ts:56:3 › Embed synced doc › can change embed synced doc to card view ───
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
at utils/actions/linked-doc.ts:15
13 | has: page.locator(`.affine-reference-title[data-title="${title}"]`),
14 | });
> 15 | await expect(refNode).toBeVisible();
| ^
16 | return refNode;
17 | };
18 | const assertExistRefText = async (text: string) => {
at findRefNode (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:15:27)
at createDoc (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:44:12)
at createAndConvertToEmbedSyncedDoc (/home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:24:23)
at /home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:60:5
|
embed-synced-doc.spec.ts:56:3 › Embed synced doc › can change embed synced doc to card view:
tests/utils/actions/linked-doc.ts#L15
2) embed-synced-doc.spec.ts:56:3 › Embed synced doc › can change embed synced doc to card view ───
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
at utils/actions/linked-doc.ts:15
13 | has: page.locator(`.affine-reference-title[data-title="${title}"]`),
14 | });
> 15 | await expect(refNode).toBeVisible();
| ^
16 | return refNode;
17 | };
18 | const assertExistRefText = async (text: string) => {
at findRefNode (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:15:27)
at createDoc (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:44:12)
at createAndConvertToEmbedSyncedDoc (/home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:24:23)
at /home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:60:5
|
embed-synced-doc.spec.ts:88:3 › Embed synced doc › drag embed synced doc to whiteboard should fit in height:
tests/utils/actions/linked-doc.ts#L15
3) embed-synced-doc.spec.ts:88:3 › Embed synced doc › drag embed synced doc to whiteboard should fit in height
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
at utils/actions/linked-doc.ts:15
13 | has: page.locator(`.affine-reference-title[data-title="${title}"]`),
14 | });
> 15 | await expect(refNode).toBeVisible();
| ^
16 | return refNode;
17 | };
18 | const assertExistRefText = async (text: string) => {
at findRefNode (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:15:27)
at createDoc (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:44:12)
at createAndConvertToEmbedSyncedDoc (/home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:24:23)
at /home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:94:5
|
embed-synced-doc.spec.ts:88:3 › Embed synced doc › drag embed synced doc to whiteboard should fit in height:
tests/utils/actions/linked-doc.ts#L15
3) embed-synced-doc.spec.ts:88:3 › Embed synced doc › drag embed synced doc to whiteboard should fit in height
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
at utils/actions/linked-doc.ts:15
13 | has: page.locator(`.affine-reference-title[data-title="${title}"]`),
14 | });
> 15 | await expect(refNode).toBeVisible();
| ^
16 | return refNode;
17 | };
18 | const assertExistRefText = async (text: string) => {
at findRefNode (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:15:27)
at createDoc (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:44:12)
at createAndConvertToEmbedSyncedDoc (/home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:24:23)
at /home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:94:5
|
edgeless/linked-doc.spec.ts:27:3 › note to linked doc › select a note and turn it into a linked doc:
tests/edgeless/linked-doc.spec.ts#L49
1) edgeless/linked-doc.spec.ts:27:3 › note to linked doc › select a note and turn it into a linked doc
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
Hello
- World
+
47 | assertExists(noteBlock);
48 | const noteContent = await noteBlock.innerText();
> 49 | expect(noteContent).toBe('Hello\nWorld');
| ^
50 | });
51 |
52 | test('turn note into a linked doc, connector keeps', async ({ page }) => {
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/linked-doc.spec.ts:49:25
|
edgeless/linked-doc.spec.ts:27:3 › note to linked doc › select a note and turn it into a linked doc:
tests/edgeless/linked-doc.spec.ts#L49
1) edgeless/linked-doc.spec.ts:27:3 › note to linked doc › select a note and turn it into a linked doc
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
Hello
- World
+
47 | assertExists(noteBlock);
48 | const noteContent = await noteBlock.innerText();
> 49 | expect(noteContent).toBe('Hello\nWorld');
| ^
50 | });
51 |
52 | test('turn note into a linked doc, connector keeps', async ({ page }) => {
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/linked-doc.spec.ts:49:25
|
edgeless/linked-doc.spec.ts:27:3 › note to linked doc › select a note and turn it into a linked doc:
tests/edgeless/linked-doc.spec.ts#L49
1) edgeless/linked-doc.spec.ts:27:3 › note to linked doc › select a note and turn it into a linked doc
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
Hello
- World
+
47 | assertExists(noteBlock);
48 | const noteContent = await noteBlock.innerText();
> 49 | expect(noteContent).toBe('Hello\nWorld');
| ^
50 | });
51 |
52 | test('turn note into a linked doc, connector keeps', async ({ page }) => {
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/linked-doc.spec.ts:49:25
|
edgeless/linked-doc.spec.ts:27:3 › note to linked doc › select a note and turn it into a linked doc:
tests/edgeless/linked-doc.spec.ts#L49
1) edgeless/linked-doc.spec.ts:27:3 › note to linked doc › select a note and turn it into a linked doc
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
Hello
- World
+
47 | assertExists(noteBlock);
48 | const noteContent = await noteBlock.innerText();
> 49 | expect(noteContent).toBe('Hello\nWorld');
| ^
50 | });
51 |
52 | test('turn note into a linked doc, connector keeps', async ({ page }) => {
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/linked-doc.spec.ts:49:25
|
edgeless/note/drag-handle.spec.ts:108:1 › drag handle should work inside one note:
tests/utils/actions/drag.ts#L125
2) edgeless/note/drag-handle.spec.ts:108:1 › drag handle should work inside one note ─────────────
TimeoutError: locator.boundingBox: Timeout 5000ms exceeded.
Call log:
- waiting for locator('[data-block-id="5"]')
at utils/actions/drag.ts:125
123 | const targetBlock = await page
124 | .locator(`[data-block-id="${targetId}"]`)
> 125 | .boundingBox();
| ^
126 | if (!sourceBlock || !targetBlock) {
127 | throw new Error();
128 | }
at dragHandleFromBlockToBlockBottomById (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:125:6)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/drag-handle.spec.ts:116:3
|
edgeless/note/drag-handle.spec.ts:108:1 › drag handle should work inside one note:
tests/utils/actions/drag.ts#L125
2) edgeless/note/drag-handle.spec.ts:108:1 › drag handle should work inside one note ─────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.boundingBox: Timeout 5000ms exceeded.
Call log:
- waiting for locator('[data-block-id="5"]')
at utils/actions/drag.ts:125
123 | const targetBlock = await page
124 | .locator(`[data-block-id="${targetId}"]`)
> 125 | .boundingBox();
| ^
126 | if (!sourceBlock || !targetBlock) {
127 | throw new Error();
128 | }
at dragHandleFromBlockToBlockBottomById (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:125:6)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/drag-handle.spec.ts:116:3
|
edgeless/note/drag-handle.spec.ts:108:1 › drag handle should work inside one note:
tests/utils/actions/drag.ts#L125
2) edgeless/note/drag-handle.spec.ts:108:1 › drag handle should work inside one note ─────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.boundingBox: Timeout 5000ms exceeded.
Call log:
- waiting for locator('[data-block-id="5"]')
at utils/actions/drag.ts:125
123 | const targetBlock = await page
124 | .locator(`[data-block-id="${targetId}"]`)
> 125 | .boundingBox();
| ^
126 | if (!sourceBlock || !targetBlock) {
127 | throw new Error();
128 | }
at dragHandleFromBlockToBlockBottomById (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:125:6)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/drag-handle.spec.ts:116:3
|
edgeless/note/drag-handle.spec.ts:108:1 › drag handle should work inside one note:
tests/utils/actions/drag.ts#L125
2) edgeless/note/drag-handle.spec.ts:108:1 › drag handle should work inside one note ─────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.boundingBox: Timeout 5000ms exceeded.
Call log:
- waiting for locator('[data-block-id="5"]')
at utils/actions/drag.ts:125
123 | const targetBlock = await page
124 | .locator(`[data-block-id="${targetId}"]`)
> 125 | .boundingBox();
| ^
126 | if (!sourceBlock || !targetBlock) {
127 | throw new Error();
128 | }
at dragHandleFromBlockToBlockBottomById (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:125:6)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/drag-handle.spec.ts:116:3
|
edgeless/note/drag-handle.spec.ts:122:1 › drag handle should work across multiple notes:
tests/utils/asserts.ts#L209
3) edgeless/note/drag-handle.spec.ts:122:1 › drag handle should work across multiple notes ───────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 1
Array [
"123",
- "456",
- "789",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/drag-handle.spec.ts:126:3
|
edgeless/note/drag-handle.spec.ts:122:1 › drag handle should work across multiple notes:
tests/utils/asserts.ts#L209
3) edgeless/note/drag-handle.spec.ts:122:1 › drag handle should work across multiple notes ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 1
Array [
"123",
- "456",
- "789",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/drag-handle.spec.ts:126:3
|
image/image.spec.ts:137:1 › should support the enter key of image caption:
tests/utils/asserts.ts#L331
1) image/image.spec.ts:137:1 › should support the enter key of image caption ─────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: {"index": 0, "length": 0}
Received: null
at utils/asserts.ts:331
329 | [richTextIndex, currentEditorIndex]
330 | );
> 331 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
332 | }
333 |
334 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /home/runner/work/blocksuite/blocksuite/tests/image/image.spec.ts:153:3
|
image/image.spec.ts:137:1 › should support the enter key of image caption:
tests/utils/asserts.ts#L331
1) image/image.spec.ts:137:1 › should support the enter key of image caption ─────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: {"index": 0, "length": 0}
Received: null
at utils/asserts.ts:331
329 | [richTextIndex, currentEditorIndex]
330 | );
> 331 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
332 | }
333 |
334 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /home/runner/work/blocksuite/blocksuite/tests/image/image.spec.ts:153:3
|
image/image.spec.ts:137:1 › should support the enter key of image caption:
tests/utils/asserts.ts#L331
1) image/image.spec.ts:137:1 › should support the enter key of image caption ─────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: {"index": 0, "length": 0}
Received: null
at utils/asserts.ts:331
329 | [richTextIndex, currentEditorIndex]
330 | );
> 331 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
332 | }
333 |
334 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /home/runner/work/blocksuite/blocksuite/tests/image/image.spec.ts:153:3
|
image/image.spec.ts:137:1 › should support the enter key of image caption:
tests/utils/asserts.ts#L331
1) image/image.spec.ts:137:1 › should support the enter key of image caption ─────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: {"index": 0, "length": 0}
Received: null
at utils/asserts.ts:331
329 | [richTextIndex, currentEditorIndex]
330 | );
> 331 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
332 | }
333 |
334 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /home/runner/work/blocksuite/blocksuite/tests/image/image.spec.ts:153:3
|
image/keymap.spec.ts:28:1 › press enter will create new block when click and select image:
tests/utils/asserts.ts#L209
2) image/keymap.spec.ts:28:1 › press enter will create new block when click and select image ─────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
"",
- "aa",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/image/keymap.spec.ts:34:3
|
image/keymap.spec.ts:28:1 › press enter will create new block when click and select image:
tests/utils/asserts.ts#L209
2) image/keymap.spec.ts:28:1 › press enter will create new block when click and select image ─────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
"",
- "aa",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/image/keymap.spec.ts:34:3
|
image/keymap.spec.ts:28:1 › press enter will create new block when click and select image:
tests/utils/asserts.ts#L209
2) image/keymap.spec.ts:28:1 › press enter will create new block when click and select image ─────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
"",
- "aa",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/image/keymap.spec.ts:34:3
|
image/keymap.spec.ts:28:1 › press enter will create new block when click and select image:
tests/utils/asserts.ts#L209
2) image/keymap.spec.ts:28:1 › press enter will create new block when click and select image ─────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
"",
- "aa",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/image/keymap.spec.ts:34:3
|
image/keymap.spec.ts:37:1 › press backspace after image block can select image block:
tests/utils/asserts.ts#L331
3) image/keymap.spec.ts:37:1 › press backspace after image block can select image block ──────────
Error: expect(received).toEqual(expected) // deep equality
Expected: {"index": 0, "length": 0}
Received: null
at utils/asserts.ts:331
329 | [richTextIndex, currentEditorIndex]
330 | );
> 331 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
332 | }
333 |
334 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /home/runner/work/blocksuite/blocksuite/tests/image/keymap.spec.ts:42:3
|
image/keymap.spec.ts:37:1 › press backspace after image block can select image block:
tests/utils/asserts.ts#L331
3) image/keymap.spec.ts:37:1 › press backspace after image block can select image block ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: {"index": 0, "length": 0}
Received: null
at utils/asserts.ts:331
329 | [richTextIndex, currentEditorIndex]
330 | );
> 331 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
332 | }
333 |
334 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /home/runner/work/blocksuite/blocksuite/tests/image/keymap.spec.ts:42:3
|
edgeless/note/note.spec.ts:88:1 › add Note:
tests/utils/asserts.ts#L209
1) edgeless/note/note.spec.ts:88:1 › add Note ────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
"",
- "hello",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:97:3
|
edgeless/note/note.spec.ts:88:1 › add Note:
tests/utils/asserts.ts#L209
1) edgeless/note/note.spec.ts:88:1 › add Note ────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
"",
- "hello",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:97:3
|
edgeless/note/note.spec.ts:88:1 › add Note:
tests/utils/asserts.ts#L209
1) edgeless/note/note.spec.ts:88:1 › add Note ────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
"",
- "hello",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:97:3
|
edgeless/note/note.spec.ts:88:1 › add Note:
tests/utils/asserts.ts#L209
1) edgeless/note/note.spec.ts:88:1 › add Note ────────────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
"",
- "hello",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:97:3
|
edgeless/note/note.spec.ts:146:1 › edgeless arrow up/down:
tests/utils/asserts.ts#L331
2) edgeless/note/note.spec.ts:146:1 › edgeless arrow up/down ─────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "index": 5,
+ "index": 0,
"length": 0,
}
at utils/asserts.ts:331
329 | [richTextIndex, currentEditorIndex]
330 | );
> 331 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
332 | }
333 |
334 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:167:3
|
edgeless/note/note.spec.ts:146:1 › edgeless arrow up/down:
tests/utils/asserts.ts#L331
2) edgeless/note/note.spec.ts:146:1 › edgeless arrow up/down ─────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "index": 5,
+ "index": 0,
"length": 0,
}
at utils/asserts.ts:331
329 | [richTextIndex, currentEditorIndex]
330 | );
> 331 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
332 | }
333 |
334 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:167:3
|
edgeless/note/note.spec.ts:146:1 › edgeless arrow up/down:
tests/utils/asserts.ts#L331
2) edgeless/note/note.spec.ts:146:1 › edgeless arrow up/down ─────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "index": 5,
+ "index": 0,
"length": 0,
}
at utils/asserts.ts:331
329 | [richTextIndex, currentEditorIndex]
330 | );
> 331 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
332 | }
333 |
334 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:167:3
|
edgeless/note/note.spec.ts:146:1 › edgeless arrow up/down:
tests/utils/asserts.ts#L331
2) edgeless/note/note.spec.ts:146:1 › edgeless arrow up/down ─────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "index": 5,
+ "index": 0,
"length": 0,
}
at utils/asserts.ts:331
329 | [richTextIndex, currentEditorIndex]
330 | );
> 331 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
332 | }
333 |
334 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:167:3
|
edgeless/note/note.spec.ts:214:1 › format quick bar should show up when double-clicking on text:
tests/edgeless/note/note.spec.ts#L234
3) edgeless/note/note.spec.ts:214:1 › format quick bar should show up when double-clicking on text
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-format-bar-widget')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-format-bar-widget')
232 | await page.waitForTimeout(200);
233 | const formatBar = page.locator('.affine-format-bar-widget');
> 234 | await expect(formatBar).toBeVisible();
| ^
235 | });
236 |
237 | test('when editing text in edgeless, should hide component toolbar', async ({
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:234:27
|
edgeless/note/note.spec.ts:214:1 › format quick bar should show up when double-clicking on text:
tests/edgeless/note/note.spec.ts#L234
3) edgeless/note/note.spec.ts:214:1 › format quick bar should show up when double-clicking on text
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-format-bar-widget')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-format-bar-widget')
232 | await page.waitForTimeout(200);
233 | const formatBar = page.locator('.affine-format-bar-widget');
> 234 | await expect(formatBar).toBeVisible();
| ^
235 | });
236 |
237 | test('when editing text in edgeless, should hide component toolbar', async ({
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:234:27
|
drag.spec.ts:27:1 › only have one drag handle in screen:
tests/eval at evaluate (:234:30)#L5
1) drag.spec.ts:27:1 › only have one drag handle in screen ───────────────────────────────────────
Error: page.evaluate: Error
at eval (eval at evaluate (:234:30), <anonymous>:5:13)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:5:13)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at /home/runner/work/blocksuite/blocksuite/tests/drag.spec.ts:40:34
|
drag.spec.ts:27:1 › only have one drag handle in screen:
tests/eval at evaluate (:234:30)#L5
1) drag.spec.ts:27:1 › only have one drag handle in screen ───────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: Error
at eval (eval at evaluate (:234:30), <anonymous>:5:13)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:5:13)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at /home/runner/work/blocksuite/blocksuite/tests/drag.spec.ts:40:34
|
drag.spec.ts:27:1 › only have one drag handle in screen:
tests/eval at evaluate (:234:30)#L5
1) drag.spec.ts:27:1 › only have one drag handle in screen ───────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: Error
at eval (eval at evaluate (:234:30), <anonymous>:5:13)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:5:13)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at /home/runner/work/blocksuite/blocksuite/tests/drag.spec.ts:40:34
|
drag.spec.ts:27:1 › only have one drag handle in screen:
tests/eval at evaluate (:234:30)#L5
1) drag.spec.ts:27:1 › only have one drag handle in screen ───────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: Error
at eval (eval at evaluate (:234:30), <anonymous>:5:13)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:5:13)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at /home/runner/work/blocksuite/blocksuite/tests/drag.spec.ts:40:34
|
drag.spec.ts:63:1 › move drag handle in paragraphs:
tests/utils/asserts.ts#L209
2) drag.spec.ts:63:1 › move drag handle in paragraphs ────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 1
Array [
"123",
- "456",
- "789",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/drag.spec.ts:67:3
|
drag.spec.ts:63:1 › move drag handle in paragraphs:
tests/utils/asserts.ts#L209
2) drag.spec.ts:63:1 › move drag handle in paragraphs ────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 1
Array [
"123",
- "456",
- "789",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/drag.spec.ts:67:3
|
drag.spec.ts:63:1 › move drag handle in paragraphs:
tests/utils/asserts.ts#L209
2) drag.spec.ts:63:1 › move drag handle in paragraphs ────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 1
Array [
"123",
- "456",
- "789",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/drag.spec.ts:67:3
|
drag.spec.ts:63:1 › move drag handle in paragraphs:
tests/utils/asserts.ts#L209
2) drag.spec.ts:63:1 › move drag handle in paragraphs ────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 1
Array [
"123",
- "456",
- "789",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/drag.spec.ts:67:3
|
drag.spec.ts:73:1 › move drag handle in list:
tests/utils/asserts.ts#L209
3) drag.spec.ts:73:1 › move drag handle in list ──────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 3
+ Received + 1
Array [
- "123",
- "456",
- "789",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/drag.spec.ts:77:3
|
drag.spec.ts:73:1 › move drag handle in list:
tests/utils/asserts.ts#L209
3) drag.spec.ts:73:1 › move drag handle in list ──────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 3
+ Received + 1
Array [
- "123",
- "456",
- "789",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/drag.spec.ts:77:3
|
edgeless/edgeless-text.spec.ts:67:3 › edgeless text block › add text block in default mode:
tests/eval at evaluate (:234:30)#L6
1) edgeless/edgeless-text.spec.ts:67:3 › edgeless text block › add text block in default mode ────
Error: page.evaluate: Error: Element with id 7 not found
at eval (eval at evaluate (:234:30), <anonymous>:6:13)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:6:13)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at assertBlockFlavour (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:560:29)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:86:11
|
edgeless/edgeless-text.spec.ts:67:3 › edgeless text block › add text block in default mode:
tests/eval at evaluate (:234:30)#L6
1) edgeless/edgeless-text.spec.ts:67:3 › edgeless text block › add text block in default mode ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: Error: Element with id 7 not found
at eval (eval at evaluate (:234:30), <anonymous>:6:13)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:6:13)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at assertBlockFlavour (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:560:29)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:86:11
|
edgeless/edgeless-text.spec.ts:67:3 › edgeless text block › add text block in default mode:
tests/eval at evaluate (:234:30)#L6
1) edgeless/edgeless-text.spec.ts:67:3 › edgeless text block › add text block in default mode ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: Error: Element with id 7 not found
at eval (eval at evaluate (:234:30), <anonymous>:6:13)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:6:13)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at assertBlockFlavour (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:560:29)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:86:11
|
edgeless/edgeless-text.spec.ts:67:3 › edgeless text block › add text block in default mode:
tests/eval at evaluate (:234:30)#L6
1) edgeless/edgeless-text.spec.ts:67:3 › edgeless text block › add text block in default mode ────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: Error: Element with id 7 not found
at eval (eval at evaluate (:234:30), <anonymous>:6:13)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:6:13)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at assertBlockFlavour (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:560:29)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:86:11
|
edgeless/edgeless-text.spec.ts:155:3 › edgeless text block › edgeless text width auto-adjusting:
tests/edgeless/edgeless-text.spec.ts#L52
2) edgeless/edgeless-text.spec.ts:155:3 › edgeless text block › edgeless text width auto-adjusting
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 83
Received: 50
Expected precision: 0
Expected difference: < 0.5
Received difference: 33
50 | expect(realBound.x).toBeCloseTo(bound.x, 0);
51 | expect(realBound.y).toBeCloseTo(bound.y, 0);
> 52 | expect(realBound.w).toBeCloseTo(bound.w, 0);
| ^
53 | expect(realBound.h).toBeCloseTo(bound.h, 0);
54 | }
55 |
at assertEdgelessTextModelRect (/home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:52:23)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:167:5
|
edgeless/edgeless-text.spec.ts:155:3 › edgeless text block › edgeless text width auto-adjusting:
tests/edgeless/edgeless-text.spec.ts#L52
2) edgeless/edgeless-text.spec.ts:155:3 › edgeless text block › edgeless text width auto-adjusting
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 83
Received: 50
Expected precision: 0
Expected difference: < 0.5
Received difference: 33
50 | expect(realBound.x).toBeCloseTo(bound.x, 0);
51 | expect(realBound.y).toBeCloseTo(bound.y, 0);
> 52 | expect(realBound.w).toBeCloseTo(bound.w, 0);
| ^
53 | expect(realBound.h).toBeCloseTo(bound.h, 0);
54 | }
55 |
at assertEdgelessTextModelRect (/home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:52:23)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:167:5
|
edgeless/edgeless-text.spec.ts:155:3 › edgeless text block › edgeless text width auto-adjusting:
tests/edgeless/edgeless-text.spec.ts#L52
2) edgeless/edgeless-text.spec.ts:155:3 › edgeless text block › edgeless text width auto-adjusting
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 83
Received: 50
Expected precision: 0
Expected difference: < 0.5
Received difference: 33
50 | expect(realBound.x).toBeCloseTo(bound.x, 0);
51 | expect(realBound.y).toBeCloseTo(bound.y, 0);
> 52 | expect(realBound.w).toBeCloseTo(bound.w, 0);
| ^
53 | expect(realBound.h).toBeCloseTo(bound.h, 0);
54 | }
55 |
at assertEdgelessTextModelRect (/home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:52:23)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:167:5
|
edgeless/edgeless-text.spec.ts:155:3 › edgeless text block › edgeless text width auto-adjusting:
tests/edgeless/edgeless-text.spec.ts#L52
2) edgeless/edgeless-text.spec.ts:155:3 › edgeless text block › edgeless text width auto-adjusting
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 83
Received: 50
Expected precision: 0
Expected difference: < 0.5
Received difference: 33
50 | expect(realBound.x).toBeCloseTo(bound.x, 0);
51 | expect(realBound.y).toBeCloseTo(bound.y, 0);
> 52 | expect(realBound.w).toBeCloseTo(bound.w, 0);
| ^
53 | expect(realBound.h).toBeCloseTo(bound.h, 0);
54 | }
55 |
at assertEdgelessTextModelRect (/home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:52:23)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/edgeless-text.spec.ts:167:5
|
edgeless/edgeless-text.spec.ts:189:3 › edgeless text block › edgeless text width fixed when drag moving:
tests/edgeless/edgeless-text.spec.ts#L1
3) edgeless/edgeless-text.spec.ts:189:3 › edgeless text block › edgeless text width fixed when drag moving
Test timeout of 40000ms exceeded.
|
edgeless/edgeless-text.spec.ts:189:3 › edgeless text block › edgeless text width fixed when drag moving:
tests/utils/playwright.ts#L53
3) edgeless/edgeless-text.spec.ts:189:3 › edgeless text block › edgeless text width fixed when drag moving
Error: page.evaluate: Target crashed
at utils/playwright.ts:53
51 | if (enableCoverage) {
52 | for (const page of context.pages()) {
> 53 | await page.evaluate(() =>
| ^
54 | // @ts-expect-error
55 | window.collectIstanbulCoverage(JSON.stringify(window.__coverage__))
56 | );
at Object.context (/home/runner/work/blocksuite/blocksuite/tests/utils/playwright.ts:53:20)
|
list.spec.ts:801:3 › readonly › should render collapsed list correctly:
tests/list.spec.ts#L812
1) list.spec.ts:801:3 › readonly › should render collapsed list correctly ────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('.toggle-icon')
810 | await expect(collapsed).toHaveCount(0);
811 |
> 812 | await toggleIcon.click();
| ^
813 | await expect(collapsed).toHaveCount(1);
814 |
815 | await switchReadonly(page);
at /home/runner/work/blocksuite/blocksuite/tests/list.spec.ts:812:22
|
list.spec.ts:801:3 › readonly › should render collapsed list correctly:
tests/list.spec.ts#L812
1) list.spec.ts:801:3 › readonly › should render collapsed list correctly ────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('.toggle-icon')
810 | await expect(collapsed).toHaveCount(0);
811 |
> 812 | await toggleIcon.click();
| ^
813 | await expect(collapsed).toHaveCount(1);
814 |
815 | await switchReadonly(page);
at /home/runner/work/blocksuite/blocksuite/tests/list.spec.ts:812:22
|
list.spec.ts:801:3 › readonly › should render collapsed list correctly:
tests/list.spec.ts#L812
1) list.spec.ts:801:3 › readonly › should render collapsed list correctly ────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('.toggle-icon')
810 | await expect(collapsed).toHaveCount(0);
811 |
> 812 | await toggleIcon.click();
| ^
813 | await expect(collapsed).toHaveCount(1);
814 |
815 | await switchReadonly(page);
at /home/runner/work/blocksuite/blocksuite/tests/list.spec.ts:812:22
|
list.spec.ts:801:3 › readonly › should render collapsed list correctly:
tests/list.spec.ts#L812
1) list.spec.ts:801:3 › readonly › should render collapsed list correctly ────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('.toggle-icon')
810 | await expect(collapsed).toHaveCount(0);
811 |
> 812 | await toggleIcon.click();
| ^
813 | await expect(collapsed).toHaveCount(1);
814 |
815 | await switchReadonly(page);
at /home/runner/work/blocksuite/blocksuite/tests/list.spec.ts:812:22
|
markdown.spec.ts:26:1 › markdown shortcut:
tests/eval at evaluate (:234:30)#L3
2) markdown.spec.ts:26:1 › markdown shortcut ─────────────────────────────────────────────────────
Error: page.evaluate: IndexSizeError: Failed to execute 'getRangeAt' on 'Selection': 0 is not a valid index.
at eval (eval at evaluate (:234:30), <anonymous>:3:29)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:3:29)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getCursorBlockIdAndHeight (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/keyboard.ts:191:15)
at /home/runner/work/blocksuite/blocksuite/tests/markdown.spec.ts:37:16
|
markdown.spec.ts:26:1 › markdown shortcut:
tests/eval at evaluate (:234:30)#L3
2) markdown.spec.ts:26:1 › markdown shortcut ─────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: IndexSizeError: Failed to execute 'getRangeAt' on 'Selection': 0 is not a valid index.
at eval (eval at evaluate (:234:30), <anonymous>:3:29)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:3:29)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getCursorBlockIdAndHeight (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/keyboard.ts:191:15)
at /home/runner/work/blocksuite/blocksuite/tests/markdown.spec.ts:37:16
|
markdown.spec.ts:26:1 › markdown shortcut:
tests/eval at evaluate (:234:30)#L3
2) markdown.spec.ts:26:1 › markdown shortcut ─────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: IndexSizeError: Failed to execute 'getRangeAt' on 'Selection': 0 is not a valid index.
at eval (eval at evaluate (:234:30), <anonymous>:3:29)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:3:29)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getCursorBlockIdAndHeight (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/keyboard.ts:191:15)
at /home/runner/work/blocksuite/blocksuite/tests/markdown.spec.ts:37:16
|
markdown.spec.ts:26:1 › markdown shortcut:
tests/eval at evaluate (:234:30)#L3
2) markdown.spec.ts:26:1 › markdown shortcut ─────────────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: IndexSizeError: Failed to execute 'getRangeAt' on 'Selection': 0 is not a valid index.
at eval (eval at evaluate (:234:30), <anonymous>:3:29)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:3:29)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getCursorBlockIdAndHeight (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/keyboard.ts:191:15)
at /home/runner/work/blocksuite/blocksuite/tests/markdown.spec.ts:37:16
|
markdown.spec.ts:514:1 › inline code should work when pressing Enter followed by Backspace twice:
tests/utils/asserts.ts#L209
3) markdown.spec.ts:514:1 › inline code should work when pressing Enter followed by Backspace twice
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 2
Array [
- "test",
+ "tes",
+ "t",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/markdown.spec.ts:534:3
|
markdown.spec.ts:514:1 › inline code should work when pressing Enter followed by Backspace twice:
tests/utils/asserts.ts#L209
3) markdown.spec.ts:514:1 › inline code should work when pressing Enter followed by Backspace twice
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 2
Array [
- "test",
+ "tes",
+ "t",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/markdown.spec.ts:534:3
|
selection/native.spec.ts:1600:1 › auto-scroll when creating a new paragraph-block by pressing enter:
tests/selection/native.spec.ts#L1629
1) selection/native.spec.ts:1600:1 › auto-scroll when creating a new paragraph-block by pressing enter
Error: expect(received).toBeGreaterThan(expected)
Expected: > 0
Received: 0
1627 | const newScrollTop = await getScrollTop();
1628 |
> 1629 | expect(newScrollTop).toBeGreaterThan(oldScrollTop);
| ^
1630 | });
1631 |
1632 | test('Use arrow up and down to select two types of block', async ({ page }) => {
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:1629:24
|
selection/native.spec.ts:1600:1 › auto-scroll when creating a new paragraph-block by pressing enter:
tests/selection/native.spec.ts#L1629
1) selection/native.spec.ts:1600:1 › auto-scroll when creating a new paragraph-block by pressing enter
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeGreaterThan(expected)
Expected: > 0
Received: 0
1627 | const newScrollTop = await getScrollTop();
1628 |
> 1629 | expect(newScrollTop).toBeGreaterThan(oldScrollTop);
| ^
1630 | });
1631 |
1632 | test('Use arrow up and down to select two types of block', async ({ page }) => {
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:1629:24
|
selection/native.spec.ts:1600:1 › auto-scroll when creating a new paragraph-block by pressing enter:
tests/selection/native.spec.ts#L1629
1) selection/native.spec.ts:1600:1 › auto-scroll when creating a new paragraph-block by pressing enter
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeGreaterThan(expected)
Expected: > 0
Received: 0
1627 | const newScrollTop = await getScrollTop();
1628 |
> 1629 | expect(newScrollTop).toBeGreaterThan(oldScrollTop);
| ^
1630 | });
1631 |
1632 | test('Use arrow up and down to select two types of block', async ({ page }) => {
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:1629:24
|
selection/native.spec.ts:1600:1 › auto-scroll when creating a new paragraph-block by pressing enter:
tests/selection/native.spec.ts#L1629
1) selection/native.spec.ts:1600:1 › auto-scroll when creating a new paragraph-block by pressing enter
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeGreaterThan(expected)
Expected: > 0
Received: 0
1627 | const newScrollTop = await getScrollTop();
1628 |
> 1629 | expect(newScrollTop).toBeGreaterThan(oldScrollTop);
| ^
1630 | });
1631 |
1632 | test('Use arrow up and down to select two types of block', async ({ page }) => {
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:1629:24
|
selection/native.spec.ts:1632:1 › Use arrow up and down to select two types of block:
tests/utils/asserts.ts#L239
2) selection/native.spec.ts:1632:1 › Use arrow up and down to select two types of block ──────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('affine-divider')
Expected: 3
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('affine-divider')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
at utils/asserts.ts:239
237 |
238 | export async function assertDivider(page: Page, count: number) {
> 239 | await expect(page.locator('affine-divider')).toHaveCount(count);
| ^
240 | }
241 |
242 | export async function assertRichDragButton(page: Page) {
at assertDivider (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:239:48)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:1649:9
|
selection/native.spec.ts:1632:1 › Use arrow up and down to select two types of block:
tests/utils/asserts.ts#L239
2) selection/native.spec.ts:1632:1 › Use arrow up and down to select two types of block ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('affine-divider')
Expected: 3
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('affine-divider')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
at utils/asserts.ts:239
237 |
238 | export async function assertDivider(page: Page, count: number) {
> 239 | await expect(page.locator('affine-divider')).toHaveCount(count);
| ^
240 | }
241 |
242 | export async function assertRichDragButton(page: Page) {
at assertDivider (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:239:48)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:1649:9
|
selection/native.spec.ts:1632:1 › Use arrow up and down to select two types of block:
tests/utils/asserts.ts#L239
2) selection/native.spec.ts:1632:1 › Use arrow up and down to select two types of block ──────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('affine-divider')
Expected: 3
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('affine-divider')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
at utils/asserts.ts:239
237 |
238 | export async function assertDivider(page: Page, count: number) {
> 239 | await expect(page.locator('affine-divider')).toHaveCount(count);
| ^
240 | }
241 |
242 | export async function assertRichDragButton(page: Page) {
at assertDivider (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:239:48)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:1649:9
|
selection/native.spec.ts:1632:1 › Use arrow up and down to select two types of block:
tests/utils/asserts.ts#L239
2) selection/native.spec.ts:1632:1 › Use arrow up and down to select two types of block ──────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('affine-divider')
Expected: 3
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('affine-divider')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
at utils/asserts.ts:239
237 |
238 | export async function assertDivider(page: Page, count: number) {
> 239 | await expect(page.locator('affine-divider')).toHaveCount(count);
| ^
240 | }
241 |
242 | export async function assertRichDragButton(page: Page) {
at assertDivider (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:239:48)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:1649:9
|
selection/native.spec.ts:1690:3 › should scroll text to view when drag to select at top or bottom edge › from top to bottom:
tests/eval at evaluate (:234:30)#L11
3) selection/native.spec.ts:1690:3 › should scroll text to view when drag to select at top or bottom edge › from top to bottom
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'inlineEditor')
at eval (eval at evaluate (:234:30), <anonymous>:11:31)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:11:31)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getIndexCoordinate (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1223:28)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:1699:30
|
selection/native.spec.ts:1690:3 › should scroll text to view when drag to select at top or bottom edge › from top to bottom:
tests/eval at evaluate (:234:30)#L11
3) selection/native.spec.ts:1690:3 › should scroll text to view when drag to select at top or bottom edge › from top to bottom
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'inlineEditor')
at eval (eval at evaluate (:234:30), <anonymous>:11:31)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:11:31)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getIndexCoordinate (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1223:28)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:1699:30
|
clipboard/clipboard.spec.ts:97:1 › split block when paste:
tests/utils/actions/misc.ts#L331
1) clipboard/clipboard.spec.ts:97:1 › split block when paste ─────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 9
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: val does not exist
+ at xt (http://localhost:4173/assets/framework-DTc64MKO.js:1:1490)
+ at get rootElement (http://localhost:4173/assets/framework-DTc64MKO.js:234:4353)
+ at s0.waitForUpdate (http://localhost:4173/assets/framework-DTc64MKO.js:233:476)
+ at jc.x (http://localhost:4173/assets/components-SCpig52f.js:8974:2346)
+ at jc.c (http://localhost:4173/assets/framework-DTc64MKO.js:37:12268)
+ at ko (http://localhost:4173/assets/framework-DTc64MKO.js:37:12636)
+ at s0._init (http://localhost:4173/assets/components-SCpig52f.js:8974:2182)
+ at http://localhost:4173/assets/components-SCpig52f.js:8974:4216
at utils/actions/misc.ts:331
329 | expect
330 | .soft('Unexpected console message: ' + message.text())
> 331 | .toBe(
| ^
332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
333 | );
334 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
|
clipboard/clipboard.spec.ts:97:1 › split block when paste:
tests/utils/actions/misc.ts#L331
1) clipboard/clipboard.spec.ts:97:1 › split block when paste ─────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 9
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: val does not exist
+ at xt (http://localhost:4173/assets/framework-DTc64MKO.js:1:1490)
+ at get rootElement (http://localhost:4173/assets/framework-DTc64MKO.js:234:4353)
+ at s0.waitForUpdate (http://localhost:4173/assets/framework-DTc64MKO.js:233:476)
+ at jc.x (http://localhost:4173/assets/components-SCpig52f.js:8974:2346)
+ at jc.c (http://localhost:4173/assets/framework-DTc64MKO.js:37:12268)
+ at ko (http://localhost:4173/assets/framework-DTc64MKO.js:37:12636)
+ at s0._init (http://localhost:4173/assets/components-SCpig52f.js:8974:2182)
+ at http://localhost:4173/assets/components-SCpig52f.js:8974:4216
at utils/actions/misc.ts:331
329 | expect
330 | .soft('Unexpected console message: ' + message.text())
> 331 | .toBe(
| ^
332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
333 | );
334 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
|
clipboard/clipboard.spec.ts:97:1 › split block when paste:
tests/utils/actions/misc.ts#L331
1) clipboard/clipboard.spec.ts:97:1 › split block when paste ─────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 9
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: val does not exist
+ at xt (http://localhost:4173/assets/framework-DTc64MKO.js:1:1490)
+ at get rootElement (http://localhost:4173/assets/framework-DTc64MKO.js:234:4353)
+ at s0.waitForUpdate (http://localhost:4173/assets/framework-DTc64MKO.js:233:476)
+ at jc.x (http://localhost:4173/assets/components-SCpig52f.js:8974:2346)
+ at jc.c (http://localhost:4173/assets/framework-DTc64MKO.js:37:12268)
+ at ko (http://localhost:4173/assets/framework-DTc64MKO.js:37:12636)
+ at s0._init (http://localhost:4173/assets/components-SCpig52f.js:8974:2182)
+ at http://localhost:4173/assets/components-SCpig52f.js:8974:4216
at utils/actions/misc.ts:331
329 | expect
330 | .soft('Unexpected console message: ' + message.text())
> 331 | .toBe(
| ^
332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
333 | );
334 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
|
clipboard/clipboard.spec.ts:97:1 › split block when paste:
tests/utils/actions/misc.ts#L331
1) clipboard/clipboard.spec.ts:97:1 › split block when paste ─────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 9
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: val does not exist
+ at xt (http://localhost:4173/assets/framework-DTc64MKO.js:1:1490)
+ at get rootElement (http://localhost:4173/assets/framework-DTc64MKO.js:234:4353)
+ at s0.waitForUpdate (http://localhost:4173/assets/framework-DTc64MKO.js:233:476)
+ at jc.x (http://localhost:4173/assets/components-SCpig52f.js:8974:2346)
+ at jc.c (http://localhost:4173/assets/framework-DTc64MKO.js:37:12268)
+ at ko (http://localhost:4173/assets/framework-DTc64MKO.js:37:12636)
+ at s0._init (http://localhost:4173/assets/components-SCpig52f.js:8974:2182)
+ at http://localhost:4173/assets/components-SCpig52f.js:8974:4216
at utils/actions/misc.ts:331
329 | expect
330 | .soft('Unexpected console message: ' + message.text())
> 331 | .toBe(
| ^
332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
333 | );
334 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
|
clipboard/clipboard.spec.ts:138:1 › copy clipItems format:
tests/utils/actions/misc.ts#L331
2) clipboard/clipboard.spec.ts:138:1 › copy clipItems format ─────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 9
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: val does not exist
+ at xt (http://localhost:4173/assets/framework-DTc64MKO.js:1:1490)
+ at get rootElement (http://localhost:4173/assets/framework-DTc64MKO.js:234:4353)
+ at s0.waitForUpdate (http://localhost:4173/assets/framework-DTc64MKO.js:233:476)
+ at jc.x (http://localhost:4173/assets/components-SCpig52f.js:8974:2346)
+ at jc.c (http://localhost:4173/assets/framework-DTc64MKO.js:37:12268)
+ at ko (http://localhost:4173/assets/framework-DTc64MKO.js:37:12636)
+ at s0._init (http://localhost:4173/assets/components-SCpig52f.js:8974:2182)
+ at http://localhost:4173/assets/components-SCpig52f.js:8974:4216
at utils/actions/misc.ts:331
329 | expect
330 | .soft('Unexpected console message: ' + message.text())
> 331 | .toBe(
| ^
332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
333 | );
334 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
|
clipboard/clipboard.spec.ts:138:1 › copy clipItems format:
tests/utils/actions/misc.ts#L331
2) clipboard/clipboard.spec.ts:138:1 › copy clipItems format ─────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 9
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: val does not exist
+ at xt (http://localhost:4173/assets/framework-DTc64MKO.js:1:1490)
+ at get rootElement (http://localhost:4173/assets/framework-DTc64MKO.js:234:4353)
+ at s0.waitForUpdate (http://localhost:4173/assets/framework-DTc64MKO.js:233:476)
+ at jc.x (http://localhost:4173/assets/components-SCpig52f.js:8974:2346)
+ at jc.c (http://localhost:4173/assets/framework-DTc64MKO.js:37:12268)
+ at ko (http://localhost:4173/assets/framework-DTc64MKO.js:37:12636)
+ at s0._init (http://localhost:4173/assets/components-SCpig52f.js:8974:2182)
+ at http://localhost:4173/assets/components-SCpig52f.js:8974:4216
at utils/actions/misc.ts:331
329 | expect
330 | .soft('Unexpected console message: ' + message.text())
> 331 | .toBe(
| ^
332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
333 | );
334 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
|
clipboard/clipboard.spec.ts:138:1 › copy clipItems format:
tests/utils/actions/misc.ts#L331
2) clipboard/clipboard.spec.ts:138:1 › copy clipItems format ─────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 9
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: val does not exist
+ at xt (http://localhost:4173/assets/framework-DTc64MKO.js:1:1490)
+ at get rootElement (http://localhost:4173/assets/framework-DTc64MKO.js:234:4353)
+ at s0.waitForUpdate (http://localhost:4173/assets/framework-DTc64MKO.js:233:476)
+ at jc.x (http://localhost:4173/assets/components-SCpig52f.js:8974:2346)
+ at jc.c (http://localhost:4173/assets/framework-DTc64MKO.js:37:12268)
+ at ko (http://localhost:4173/assets/framework-DTc64MKO.js:37:12636)
+ at s0._init (http://localhost:4173/assets/components-SCpig52f.js:8974:2182)
+ at http://localhost:4173/assets/components-SCpig52f.js:8974:4216
at utils/actions/misc.ts:331
329 | expect
330 | .soft('Unexpected console message: ' + message.text())
> 331 | .toBe(
| ^
332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
333 | );
334 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
|
clipboard/clipboard.spec.ts:138:1 › copy clipItems format:
tests/utils/actions/misc.ts#L331
2) clipboard/clipboard.spec.ts:138:1 › copy clipItems format ─────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 9
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: val does not exist
+ at xt (http://localhost:4173/assets/framework-DTc64MKO.js:1:1490)
+ at get rootElement (http://localhost:4173/assets/framework-DTc64MKO.js:234:4353)
+ at s0.waitForUpdate (http://localhost:4173/assets/framework-DTc64MKO.js:233:476)
+ at jc.x (http://localhost:4173/assets/components-SCpig52f.js:8974:2346)
+ at jc.c (http://localhost:4173/assets/framework-DTc64MKO.js:37:12268)
+ at ko (http://localhost:4173/assets/framework-DTc64MKO.js:37:12636)
+ at s0._init (http://localhost:4173/assets/components-SCpig52f.js:8974:2182)
+ at http://localhost:4173/assets/components-SCpig52f.js:8974:4216
at utils/actions/misc.ts:331
329 | expect
330 | .soft('Unexpected console message: ' + message.text())
> 331 | .toBe(
| ^
332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
333 | );
334 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
|
clipboard/clipboard.spec.ts:199:1 › should keep first line format when pasted into a new line:
tests/utils/actions/misc.ts#L331
3) clipboard/clipboard.spec.ts:199:1 › should keep first line format when pasted into a new line ─
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 9
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: val does not exist
+ at xt (http://localhost:4173/assets/framework-DTc64MKO.js:1:1490)
+ at get rootElement (http://localhost:4173/assets/framework-DTc64MKO.js:234:4353)
+ at s0.waitForUpdate (http://localhost:4173/assets/framework-DTc64MKO.js:233:476)
+ at jc.x (http://localhost:4173/assets/components-SCpig52f.js:8974:2346)
+ at jc.c (http://localhost:4173/assets/framework-DTc64MKO.js:37:12268)
+ at ko (http://localhost:4173/assets/framework-DTc64MKO.js:37:12636)
+ at s0._init (http://localhost:4173/assets/components-SCpig52f.js:8974:2182)
+ at http://localhost:4173/assets/components-SCpig52f.js:8974:4216
at utils/actions/misc.ts:331
329 | expect
330 | .soft('Unexpected console message: ' + message.text())
> 331 | .toBe(
| ^
332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
333 | );
334 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
|
clipboard/clipboard.spec.ts:199:1 › should keep first line format when pasted into a new line:
tests/utils/actions/misc.ts#L331
3) clipboard/clipboard.spec.ts:199:1 › should keep first line format when pasted into a new line ─
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 9
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: val does not exist
+ at xt (http://localhost:4173/assets/framework-DTc64MKO.js:1:1490)
+ at get rootElement (http://localhost:4173/assets/framework-DTc64MKO.js:234:4353)
+ at s0.waitForUpdate (http://localhost:4173/assets/framework-DTc64MKO.js:233:476)
+ at jc.x (http://localhost:4173/assets/components-SCpig52f.js:8974:2346)
+ at jc.c (http://localhost:4173/assets/framework-DTc64MKO.js:37:12268)
+ at ko (http://localhost:4173/assets/framework-DTc64MKO.js:37:12636)
+ at s0._init (http://localhost:4173/assets/components-SCpig52f.js:8974:2182)
+ at http://localhost:4173/assets/components-SCpig52f.js:8974:4216
at utils/actions/misc.ts:331
329 | expect
330 | .soft('Unexpected console message: ' + message.text())
> 331 | .toBe(
| ^
332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
333 | );
334 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
|
fragments/outline/outline-panel.spec.ts:237:3 › toc-panel › should scroll to title when click title in outline panel:
tests/fragments/outline/utils.ts#L20
1) fragments/outline/outline-panel.spec.ts:237:3 › toc-panel › should scroll to title when click title in outline panel
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('editor-host').first().locator('.h1')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('editor-host').first().locator('.h1')
at fragments/outline/utils.ts:20
18 | await type(page, `Heading ${i}`);
19 | const heading = editor.locator(`.h${i}`);
> 20 | await expect(heading).toBeVisible();
| ^
21 | headings.push(heading);
22 | await pressEnter(page, 10);
23 | }
at createHeadingsWithGap (/home/runner/work/blocksuite/blocksuite/tests/fragments/outline/utils.ts:20:27)
at /home/runner/work/blocksuite/blocksuite/tests/fragments/outline/outline-panel.spec.ts:248:5
|
fragments/outline/outline-panel.spec.ts:237:3 › toc-panel › should scroll to title when click title in outline panel:
tests/fragments/outline/utils.ts#L20
1) fragments/outline/outline-panel.spec.ts:237:3 › toc-panel › should scroll to title when click title in outline panel
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('editor-host').first().locator('.h1')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('editor-host').first().locator('.h1')
at fragments/outline/utils.ts:20
18 | await type(page, `Heading ${i}`);
19 | const heading = editor.locator(`.h${i}`);
> 20 | await expect(heading).toBeVisible();
| ^
21 | headings.push(heading);
22 | await pressEnter(page, 10);
23 | }
at createHeadingsWithGap (/home/runner/work/blocksuite/blocksuite/tests/fragments/outline/utils.ts:20:27)
at /home/runner/work/blocksuite/blocksuite/tests/fragments/outline/outline-panel.spec.ts:248:5
|
fragments/outline/outline-panel.spec.ts:237:3 › toc-panel › should scroll to title when click title in outline panel:
tests/fragments/outline/utils.ts#L20
1) fragments/outline/outline-panel.spec.ts:237:3 › toc-panel › should scroll to title when click title in outline panel
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('editor-host').first().locator('.h1')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('editor-host').first().locator('.h1')
at fragments/outline/utils.ts:20
18 | await type(page, `Heading ${i}`);
19 | const heading = editor.locator(`.h${i}`);
> 20 | await expect(heading).toBeVisible();
| ^
21 | headings.push(heading);
22 | await pressEnter(page, 10);
23 | }
at createHeadingsWithGap (/home/runner/work/blocksuite/blocksuite/tests/fragments/outline/utils.ts:20:27)
at /home/runner/work/blocksuite/blocksuite/tests/fragments/outline/outline-panel.spec.ts:248:5
|
fragments/outline/outline-panel.spec.ts:237:3 › toc-panel › should scroll to title when click title in outline panel:
tests/fragments/outline/utils.ts#L20
1) fragments/outline/outline-panel.spec.ts:237:3 › toc-panel › should scroll to title when click title in outline panel
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('editor-host').first().locator('.h1')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('editor-host').first().locator('.h1')
at fragments/outline/utils.ts:20
18 | await type(page, `Heading ${i}`);
19 | const heading = editor.locator(`.h${i}`);
> 20 | await expect(heading).toBeVisible();
| ^
21 | headings.push(heading);
22 | await pressEnter(page, 10);
23 | }
at createHeadingsWithGap (/home/runner/work/blocksuite/blocksuite/tests/fragments/outline/utils.ts:20:27)
at /home/runner/work/blocksuite/blocksuite/tests/fragments/outline/outline-panel.spec.ts:248:5
|
fragments/outline/outline-panel.spec.ts:291:3 › toc-panel › should reorder notes when drag and drop note in outline panel:
tests/utils/asserts.ts#L209
2) fragments/outline/outline-panel.spec.ts:291:3 › toc-panel › should reorder notes when drag and drop note in outline panel
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
"",
- "hello",
- "world",
+ "",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/fragments/outline/outline-panel.spec.ts:320:5
|
fragments/outline/outline-panel.spec.ts:291:3 › toc-panel › should reorder notes when drag and drop note in outline panel:
tests/utils/asserts.ts#L209
2) fragments/outline/outline-panel.spec.ts:291:3 › toc-panel › should reorder notes when drag and drop note in outline panel
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
"",
- "hello",
- "world",
+ "",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/fragments/outline/outline-panel.spec.ts:320:5
|
fragments/outline/outline-panel.spec.ts:291:3 › toc-panel › should reorder notes when drag and drop note in outline panel:
tests/utils/asserts.ts#L209
2) fragments/outline/outline-panel.spec.ts:291:3 › toc-panel › should reorder notes when drag and drop note in outline panel
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
"",
- "hello",
- "world",
+ "",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/fragments/outline/outline-panel.spec.ts:320:5
|
fragments/outline/outline-panel.spec.ts:291:3 › toc-panel › should reorder notes when drag and drop note in outline panel:
tests/utils/asserts.ts#L209
2) fragments/outline/outline-panel.spec.ts:291:3 › toc-panel › should reorder notes when drag and drop note in outline panel
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
"",
- "hello",
- "world",
+ "",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/fragments/outline/outline-panel.spec.ts:320:5
|
fragments/outline/outline-panel.spec.ts:331:3 › toc-panel › should update notes after slicing note:
tests/fragments/outline/outline-panel.spec.ts#L356
3) fragments/outline/outline-panel.spec.ts:331:3 › toc-panel › should update notes after slicing note
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.note-slicer-button')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.note-slicer-button')
354 |
355 | await triggerComponentToolbarAction(page, 'changeNoteSlicerSetting');
> 356 | await expect(page.locator('.note-slicer-button')).toBeVisible();
| ^
357 | await page.locator('.note-slicer-button').click();
358 |
359 | await expect(docVisibleCard).toHaveCount(3);
at /home/runner/work/blocksuite/blocksuite/tests/fragments/outline/outline-panel.spec.ts:356:55
|
fragments/outline/outline-panel.spec.ts:331:3 › toc-panel › should update notes after slicing note:
tests/fragments/outline/outline-panel.spec.ts#L356
3) fragments/outline/outline-panel.spec.ts:331:3 › toc-panel › should update notes after slicing note
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.note-slicer-button')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.note-slicer-button')
354 |
355 | await triggerComponentToolbarAction(page, 'changeNoteSlicerSetting');
> 356 | await expect(page.locator('.note-slicer-button')).toBeVisible();
| ^
357 | await page.locator('.note-slicer-button').click();
358 |
359 | await expect(docVisibleCard).toHaveCount(3);
at /home/runner/work/blocksuite/blocksuite/tests/fragments/outline/outline-panel.spec.ts:356:55
|
format-bar.spec.ts:161:1 › should format quick bar can only display one at a time:
tests/eval at evaluate (:234:30)#L11
1) format-bar.spec.ts:161:1 › should format quick bar can only display one at a time ─────────────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'inlineEditor')
at eval (eval at evaluate (:234:30), <anonymous>:11:31)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:11:31)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getIndexCoordinate (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1223:28)
at dragBetweenIndices (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:47:28)
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:171:9
|
format-bar.spec.ts:161:1 › should format quick bar can only display one at a time:
tests/eval at evaluate (:234:30)#L11
1) format-bar.spec.ts:161:1 › should format quick bar can only display one at a time ─────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'inlineEditor')
at eval (eval at evaluate (:234:30), <anonymous>:11:31)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:11:31)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getIndexCoordinate (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1223:28)
at dragBetweenIndices (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:47:28)
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:171:9
|
format-bar.spec.ts:161:1 › should format quick bar can only display one at a time:
tests/eval at evaluate (:234:30)#L11
1) format-bar.spec.ts:161:1 › should format quick bar can only display one at a time ─────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'inlineEditor')
at eval (eval at evaluate (:234:30), <anonymous>:11:31)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:11:31)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getIndexCoordinate (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1223:28)
at dragBetweenIndices (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:47:28)
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:171:9
|
format-bar.spec.ts:161:1 › should format quick bar can only display one at a time:
tests/eval at evaluate (:234:30)#L11
1) format-bar.spec.ts:161:1 › should format quick bar can only display one at a time ─────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'inlineEditor')
at eval (eval at evaluate (:234:30), <anonymous>:11:31)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:11:31)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getIndexCoordinate (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1223:28)
at dragBetweenIndices (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:47:28)
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:171:9
|
format-bar.spec.ts:175:1 › should format quick bar hide when type text:
tests/eval at evaluate (:234:30)#L11
2) format-bar.spec.ts:175:1 › should format quick bar hide when type text ────────────────────────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'inlineEditor')
at eval (eval at evaluate (:234:30), <anonymous>:11:31)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:11:31)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getIndexCoordinate (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1223:28)
at dragBetweenIndices (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:52:26)
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:179:3
|
format-bar.spec.ts:175:1 › should format quick bar hide when type text:
tests/eval at evaluate (:234:30)#L11
2) format-bar.spec.ts:175:1 › should format quick bar hide when type text ────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'inlineEditor')
at eval (eval at evaluate (:234:30), <anonymous>:11:31)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:11:31)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getIndexCoordinate (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1223:28)
at dragBetweenIndices (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:52:26)
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:179:3
|
format-bar.spec.ts:175:1 › should format quick bar hide when type text:
tests/eval at evaluate (:234:30)#L11
2) format-bar.spec.ts:175:1 › should format quick bar hide when type text ────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'inlineEditor')
at eval (eval at evaluate (:234:30), <anonymous>:11:31)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:11:31)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getIndexCoordinate (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1223:28)
at dragBetweenIndices (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:52:26)
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:179:3
|
format-bar.spec.ts:175:1 › should format quick bar hide when type text:
tests/eval at evaluate (:234:30)#L11
2) format-bar.spec.ts:175:1 › should format quick bar hide when type text ────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'inlineEditor')
at eval (eval at evaluate (:234:30), <anonymous>:11:31)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:11:31)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getIndexCoordinate (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1223:28)
at dragBetweenIndices (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:52:26)
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:179:3
|
format-bar.spec.ts:186:1 › should format quick bar be able to format text:
tests/eval at evaluate (:234:30)#L15
3) format-bar.spec.ts:186:1 › should format quick bar be able to format text ─────────────────────
Error: page.evaluate: TypeError: Cannot read properties of null (reading 'getBoundingClientRect')
at eval (eval at evaluate (:234:30), <anonymous>:15:33)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:15:33)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getIndexCoordinate (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1223:28)
at dragBetweenIndices (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:52:26)
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:193:3
|
format-bar.spec.ts:186:1 › should format quick bar be able to format text:
tests/eval at evaluate (:234:30)#L15
3) format-bar.spec.ts:186:1 › should format quick bar be able to format text ─────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: TypeError: Cannot read properties of null (reading 'getBoundingClientRect')
at eval (eval at evaluate (:234:30), <anonymous>:15:33)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:15:33)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getIndexCoordinate (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1223:28)
at dragBetweenIndices (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:52:26)
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:193:3
|
selection/native.spec.ts:265:1 › cursor move to up and down with children block:
tests/selection/native.spec.ts#L285
1) selection/native.spec.ts:265:1 › cursor move to up and down with children block ───────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "arrow down test 2"
Received: "arrow down test 1arrow down test 3"
283 | const indexOne = await getInlineSelectionIndex(page);
284 | const textOne = await getInlineSelectionText(page);
> 285 | expect(textOne).toBe('arrow down test 2');
| ^
286 | expect(indexOne).toBe(13);
287 | for (let i = 0; i < 3; i++) {
288 | await page.keyboard.press('ArrowLeft');
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:285:19
|
selection/native.spec.ts:265:1 › cursor move to up and down with children block:
tests/selection/native.spec.ts#L285
1) selection/native.spec.ts:265:1 › cursor move to up and down with children block ───────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "arrow down test 2"
Received: "arrow down test 1arrow down test 3"
283 | const indexOne = await getInlineSelectionIndex(page);
284 | const textOne = await getInlineSelectionText(page);
> 285 | expect(textOne).toBe('arrow down test 2');
| ^
286 | expect(indexOne).toBe(13);
287 | for (let i = 0; i < 3; i++) {
288 | await page.keyboard.press('ArrowLeft');
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:285:19
|
selection/native.spec.ts:265:1 › cursor move to up and down with children block:
tests/selection/native.spec.ts#L285
1) selection/native.spec.ts:265:1 › cursor move to up and down with children block ───────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "arrow down test 2"
Received: "arrow down test 1arrow down test 3"
283 | const indexOne = await getInlineSelectionIndex(page);
284 | const textOne = await getInlineSelectionText(page);
> 285 | expect(textOne).toBe('arrow down test 2');
| ^
286 | expect(indexOne).toBe(13);
287 | for (let i = 0; i < 3; i++) {
288 | await page.keyboard.press('ArrowLeft');
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:285:19
|
selection/native.spec.ts:265:1 › cursor move to up and down with children block:
tests/selection/native.spec.ts#L285
1) selection/native.spec.ts:265:1 › cursor move to up and down with children block ───────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "arrow down test 2"
Received: "arrow down test 1arrow down test 3"
283 | const indexOne = await getInlineSelectionIndex(page);
284 | const textOne = await getInlineSelectionText(page);
> 285 | expect(textOne).toBe('arrow down test 2');
| ^
286 | expect(indexOne).toBe(13);
287 | for (let i = 0; i < 3; i++) {
288 | await page.keyboard.press('ArrowLeft');
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:285:19
|
selection/native.spec.ts:301:1 › cursor move left and right:
tests/eval at evaluate (:234:30)#L4
2) selection/native.spec.ts:301:1 › cursor move left and right ───────────────────────────────────
Error: page.evaluate: IndexSizeError: Failed to execute 'getRangeAt' on 'Selection': 0 is not a valid index.
at eval (eval at evaluate (:234:30), <anonymous>:4:29)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:4:29)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getInlineSelectionIndex (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:837:15)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:308:24
|
selection/native.spec.ts:301:1 › cursor move left and right:
tests/eval at evaluate (:234:30)#L4
2) selection/native.spec.ts:301:1 › cursor move left and right ───────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: IndexSizeError: Failed to execute 'getRangeAt' on 'Selection': 0 is not a valid index.
at eval (eval at evaluate (:234:30), <anonymous>:4:29)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:4:29)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getInlineSelectionIndex (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:837:15)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:308:24
|
selection/native.spec.ts:301:1 › cursor move left and right:
tests/eval at evaluate (:234:30)#L4
2) selection/native.spec.ts:301:1 › cursor move left and right ───────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: IndexSizeError: Failed to execute 'getRangeAt' on 'Selection': 0 is not a valid index.
at eval (eval at evaluate (:234:30), <anonymous>:4:29)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:4:29)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getInlineSelectionIndex (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:837:15)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:308:24
|
selection/native.spec.ts:301:1 › cursor move left and right:
tests/eval at evaluate (:234:30)#L4
2) selection/native.spec.ts:301:1 › cursor move left and right ───────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: IndexSizeError: Failed to execute 'getRangeAt' on 'Selection': 0 is not a valid index.
at eval (eval at evaluate (:234:30), <anonymous>:4:29)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:4:29)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getInlineSelectionIndex (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:837:15)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:308:24
|
selection/native.spec.ts:318:1 › cursor move up at edge of the second line:
tests/eval at evaluate (:234:30)#L3
3) selection/native.spec.ts:318:1 › cursor move up at edge of the second line ────────────────────
Error: page.evaluate: IndexSizeError: Failed to execute 'getRangeAt' on 'Selection': 0 is not a valid index.
at eval (eval at evaluate (:234:30), <anonymous>:3:29)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:3:29)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getCursorBlockIdAndHeight (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/keyboard.ts:191:15)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:323:30
|
selection/native.spec.ts:318:1 › cursor move up at edge of the second line:
tests/eval at evaluate (:234:30)#L3
3) selection/native.spec.ts:318:1 › cursor move up at edge of the second line ────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: IndexSizeError: Failed to execute 'getRangeAt' on 'Selection': 0 is not a valid index.
at eval (eval at evaluate (:234:30), <anonymous>:3:29)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:3:29)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at getCursorBlockIdAndHeight (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/keyboard.ts:191:15)
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:323:30
|
linked-page.spec.ts:209:3 › reference node › text inserted in the between of reference nodes should not be extend attributes:
tests/utils/actions/misc.ts#L331
1) linked-page.spec.ts:209:3 › reference node › text inserted in the between of reference nodes should not be extend attributes
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 6
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: text node in v-text not found
+ at qR (http://localhost:4173/assets/framework-DTc64MKO.js:215:6458)
+ at s0.toDomRange (http://localhost:4173/assets/framework-DTc64MKO.js:217:1813)
+ at r0.textSelectionToRange (http://localhost:4173/assets/framework-DTc64MKO.js:234:8212)
+ at r0.syncTextSelectionToRange (http://localhost:4173/assets/framework-DTc64MKO.js:234:8026)
+ at http://localhost:4173/assets/framework-DTc64MKO.js:183:33138
at utils/actions/misc.ts:331
329 | expect
330 | .soft('Unexpected console message: ' + message.text())
> 331 | .toBe(
| ^
332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
333 | );
334 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
|
linked-page.spec.ts:209:3 › reference node › text inserted in the between of reference nodes should not be extend attributes:
tests/utils/actions/misc.ts#L331
1) linked-page.spec.ts:209:3 › reference node › text inserted in the between of reference nodes should not be extend attributes
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 6
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: text node in v-text not found
+ at qR (http://localhost:4173/assets/framework-DTc64MKO.js:215:6458)
+ at s0.toDomRange (http://localhost:4173/assets/framework-DTc64MKO.js:217:1813)
+ at r0.textSelectionToRange (http://localhost:4173/assets/framework-DTc64MKO.js:234:8212)
+ at r0.syncTextSelectionToRange (http://localhost:4173/assets/framework-DTc64MKO.js:234:8026)
+ at http://localhost:4173/assets/framework-DTc64MKO.js:183:33138
at utils/actions/misc.ts:331
329 | expect
330 | .soft('Unexpected console message: ' + message.text())
> 331 | .toBe(
| ^
332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
333 | );
334 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
|
linked-page.spec.ts:209:3 › reference node › text inserted in the between of reference nodes should not be extend attributes:
tests/utils/actions/misc.ts#L331
1) linked-page.spec.ts:209:3 › reference node › text inserted in the between of reference nodes should not be extend attributes
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 6
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: text node in v-text not found
+ at qR (http://localhost:4173/assets/framework-DTc64MKO.js:215:6458)
+ at s0.toDomRange (http://localhost:4173/assets/framework-DTc64MKO.js:217:1813)
+ at r0.textSelectionToRange (http://localhost:4173/assets/framework-DTc64MKO.js:234:8212)
+ at r0.syncTextSelectionToRange (http://localhost:4173/assets/framework-DTc64MKO.js:234:8026)
+ at http://localhost:4173/assets/framework-DTc64MKO.js:183:33138
at utils/actions/misc.ts:331
329 | expect
330 | .soft('Unexpected console message: ' + message.text())
> 331 | .toBe(
| ^
332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
333 | );
334 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
|
linked-page.spec.ts:209:3 › reference node › text inserted in the between of reference nodes should not be extend attributes:
tests/utils/actions/misc.ts#L331
1) linked-page.spec.ts:209:3 › reference node › text inserted in the between of reference nodes should not be extend attributes
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 6
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: text node in v-text not found
+ at qR (http://localhost:4173/assets/framework-DTc64MKO.js:215:6458)
+ at s0.toDomRange (http://localhost:4173/assets/framework-DTc64MKO.js:217:1813)
+ at r0.textSelectionToRange (http://localhost:4173/assets/framework-DTc64MKO.js:234:8212)
+ at r0.syncTextSelectionToRange (http://localhost:4173/assets/framework-DTc64MKO.js:234:8026)
+ at http://localhost:4173/assets/framework-DTc64MKO.js:183:33138
at utils/actions/misc.ts:331
329 | expect
330 | .soft('Unexpected console message: ' + message.text())
> 331 | .toBe(
| ^
332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
333 | );
334 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
|
linked-page.spec.ts:272:3 › reference node › text can be inserted as expected when reference node is in the start or end of line:
tests/utils/actions/misc.ts#L331
2) linked-page.spec.ts:272:3 › reference node › text can be inserted as expected when reference node is in the start or end of line
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 6
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: text node in v-text not found
+ at qR (http://localhost:4173/assets/framework-DTc64MKO.js:215:6458)
+ at s0.toDomRange (http://localhost:4173/assets/framework-DTc64MKO.js:217:1813)
+ at r0.textSelectionToRange (http://localhost:4173/assets/framework-DTc64MKO.js:234:8212)
+ at r0.syncTextSelectionToRange (http://localhost:4173/assets/framework-DTc64MKO.js:234:8026)
+ at http://localhost:4173/assets/framework-DTc64MKO.js:183:33138
at utils/actions/misc.ts:331
329 | expect
330 | .soft('Unexpected console message: ' + message.text())
> 331 | .toBe(
| ^
332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
333 | );
334 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
|
linked-page.spec.ts:272:3 › reference node › text can be inserted as expected when reference node is in the start or end of line:
tests/utils/actions/misc.ts#L331
2) linked-page.spec.ts:272:3 › reference node › text can be inserted as expected when reference node is in the start or end of line
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 6
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: text node in v-text not found
+ at qR (http://localhost:4173/assets/framework-DTc64MKO.js:215:6458)
+ at s0.toDomRange (http://localhost:4173/assets/framework-DTc64MKO.js:217:1813)
+ at r0.textSelectionToRange (http://localhost:4173/assets/framework-DTc64MKO.js:234:8212)
+ at r0.syncTextSelectionToRange (http://localhost:4173/assets/framework-DTc64MKO.js:234:8026)
+ at http://localhost:4173/assets/framework-DTc64MKO.js:183:33138
at utils/actions/misc.ts:331
329 | expect
330 | .soft('Unexpected console message: ' + message.text())
> 331 | .toBe(
| ^
332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
333 | );
334 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
|
linked-page.spec.ts:272:3 › reference node › text can be inserted as expected when reference node is in the start or end of line:
tests/utils/actions/misc.ts#L331
2) linked-page.spec.ts:272:3 › reference node › text can be inserted as expected when reference node is in the start or end of line
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 6
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: text node in v-text not found
+ at qR (http://localhost:4173/assets/framework-DTc64MKO.js:215:6458)
+ at s0.toDomRange (http://localhost:4173/assets/framework-DTc64MKO.js:217:1813)
+ at r0.textSelectionToRange (http://localhost:4173/assets/framework-DTc64MKO.js:234:8212)
+ at r0.syncTextSelectionToRange (http://localhost:4173/assets/framework-DTc64MKO.js:234:8026)
+ at http://localhost:4173/assets/framework-DTc64MKO.js:183:33138
at utils/actions/misc.ts:331
329 | expect
330 | .soft('Unexpected console message: ' + message.text())
> 331 | .toBe(
| ^
332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
333 | );
334 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
|
linked-page.spec.ts:272:3 › reference node › text can be inserted as expected when reference node is in the start or end of line:
tests/utils/actions/misc.ts#L331
2) linked-page.spec.ts:272:3 › reference node › text can be inserted as expected when reference node is in the start or end of line
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 6
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: BlockSuiteError: text node in v-text not found
+ at qR (http://localhost:4173/assets/framework-DTc64MKO.js:215:6458)
+ at s0.toDomRange (http://localhost:4173/assets/framework-DTc64MKO.js:217:1813)
+ at r0.textSelectionToRange (http://localhost:4173/assets/framework-DTc64MKO.js:234:8212)
+ at r0.syncTextSelectionToRange (http://localhost:4173/assets/framework-DTc64MKO.js:234:8026)
+ at http://localhost:4173/assets/framework-DTc64MKO.js:183:33138
at utils/actions/misc.ts:331
329 | expect
330 | .soft('Unexpected console message: ' + message.text())
> 331 | .toBe(
| ^
332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
333 | );
334 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
|
linked-page.spec.ts:452:3 › reference node › can create linked page and jump:
tests/utils/actions/linked-doc.ts#L15
3) linked-page.spec.ts:452:3 › reference node › can create linked page and jump ──────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
at utils/actions/linked-doc.ts:15
13 | has: page.locator(`.affine-reference-title[data-title="${title}"]`),
14 | });
> 15 | await expect(refNode).toBeVisible();
| ^
16 | return refNode;
17 | };
18 | const assertExistRefText = async (text: string) => {
at findRefNode (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:15:27)
at createDoc (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:44:12)
at /home/runner/work/blocksuite/blocksuite/tests/linked-page.spec.ts:460:24
|
linked-page.spec.ts:452:3 › reference node › can create linked page and jump:
tests/utils/actions/linked-doc.ts#L15
3) linked-page.spec.ts:452:3 › reference node › can create linked page and jump ──────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="page1"]') })
at utils/actions/linked-doc.ts:15
13 | has: page.locator(`.affine-reference-title[data-title="${title}"]`),
14 | });
> 15 | await expect(refNode).toBeVisible();
| ^
16 | return refNode;
17 | };
18 | const assertExistRefText = async (text: string) => {
at findRefNode (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:15:27)
at createDoc (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/linked-doc.ts:44:12)
at /home/runner/work/blocksuite/blocksuite/tests/linked-page.spec.ts:460:24
|
paragraph.spec.ts:1093:1 › delete first paragraph with children should keep children blocks:
tests/utils/asserts.ts#L209
1) paragraph.spec.ts:1093:1 › delete first paragraph with children should keep children blocks ───
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
- "456",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1108:3
|
paragraph.spec.ts:1093:1 › delete first paragraph with children should keep children blocks:
tests/utils/asserts.ts#L209
1) paragraph.spec.ts:1093:1 › delete first paragraph with children should keep children blocks ───
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
- "456",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1108:3
|
paragraph.spec.ts:1093:1 › delete first paragraph with children should keep children blocks:
tests/utils/asserts.ts#L209
1) paragraph.spec.ts:1093:1 › delete first paragraph with children should keep children blocks ───
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
- "456",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1108:3
|
paragraph.spec.ts:1093:1 › delete first paragraph with children should keep children blocks:
tests/utils/asserts.ts#L209
1) paragraph.spec.ts:1093:1 › delete first paragraph with children should keep children blocks ───
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
- "456",
+ "",
]
at utils/asserts.ts:209
207 | });
208 | }, currentEditorIndex);
> 209 | expect(actualTexts).toEqual(texts);
| ^
210 | }
211 |
212 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1108:3
|
paragraph.spec.ts:1111:1 › paragraph indent and delete in line start:
tests/eval at evaluate (:234:30)#L10
2) paragraph.spec.ts:1111:1 › paragraph indent and delete in line start ──────────────────────────
Error: page.evaluate: TypeError: Cannot read properties of null (reading 'inlineEditor')
at eval (eval at evaluate (:234:30), <anonymous>:10:48)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:10:48)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at setSelection (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1095:14)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1129:9
|
paragraph.spec.ts:1111:1 › paragraph indent and delete in line start:
tests/eval at evaluate (:234:30)#L10
2) paragraph.spec.ts:1111:1 › paragraph indent and delete in line start ──────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: TypeError: Cannot read properties of null (reading 'inlineEditor')
at eval (eval at evaluate (:234:30), <anonymous>:10:48)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:10:48)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at setSelection (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1095:14)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1129:9
|
paragraph.spec.ts:1111:1 › paragraph indent and delete in line start:
tests/eval at evaluate (:234:30)#L10
2) paragraph.spec.ts:1111:1 › paragraph indent and delete in line start ──────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: TypeError: Cannot read properties of null (reading 'inlineEditor')
at eval (eval at evaluate (:234:30), <anonymous>:10:48)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:10:48)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at setSelection (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1095:14)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1129:9
|
paragraph.spec.ts:1111:1 › paragraph indent and delete in line start:
tests/eval at evaluate (:234:30)#L10
2) paragraph.spec.ts:1111:1 › paragraph indent and delete in line start ──────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: TypeError: Cannot read properties of null (reading 'inlineEditor')
at eval (eval at evaluate (:234:30), <anonymous>:10:48)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/tests/eval at evaluate (:234:30), <anonymous>:10:48)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/<anonymous>:1:44)
at setSelection (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1095:14)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1129:9
|
paragraph.spec.ts:1204:1 › arrow up/down navigation within and across paragraphs containing different types of text:
tests/utils/asserts.ts#L331
3) paragraph.spec.ts:1204:1 › arrow up/down navigation within and across paragraphs containing different types of text
Error: expect(received).toEqual(expected) // deep equality
Expected: {"index": 100, "length": 0}
Received: null
at utils/asserts.ts:331
329 | [richTextIndex, currentEditorIndex]
330 | );
> 331 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
332 | }
333 |
334 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1227:3
|
paragraph.spec.ts:1204:1 › arrow up/down navigation within and across paragraphs containing different types of text:
tests/utils/asserts.ts#L331
3) paragraph.spec.ts:1204:1 › arrow up/down navigation within and across paragraphs containing different types of text
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: {"index": 100, "length": 0}
Received: null
at utils/asserts.ts:331
329 | [richTextIndex, currentEditorIndex]
330 | );
> 331 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
332 | }
333 |
334 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1227:3
|
attachment.spec.ts:127:1 › can insert attachment from slash menu:
tests/attachment.spec.ts#L67
1) attachment.spec.ts:127:1 › can insert attachment from slash menu ──────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.slash-menu')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.slash-menu')
65 | await expect(slashMenu).toBeVisible();
66 | await type(page, 'file', 100);
> 67 | await expect(slashMenu).toBeVisible();
| ^
68 |
69 | const fileChooser = page.waitForEvent('filechooser');
70 | await pressEnter(page);
at insertAttachment (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:67:29)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:135:3
|
attachment.spec.ts:127:1 › can insert attachment from slash menu:
tests/attachment.spec.ts#L67
1) attachment.spec.ts:127:1 › can insert attachment from slash menu ──────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.slash-menu')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.slash-menu')
65 | await expect(slashMenu).toBeVisible();
66 | await type(page, 'file', 100);
> 67 | await expect(slashMenu).toBeVisible();
| ^
68 |
69 | const fileChooser = page.waitForEvent('filechooser');
70 | await pressEnter(page);
at insertAttachment (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:67:29)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:135:3
|
attachment.spec.ts:127:1 › can insert attachment from slash menu:
tests/attachment.spec.ts#L67
1) attachment.spec.ts:127:1 › can insert attachment from slash menu ──────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.slash-menu')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.slash-menu')
65 | await expect(slashMenu).toBeVisible();
66 | await type(page, 'file', 100);
> 67 | await expect(slashMenu).toBeVisible();
| ^
68 |
69 | const fileChooser = page.waitForEvent('filechooser');
70 | await pressEnter(page);
at insertAttachment (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:67:29)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:135:3
|
attachment.spec.ts:127:1 › can insert attachment from slash menu:
tests/attachment.spec.ts#L67
1) attachment.spec.ts:127:1 › can insert attachment from slash menu ──────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.slash-menu')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.slash-menu')
65 | await expect(slashMenu).toBeVisible();
66 | await type(page, 'file', 100);
> 67 | await expect(slashMenu).toBeVisible();
| ^
68 |
69 | const fileChooser = page.waitForEvent('filechooser');
70 | await pressEnter(page);
at insertAttachment (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:67:29)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:135:3
|
attachment.spec.ts:177:1 › should undo/redo works for attachment:
tests/attachment.spec.ts#L67
2) attachment.spec.ts:177:1 › should undo/redo works for attachment ──────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.slash-menu')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.slash-menu')
65 | await expect(slashMenu).toBeVisible();
66 | await type(page, 'file', 100);
> 67 | await expect(slashMenu).toBeVisible();
| ^
68 |
69 | const fileChooser = page.waitForEvent('filechooser');
70 | await pressEnter(page);
at insertAttachment (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:67:29)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:184:3
|
attachment.spec.ts:177:1 › should undo/redo works for attachment:
tests/attachment.spec.ts#L67
2) attachment.spec.ts:177:1 › should undo/redo works for attachment ──────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.slash-menu')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.slash-menu')
65 | await expect(slashMenu).toBeVisible();
66 | await type(page, 'file', 100);
> 67 | await expect(slashMenu).toBeVisible();
| ^
68 |
69 | const fileChooser = page.waitForEvent('filechooser');
70 | await pressEnter(page);
at insertAttachment (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:67:29)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:184:3
|
attachment.spec.ts:177:1 › should undo/redo works for attachment:
tests/attachment.spec.ts#L67
2) attachment.spec.ts:177:1 › should undo/redo works for attachment ──────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.slash-menu')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.slash-menu')
65 | await expect(slashMenu).toBeVisible();
66 | await type(page, 'file', 100);
> 67 | await expect(slashMenu).toBeVisible();
| ^
68 |
69 | const fileChooser = page.waitForEvent('filechooser');
70 | await pressEnter(page);
at insertAttachment (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:67:29)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:184:3
|
attachment.spec.ts:177:1 › should undo/redo works for attachment:
tests/attachment.spec.ts#L67
2) attachment.spec.ts:177:1 › should undo/redo works for attachment ──────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.slash-menu')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.slash-menu')
65 | await expect(slashMenu).toBeVisible();
66 | await type(page, 'file', 100);
> 67 | await expect(slashMenu).toBeVisible();
| ^
68 |
69 | const fileChooser = page.waitForEvent('filechooser');
70 | await pressEnter(page);
at insertAttachment (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:67:29)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:184:3
|
attachment.spec.ts:287:1 › should rename attachment works:
tests/attachment.spec.ts#L67
3) attachment.spec.ts:287:1 › should rename attachment works ─────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.slash-menu')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.slash-menu')
65 | await expect(slashMenu).toBeVisible();
66 | await type(page, 'file', 100);
> 67 | await expect(slashMenu).toBeVisible();
| ^
68 |
69 | const fileChooser = page.waitForEvent('filechooser');
70 | await pressEnter(page);
at insertAttachment (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:67:29)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:305:3
|
attachment.spec.ts:287:1 › should rename attachment works:
tests/attachment.spec.ts#L67
3) attachment.spec.ts:287:1 › should rename attachment works ─────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.slash-menu')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.slash-menu')
65 | await expect(slashMenu).toBeVisible();
66 | await type(page, 'file', 100);
> 67 | await expect(slashMenu).toBeVisible();
| ^
68 |
69 | const fileChooser = page.waitForEvent('filechooser');
70 | await pressEnter(page);
at insertAttachment (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:67:29)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:305:3
|
Build & Test
Process completed with exit code 1.
|
E2E Test (4)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (6)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (11)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (8)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
🎭 Playwright Run Summary
47 passed (58.4s)
|
🎭 Playwright Run Summary
47 passed (1.3m)
|
🎭 Playwright Run Summary
5 failed
code/crud.spec.ts:508:1 › auto scroll horizontally when typing ─────────────────────────────────
code/crud.spec.ts:544:1 › code hotkey should not effect in global ──────────────────────────────
code/crud.spec.ts:593:1 › format text in code block ────────────────────────────────────────────
code/selections.spec.ts:160:1 › press backspace after code block can select code block ─────────
code/selections.spec.ts:178:1 › press ArrowUp after code block can enter code block ────────────
4 skipped
39 passed (1.4m)
|
🎭 Playwright Run Summary
1 skipped
46 passed (1.6m)
|
🎭 Playwright Run Summary
47 passed (1.7m)
|
🎭 Playwright Run Summary
5 failed
embed-synced-doc.spec.ts:49:3 › Embed synced doc › can change linked doc to embed synced doc ───
embed-synced-doc.spec.ts:56:3 › Embed synced doc › can change embed synced doc to card view ────
embed-synced-doc.spec.ts:88:3 › Embed synced doc › drag embed synced doc to whiteboard should fit in height
embed-synced-doc.spec.ts:201:5 › Embed synced doc › synced doc should be readonly › synced doc should be readonly
format-bar.spec.ts:51:1 › should format quick bar show when select text ────────────────────────
1 flaky
edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ──────────────────────────
2 skipped
39 passed (2.0m)
|
🎭 Playwright Run Summary
3 failed
edgeless/linked-doc.spec.ts:27:3 › note to linked doc › select a note and turn it into a linked doc
edgeless/note/drag-handle.spec.ts:108:1 › drag handle should work inside one note ──────────────
edgeless/note/drag-handle.spec.ts:122:1 › drag handle should work across multiple notes ────────
10 skipped
34 passed (1.9m)
|
🎭 Playwright Run Summary
13 failed
image/image.spec.ts:137:1 › should support the enter key of image caption ──────────────────────
image/keymap.spec.ts:28:1 › press enter will create new block when click and select image ──────
image/keymap.spec.ts:37:1 › press backspace after image block can select image block ───────────
image/keymap.spec.ts:49:1 › press enter when image is selected should move next paragraph and should placeholder
image/keymap.spec.ts:69:1 › press arrow down when image is selected should move to previous paragraph
latex/block.spec.ts:12:1 › add latex block using slash menu ────────────────────────────────────
latex/block.spec.ts:28:1 › add latex block using markdown shortcut with space ──────────────────
latex/block.spec.ts:46:1 › add latex block using markdown shortcut with enter ──────────────────
latex/inline.spec.ts:220:1 › add inline latex using slash menu ─────────────────────────────────
latex/inline.spec.ts:251:1 › add inline latex using markdown shortcut ──────────────────────────
link.spec.ts:95:1 › add link when dragging from empty line ─────────────────────────────────────
link.spec.ts:311:1 › link bar should not be appear when the range is collapsed ─────────────────
link.spec.ts:394:1 › convert link to card ──────────────────────────────────────────────────────
1 flaky
latex/inline.spec.ts:94:1 › update inline latex by clicking the node ───────────────────────────
1 skipped
32 passed (2.3m)
|
🎭 Playwright Run Summary
12 failed
edgeless/note/note.spec.ts:88:1 › add Note ─────────────────────────────────────────────────────
edgeless/note/note.spec.ts:146:1 › edgeless arrow up/down ──────────────────────────────────────
edgeless/note/note.spec.ts:214:1 › format quick bar should show up when double-clicking on text
edgeless/note/note.spec.ts:255:1 › duplicate note should work correctly ────────────────────────
edgeless/note/note.spec.ts:319:1 › cursor for active and inactive state ────────────────────────
edgeless/note/note.spec.ts:487:1 › delete first block in edgeless note ─────────────────────────
edgeless/note/note.spec.ts:516:1 › select text cross blocks in edgeless note ───────────────────
edgeless/note/slicer.spec.ts:16:3 › note slicer › could enable and disenable note slicer ───────
edgeless/note/slicer.spec.ts:50:3 › note slicer › note slicer button should appears at right position
edgeless/note/slicer.spec.ts:105:3 › note slicer › note slicer button should appears at right position when editor is not located at left top corner
edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ──────────────────────
edgeless/paste-block.spec.ts:67:3 › pasting blocks › pasting a edgeless block ──────────────────
1 skipped
34 passed (2.6m)
|
🎭 Playwright Run Summary
12 failed
drag.spec.ts:27:1 › only have one drag handle in screen ────────────────────────────────────────
drag.spec.ts:63:1 › move drag handle in paragraphs ─────────────────────────────────────────────
drag.spec.ts:73:1 › move drag handle in list ───────────────────────────────────────────────────
drag.spec.ts:83:1 › move drag handle in nested block ───────────────────────────────────────────
drag.spec.ts:117:1 › move drag handle into another block ───────────────────────────────────────
drag.spec.ts:165:1 › move to the last block of each level in multi-level nesting ───────────────
drag.spec.ts:231:1 › should sync selected-blocks to session-manager when clicking drag handle ──
drag.spec.ts:340:1 › should blur rich-text first on starting block selection ───────────────────
drag.spec.ts:469:1 › should trigger click event on editor container when clicking on blocks under block-level selection
drag.spec.ts:511:1 › should get to selected block when dragging unselected block ───────────────
drag.spec.ts:725:1 › drag handle should show on right block when scroll viewport ───────────────
edgeless/align.spec.ts:402:3 › auto resize align › resize and arrange shape, note, connector, brush and text
6 skipped
29 passed (2.9m)
|
🎭 Playwright Run Summary
10 failed
edgeless/edgeless-text.spec.ts:67:3 › edgeless text block › add text block in default mode ─────
edgeless/edgeless-text.spec.ts:155:3 › edgeless text block › edgeless text width auto-adjusting
edgeless/edgeless-text.spec.ts:189:3 › edgeless text block › edgeless text width fixed when drag moving
edgeless/edgeless-text.spec.ts:223:3 › edgeless text block › When creating edgeless text, if the input is empty, it will be automatically deleted
edgeless/edgeless-text.spec.ts:248:3 › edgeless text block › edgeless text should maintain selection when deleting across multiple lines
edgeless/edgeless-text.spec.ts:275:3 › edgeless text block › edgeless text should not blur after pressing backspace
edgeless/edgeless-text.spec.ts:371:3 › edgeless text block › min width limit for embed block ───
edgeless/edgeless-text.spec.ts:449:3 › edgeless text block › cut edgeless text ─────────────────
edgeless/edgeless-text.spec.ts:479:3 › edgeless text block › latex in edgeless text ────────────
edgeless/edgeless-text.spec.ts:547:1 › press backspace at the start of first line when edgeless text exist
1 skipped
36 passed (2.9m)
|
🎭 Playwright Run Summary
25 failed
list.spec.ts:801:3 › readonly › should render collapsed list correctly ─────────────────────────
markdown.spec.ts:26:1 › markdown shortcut ──────────────────────────────────────────────────────
markdown.spec.ts:514:1 › inline code should work when pressing Enter followed by Backspace twice
multiple-editors/selection.spec.ts:13:1 › should only show one format bar when multiple editors are toggled
paragraph.spec.ts:59:1 › init paragraph by page title enter at last ────────────────────────────
paragraph.spec.ts:152:3 › backspace on line start of the first block (without surface) ─────────
paragraph.spec.ts:152:3 › backspace on line start of the first block (with surface) ────────────
paragraph.spec.ts:206:1 › append new paragraph block by enter ──────────────────────────────────
paragraph.spec.ts:228:1 › insert new paragraph block by enter ──────────────────────────────────
paragraph.spec.ts:251:1 › split paragraph block by enter ───────────────────────────────────────
paragraph.spec.ts:278:1 › split paragraph block with selected text by enter ────────────────────
paragraph.spec.ts:337:1 › indent and unindent existing paragraph block ─────────────────────────
paragraph.spec.ts:366:1 › remove all indent for a paragraph block ──────────────────────────────
paragraph.spec.ts:429:1 › should indent and unindent works with children ───────────────────────
paragraph.spec.ts:552:1 › paragraph with child block should work at enter ──────────────────────
paragraph.spec.ts:575:1 › should delete paragraph block child can hold cursor in correct position
paragraph.spec.ts:623:1 › delete at start of paragraph block ───────────────────────────────────
paragraph.spec.ts:649:1 › delete at start of paragraph immediately following list ──────────────
paragraph.spec.ts:717:1 › delete at start of paragraph with content ────────────────────────────
paragraph.spec.ts:739:1 › get focus from page title enter ──────────────────────────────────────
paragraph.spec.ts:751:1 › handling keyup when cursor located in first paragraph ────────────────
paragraph.spec.ts:769:1 › after deleting a text row, cursor should jump to the end of previous list row
paragraph.spec.ts:790:1 › press tab in paragraph children ──────────────────────────────────────
paragraph.spec.ts:955:1 › should placeholder works ─────────────────────────────────────────────
paragraph.spec.ts:1057:1 › delete empty text paragraph block should keep children blocks when following custom blocks
22 passed (3.1m)
|
🎭 Playwright Run Summary
17 failed
selection/native.spec.ts:1600:1 › auto-scroll when creating a new paragraph-block by pressing enter
selection/native.spec.ts:1632:1 › Use arrow up and down to select two types of block ───────────
selection/native.spec.ts:1690:3 › should scroll text to view when drag to select at top or bottom edge › from top to bottom
selection/native.spec.ts:1745:1 › abnormal cursor jumping ──────────────────────────────────────
selection/native.spec.ts:1776:1 › unexpected scroll when clicking padding area ─────────────────
slash-menu.spec.ts:86:3 › slash menu should show and hide correctly › slash menu should hide after input whitespace
slash-menu.spec.ts:128:3 › slash menu should show and hide correctly › typing something that does not match should close the slash menu
slash-menu.spec.ts:461:3 › slash menu should show and hide correctly › should allow other hotkey to passthrough
slash-menu.spec.ts:513:1 › should slash menu works with fast type ──────────────────────────────
slash-menu.spec.ts:523:1 › should clean slash string after soft enter ──────────────────────────
slash-menu.spec.ts:549:3 › slash search › should slash menu search and keyboard works ──────────
slash-menu.spec.ts:578:3 › slash search › slash menu supports fuzzy search ─────────────────────
slash-menu.spec.ts:602:3 › slash search › slash menu supports alias search ─────────────────────
slash-menu.spec.ts:623:1 › should focus on code blocks created by the slash menu ───────────────
slash-menu.spec.ts:645:1 › slash menu should work in edgeless mode ─────────────────────────────
slash-menu.spec.ts:934:1 › move block up and down by slash menu ────────────────────────────────
slash-menu.spec.ts:958:1 › delete block by slash menu should remove children ───────────────────
1 flaky
slash-menu.spec.ts:376:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow, Enter, Esc keys
3 skipped
26 passed (3.3m)
|
🎭 Playwright Run Summary
24 failed
clipboard/clipboard.spec.ts:97:1 › split block when paste ──────────────────────────────────────
clipboard/clipboard.spec.ts:138:1 › copy clipItems format ──────────────────────────────────────
clipboard/clipboard.spec.ts:199:1 › should keep first line format when pasted into a new line ──
clipboard/clipboard.spec.ts:279:1 › paste parent block ─────────────────────────────────────────
clipboard/clipboard.spec.ts:305:1 › clipboard copy multi selection ─────────────────────────────
clipboard/clipboard.spec.ts:325:1 › clipboard copy nested items ────────────────────────────────
clipboard/list.spec.ts:60:1 › paste a non-nested list to a non-nested list ─────────────────────
clipboard/list.spec.ts:96:1 › copy a nested list by clicking button, the clipboard data should be complete
clipboard/list.spec.ts:133:1 › paste a nested list to a nested list ────────────────────────────
clipboard/list.spec.ts:214:1 › paste nested lists to a nested list ─────────────────────────────
clipboard/list.spec.ts:307:1 › paste non-nested lists to a nested list ─────────────────────────
clipboard/list.spec.ts:347:1 › cut should work for multi-block selection ───────────────────────
clipboard/list.spec.ts:366:1 › pasting into empty list should not convert the list into paragraph
clipboard/list.spec.ts:382:1 › cut will delete all content, and copy will reappear content ─────
clipboard/list.spec.ts:602:1 › should keep paragraph block's type when pasting at the start of empty paragraph block except type text
clipboard/list.spec.ts:646:1 › paste from FeiShu list format ───────────────────────────────────
clipboard/list.spec.ts:677:1 › paste in list format ────────────────────────────────────────────
clipboard/markdown.spec.ts:19:1 › markdown format parse ────────────────────────────────────────
clipboard/markdown.spec.ts:118:1 › import markdown ─────────────────────────────────────────────
clipboard/markdown.spec.ts:133:1 › clipboard paste HTML containing markdown syntax code and image
code/copy-paste.spec.ts:107:1 › code block has content, click code block copy menu, copy whole code block
code/copy-paste.spec.ts:129:1 › code block is empty, click code block copy menu, copy the empty code block
code/crud.spec.ts:49:1 › use markdown syntax can create code block ─────────────────────────────
code/crud.spec.ts:203:1 › duplicate code block ─────────────────────────────────────────────────
1 flaky
code/copy-paste.spec.ts:24:1 › keyboard selection and copy paste ───────────────────────────────
1 skipped
22 passed (3.2m)
|
🎭 Playwright Run Summary
24 failed
fragments/outline/outline-panel.spec.ts:237:3 › toc-panel › should scroll to title when click title in outline panel
fragments/outline/outline-panel.spec.ts:291:3 › toc-panel › should reorder notes when drag and drop note in outline panel
fragments/outline/outline-panel.spec.ts:331:3 › toc-panel › should update notes after slicing note
fragments/outline/toc-viewer.spec.ts:36:3 › toc-viewer › should display highlight indicators when non-empty headings exists
fragments/outline/toc-viewer.spec.ts:97:3 › toc-viewer › should highlight indicator when scrolling
fragments/outline/toc-viewer.spec.ts:118:3 › toc-viewer › should highlight indicator when click item in outline panel
fragments/outline/toc-viewer.spec.ts:158:3 › toc-viewer › should hide edgeless-only note headings
fragments/outline/toc-viewer.spec.ts:187:3 › toc-viewer › outline panel toggle button ──────────
hotkey/bracket.spec.ts:35:1 › bracket complete should not work when selecting mutiple lines ────
hotkey/hotkey.spec.ts:43:1 › rich-text hotkey scope on single press ────────────────────────────
hotkey/hotkey.spec.ts:294:1 › should ctrl+enter create new block ───────────────────────────────
hotkey/hotkey.spec.ts:308:1 › should left/right key navigator works ────────────────────────────
hotkey/hotkey.spec.ts:332:1 › should up/down key navigator works ───────────────────────────────
hotkey/hotkey.spec.ts:353:1 › should support ctrl/cmd+shift+l convert to linked doc ────────────
hotkey/hotkey.spec.ts:394:3 › keyboard operation to move block up or down › common paragraph ───
hotkey/hotkey.spec.ts:413:3 › keyboard operation to move block up or down › with indent ────────
hotkey/hotkey.spec.ts:437:3 › keyboard operation to move block up or down › keep cursor ────────
hotkey/hotkey.spec.ts:457:1 › Enter key should as expected after setting heading by shortkey ───
hotkey/multiline.spec.ts:33:1 › should multiple line format hotkey work ────────────────────────
hotkey/multiline.spec.ts:72:1 › multi line rich-text inline code hotkey ────────────────────────
hotkey/multiline.spec.ts:100:1 › should cut work multiple line ─────────────────────────────────
hotkey/multiline.spec.ts:121:1 › arrow up and down behavior on multiline text blocks when previous is non-text
hotkey/multiline.spec.ts:163:1 › should drag multiple block and input text works ───────────────
hotkey/title.spec.ts:32:1 › enter in title should move cursor in new paragraph block ───────────
1 flaky
hotkey/hotkey.spec.ts:274:1 › should cut work single line ──────────────────────────────────────
22 passed (3.6m)
|
🎭 Playwright Run Summary
26 failed
format-bar.spec.ts:161:1 › should format quick bar can only display one at a time ──────────────
format-bar.spec.ts:175:1 › should format quick bar hide when type text ─────────────────────────
format-bar.spec.ts:186:1 › should format quick bar be able to format text ──────────────────────
format-bar.spec.ts:239:1 › should format quick bar be able to change background color ──────────
format-bar.spec.ts:284:1 › should format quick bar be able to format text when select multiple line
format-bar.spec.ts:309:1 › should format quick bar be able to link text ────────────────────────
format-bar.spec.ts:346:1 › should format quick bar be able to change to heading paragraph type ─
format-bar.spec.ts:398:1 › should format quick bar not show at readonly mode ───────────────────
format-bar.spec.ts:416:1 › should format bar follow scroll ─────────────────────────────────────
format-bar.spec.ts:514:1 › should format quick bar work in single block selection ──────────────
format-bar.spec.ts:565:1 › should format quick bar work in multiple block selection ────────────
format-bar.spec.ts:614:1 › should format quick bar with block selection works when update block type
format-bar.spec.ts:658:1 › should format quick bar show after convert to code block ────────────
format-bar.spec.ts:682:1 › buttons in format quick bar should have correct active styles ───────
format-bar.spec.ts:743:1 › should format quick bar show when double click button ───────────────
format-bar.spec.ts:758:1 › should the database action icon show correctly ──────────────────────
format-bar.spec.ts:799:1 › should convert to database work ─────────────────────────────────────
format-bar.spec.ts:897:1 › format quick bar should not break cursor jumping ────────────────────
format-bar.spec.ts:930:1 › create linked doc from block selection with format bar ──────────────
format-bar.spec.ts:972:3 › more menu button › should be able to perform the copy action ────────
format-bar.spec.ts:993:3 › more menu button › should be able to perform the duplicate action ───
format-bar.spec.ts:1011:3 › more menu button › should be able to perform the delete action ─────
fragments/outline/outline-panel.spec.ts:101:3 › toc-panel › should display title and headings when there are non-empty headings in editor
fragments/outline/outline-panel.spec.ts:162:3 › toc-panel › should add padding to sub-headings ─
fragments/outline/outline-panel.spec.ts:187:3 › toc-panel › should highlight heading when scroll to area before viewport center
fragments/outline/outline-panel.spec.ts:215:3 › toc-panel › should scroll to heading and highlight heading when click item in outline panel
21 passed (3.9m)
|
🎭 Playwright Run Summary
36 failed
selection/native.spec.ts:265:1 › cursor move to up and down with children block ────────────────
selection/native.spec.ts:301:1 › cursor move left and right ────────────────────────────────────
selection/native.spec.ts:318:1 › cursor move up at edge of the second line ─────────────────────
selection/native.spec.ts:332:1 › cursor move down at edge of the last line ─────────────────────
selection/native.spec.ts:386:1 › select all text with dragging and delete ──────────────────────
selection/native.spec.ts:401:1 › select all text with dragging and delete by forwardDelete ─────
selection/native.spec.ts:418:1 › select all text with keyboard delete ──────────────────────────
selection/native.spec.ts:446:1 › select text leaving a few words in the last line and delete ───
selection/native.spec.ts:464:1 › select text leaving a few words in the last line and delete by forwardDelete
selection/native.spec.ts:482:1 › select text in the same line with dragging leftward and move outside the affine-note
selection/native.spec.ts:528:1 › select text in the same line with dragging leftward and move outside the affine-note by forwardDelete
selection/native.spec.ts:574:1 › select text in the same line with dragging rightward and move outside the affine-note
selection/native.spec.ts:621:1 › select text in the same line with dragging rightward and move outside the affine-note by forwardDelete
selection/native.spec.ts:668:1 › select text in the same line with dragging rightward and press enter create block
selection/native.spec.ts:763:1 › Delete the blank line between two dividers ────────────────────
selection/native.spec.ts:787:1 › Delete the second divider between two dividers by forwardDelete
selection/native.spec.ts:823:1 › should forwardDelete divider works properly ───────────────────
selection/native.spec.ts:884:1 › should not crash when mouse over the left side of the list block prefix
selection/native.spec.ts:925:1 › should set the last block to end the range after when leaving the affine-note
selection/native.spec.ts:950:1 › should set the first block to start the range before when leaving the affine-note-block-container
selection/native.spec.ts:975:1 › should select texts on cross-note dragging ────────────────────
selection/native.spec.ts:1013:1 › should select full text of the first block when leaving the affine-note-block-container in edgeless mode
selection/native.spec.ts:1051:1 › should add a new line when clicking the bottom of the last non-text block
selection/native.spec.ts:1073:1 › should select texts on dragging around the page ──────────────
selection/native.spec.ts:1108:1 › should indent native multi-selection block ───────────────────
selection/native.spec.ts:1132:1 › should unindent native multi-selection block ─────────────────
selection/native.spec.ts:1171:1 › should clear native selection before block selection ─────────
selection/native.spec.ts:1223:1 › should keep native range selection when scrolling backward with the scroll wheel
selection/native.spec.ts:1295:1 › should keep native range selection when scrolling forward with the scroll wheel
selection/native.spec.ts:1367:1 › should not show option menu of image on native selection ─────
selection/native.spec.ts:1413:1 › should select with shift-click ───────────────────────────────
selection/native.spec.ts:1427:1 › should collapse to end when press arrow-right on multi-line selection
selection/native.spec.ts:1441:1 › should collapse to start when press arrow-left on multi-line selection
selection/native.spec.ts:1456:1 › should select when clicking on blank area in edgeless mode ───
selection/native.spec.ts:1494:1 › should not scroll page when mouse is click down ──────────────
selection/native.spec.ts:1556:1 › scroll vertically when adding multiple blocks ────────────────
11 passed (4.2m)
|
🎭 Playwright Run Summary
29 failed
linked-page.spec.ts:209:3 › reference node › text inserted in the between of reference nodes should not be extend attributes
linked-page.spec.ts:272:3 › reference node › text can be inserted as expected when reference node is in the start or end of line
linked-page.spec.ts:452:3 › reference node › can create linked page and jump ───────────────────
linked-page.spec.ts:478:3 › reference node › should not merge consecutive identical reference nodes for rendering
linked-page.spec.ts:527:3 › linked page popover › should fuzzy search works ────────────────────
linked-page.spec.ts:619:3 › linked page popover › should multiple paste query not works ────────
linked-page.spec.ts:705:3 › linked page with clipboard › paste linked page should paste as linked page
linked-page.spec.ts:724:3 › linked page with clipboard › duplicated linked page should paste as linked page
linked-page.spec.ts:787:1 › add reference node before the other reference node ─────────────────
linked-page.spec.ts:817:1 › linked doc can be dragged from note to surface top level block ─────
list.spec.ts:65:1 › add new bulleted list ──────────────────────────────────────────────────────
list.spec.ts:100:1 › add new toggle list ───────────────────────────────────────────────────────
list.spec.ts:117:1 › convert nested paragraph to list ──────────────────────────────────────────
list.spec.ts:139:1 › convert to numbered list block ────────────────────────────────────────────
list.spec.ts:187:1 › unindent list block ───────────────────────────────────────────────────────
list.spec.ts:203:1 › remove all indent for a list block ────────────────────────────────────────
list.spec.ts:236:1 › delete at start of list block ─────────────────────────────────────────────
list.spec.ts:259:1 › nested list blocks ────────────────────────────────────────────────────────
list.spec.ts:286:1 › update numbered list block prefix ─────────────────────────────────────────
list.spec.ts:312:1 › basic indent and unindent ─────────────────────────────────────────────────
list.spec.ts:339:1 › should indent todo block preserve todo status ─────────────────────────────
list.spec.ts:362:1 › enter list block with empty text ──────────────────────────────────────────
list.spec.ts:511:3 › indent correctly when deleting list item › delete the child item in the middle position
list.spec.ts:534:3 › indent correctly when deleting list item › merge two lists ────────────────
list.spec.ts:571:1 › delete list item with nested children items ───────────────────────────────
list.spec.ts:655:3 › toggle list › click toggle icon should collapsed list ─────────────────────
list.spec.ts:696:3 › toggle list › indent item should expand toggle ────────────────────────────
list.spec.ts:729:3 › toggle list › toggle icon should be show when hover ───────────────────────
list.spec.ts:750:3 › readonly › can expand toggle in readonly mode ─────────────────────────────
1 skipped
17 passed (4.2m)
|
🎭 Playwright Run Summary
37 failed
paragraph.spec.ts:1093:1 › delete first paragraph with children should keep children blocks ────
paragraph.spec.ts:1111:1 › paragraph indent and delete in line start ───────────────────────────
paragraph.spec.ts:1204:1 › arrow up/down navigation within and across paragraphs containing different types of text
paragraph.spec.ts:1252:1 › select divider using delete keyboard from prev/next paragraph ───────
quote.spec.ts:35:1 › quote arrow up/down ───────────────────────────────────────────────────────
selection/block.spec.ts:48:1 › block level range delete ────────────────────────────────────────
selection/block.spec.ts:74:1 › block level range delete by forwardDelete ───────────────────────
selection/block.spec.ts:102:1 › select all and delete ──────────────────────────────────────────
selection/block.spec.ts:117:1 › select all and delete by forwardDelete ─────────────────────────
selection/block.spec.ts:155:1 › click the list icon can select and copy ────────────────────────
selection/block.spec.ts:177:1 › click the list icon can select and delete ──────────────────────
selection/block.spec.ts:193:1 › click the list icon can select and delete by forwardDelete ─────
selection/block.spec.ts:211:1 › selection on heavy page ────────────────────────────────────────
selection/block.spec.ts:260:1 › should indent multi-selection block ────────────────────────────
selection/block.spec.ts:282:1 › should unindent multi-selection block ──────────────────────────
selection/block.spec.ts:321:1 › should keep selection state when scrolling backward ────────────
selection/block.spec.ts:400:1 › should keep selection state when scrolling forward ─────────────
selection/block.spec.ts:476:1 › should keep selection state when scrolling backward with the scroll wheel
selection/block.spec.ts:592:1 › should keep selection state when scrolling forward with the scroll wheel
selection/block.spec.ts:704:1 › should not clear selected rects when clicking on scrollbar ─────
selection/block.spec.ts:787:1 › should not clear selected rects when scrolling the wheel ───────
selection/block.spec.ts:873:1 › should refresh selected rects when resizing the window/viewport
selection/block.spec.ts:966:1 › should clear block selection before native selection ───────────
selection/block.spec.ts:1016:1 › should not be misaligned when the editor container has padding or margin
selection/block.spec.ts:1094:1 › should not draw rect for sub selected blocks when entering tab key
selection/block.spec.ts:1120:1 › should blur rich-text first on starting block selection ───────
selection/block.spec.ts:1199:1 › should select blocks when pressing escape ─────────────────────
selection/block.spec.ts:1224:1 › should un-select blocks when pressing escape ──────────────────
selection/block.spec.ts:1340:1 › should not select parent block when dragging area only intersects with child
selection/block.spec.ts:1378:1 › scroll should update dragging area and select blocks when dragging
selection/native.spec.ts:66:1 › native range delete ────────────────────────────────────────────
selection/native.spec.ts:84:1 › native range delete with indent ────────────────────────────────
selection/native.spec.ts:149:1 › native range delete by forwardDelete ──────────────────────────
selection/native.spec.ts:175:1 › native range input ────────────────────────────────────────────
selection/native.spec.ts:195:1 › native range selection backwards ──────────────────────────────
selection/native.spec.ts:222:1 › native range selection backwards by forwardDelete ─────────────
selection/native.spec.ts:248:1 › cursor move up and down ───────────────────────────────────────
10 passed (4.2m)
|
🎭 Playwright Run Summary
27 failed
attachment.spec.ts:127:1 › can insert attachment from slash menu ───────────────────────────────
attachment.spec.ts:177:1 › should undo/redo works for attachment ───────────────────────────────
attachment.spec.ts:287:1 › should rename attachment works ──────────────────────────────────────
attachment.spec.ts:326:1 › should turn attachment to image works ───────────────────────────────
attachment.spec.ts:406:1 › should attachment can be deleted ────────────────────────────────────
attachment.spec.ts:614:1 › press backspace after bookmark block can select bookmark block ──────
attachment.spec.ts:636:1 › cancel file picker with input element resolves ──────────────────────
attachment.spec.ts:670:1 › indent attachment block to paragraph ────────────────────────────────
attachment.spec.ts:697:1 › indent attachment block to list ─────────────────────────────────────
attachment.spec.ts:725:1 › attachment can be dragged from note to surface top level block ──────
basic.spec.ts:244:1 › undo after adding block twice ────────────────────────────────────────────
basic.spec.ts:259:1 › undo/redo twice after adding block twice ─────────────────────────────────
bookmark.spec.ts:79:1 › create bookmark by slash menu ──────────────────────────────────────────
bookmark.spec.ts:86:1 › covert bookmark block to link text ─────────────────────────────────────
bookmark.spec.ts:98:1 › copy url to create bookmark in page mode ───────────────────────────────
bookmark.spec.ts:119:1 › copy url to create bookmark in edgeless mode ──────────────────────────
bookmark.spec.ts:204:1 › press backspace after bookmark block can select bookmark block ────────
bookmark.spec.ts:237:3 › embed card toolbar › show toolbar when bookmark selected ──────────────
bookmark.spec.ts:241:3 › embed card toolbar › copy bookmark url by copy button ─────────────────
bookmark.spec.ts:254:3 › embed card toolbar › change card style ────────────────────────────────
bookmark.spec.ts:278:1 › indent bookmark block to paragraph ────────────────────────────────────
bookmark.spec.ts:305:1 › indent bookmark block to list ─────────────────────────────────────────
bookmark.spec.ts:333:1 › bookmark can be dragged from note to surface top level block ──────────
bookmark.spec.ts:356:3 › embed youtube card › create youtube card by slash menu ────────────────
bookmark.spec.ts:364:3 › embed youtube card › change youtube card style ────────────────────────
bookmark.spec.ts:411:3 › embed figma card › create figma card by slash menu ────────────────────
bookmark.spec.ts:419:3 › embed figma card › change figma card style ────────────────────────────
2 skipped
19 passed (5.2m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-results-e2e-1
|
71.5 MB |
|
test-results-e2e-10
|
40.6 MB |
|
test-results-e2e-12
|
19.8 MB |
|
test-results-e2e-13
|
66.9 MB |
|
test-results-e2e-14
|
70.4 MB |
|
test-results-e2e-15
|
39.6 MB |
|
test-results-e2e-16
|
74.4 MB |
|
test-results-e2e-17
|
63.5 MB |
|
test-results-e2e-18
|
93.6 MB |
|
test-results-e2e-19
|
91.1 MB |
|
test-results-e2e-2
|
65 MB |
|
test-results-e2e-20
|
47.8 MB |
|
test-results-e2e-3
|
12.7 MB |
|
test-results-e2e-5
|
36.9 MB |
|
test-results-e2e-7
|
32.2 MB |
|
test-results-e2e-9
|
10.7 MB |
|