Firefox and Webkit #171
Annotations
10 errors and 1 notice
Run playwright test:
tests/utils/asserts.ts#L331
1) 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 - 1
+ Received + 1
Object {
- "index": 32,
+ "index": 28,
"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 (/Users/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /Users/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1237:3
|
Run playwright test:
tests/utils/asserts.ts#L331
1) 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 - 1
+ Received + 1
Object {
- "index": 32,
+ "index": 28,
"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 (/Users/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /Users/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1237:3
|
Run playwright test:
tests/utils/asserts.ts#L331
1) paragraph.spec.ts:1204:1 › arrow up/down navigation within and across paragraphs containing different types of text
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "index": 32,
+ "index": 28,
"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 (/Users/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /Users/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1237:3
|
Run playwright test:
tests/utils/asserts.ts#L331
1) paragraph.spec.ts:1204:1 › arrow up/down navigation within and across paragraphs containing different types of text
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "index": 32,
+ "index": 28,
"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 (/Users/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:331:18)
at /Users/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1237:3
|
Run playwright test:
tests/utils/actions/misc.ts#L1223
2) paragraph.spec.ts:1300:3 › readonly mode › should readonly mode not be able to modify text ────
Error: page.evaluate: TypeError: undefined is not an object (evaluating 'editorHost.querySelectorAll')
at utils/actions/misc.ts:1223
1221 | coordOffSet: { x: number; y: number } = { x: 0, y: 0 }
1222 | ) {
> 1223 | const coord = await page.evaluate(
| ^
1224 | ({ richTextIndex, vIndex, coordOffSet, currentEditorIndex }) => {
1225 | const editorHost =
1226 | document.querySelectorAll('editor-host')[currentEditorIndex];
at getIndexCoordinate (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1223:28)
at dragBetweenIndices (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:47:28)
at /Users/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1310:11
|
Run playwright test:
tests/utils/actions/misc.ts#L1223
2) paragraph.spec.ts:1300:3 › readonly mode › should readonly mode not be able to modify text ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: TypeError: undefined is not an object (evaluating 'editorHost.querySelectorAll')
at utils/actions/misc.ts:1223
1221 | coordOffSet: { x: number; y: number } = { x: 0, y: 0 }
1222 | ) {
> 1223 | const coord = await page.evaluate(
| ^
1224 | ({ richTextIndex, vIndex, coordOffSet, currentEditorIndex }) => {
1225 | const editorHost =
1226 | document.querySelectorAll('editor-host')[currentEditorIndex];
at getIndexCoordinate (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1223:28)
at dragBetweenIndices (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:47:28)
at /Users/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1310:11
|
Run playwright test:
tests/utils/actions/misc.ts#L1223
2) paragraph.spec.ts:1300:3 › readonly mode › should readonly mode not be able to modify text ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: TypeError: undefined is not an object (evaluating 'editorHost.querySelectorAll')
at utils/actions/misc.ts:1223
1221 | coordOffSet: { x: number; y: number } = { x: 0, y: 0 }
1222 | ) {
> 1223 | const coord = await page.evaluate(
| ^
1224 | ({ richTextIndex, vIndex, coordOffSet, currentEditorIndex }) => {
1225 | const editorHost =
1226 | document.querySelectorAll('editor-host')[currentEditorIndex];
at getIndexCoordinate (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1223:28)
at dragBetweenIndices (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:47:28)
at /Users/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1310:11
|
Run playwright test:
tests/utils/actions/misc.ts#L1223
2) paragraph.spec.ts:1300:3 › readonly mode › should readonly mode not be able to modify text ────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: TypeError: undefined is not an object (evaluating 'editorHost.querySelectorAll')
at utils/actions/misc.ts:1223
1221 | coordOffSet: { x: number; y: number } = { x: 0, y: 0 }
1222 | ) {
> 1223 | const coord = await page.evaluate(
| ^
1224 | ({ richTextIndex, vIndex, coordOffSet, currentEditorIndex }) => {
1225 | const editorHost =
1226 | document.querySelectorAll('editor-host')[currentEditorIndex];
at getIndexCoordinate (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1223:28)
at dragBetweenIndices (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:47:28)
at /Users/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1310:11
|
Run playwright test:
tests/utils/asserts.ts#L293
3) selection/native.spec.ts:66:1 › native range delete ───────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('affine-paragraph')
Expected: 1
Received: 3
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('affine-paragraph')
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
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 (/Users/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:293:51)
at /Users/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:74:9
|
Run playwright test:
tests/utils/asserts.ts#L293
3) selection/native.spec.ts:66:1 › native range delete ───────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('affine-paragraph')
Expected: 1
Received: 3
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('affine-paragraph')
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
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 (/Users/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:293:51)
at /Users/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:74:9
|
Run playwright test
16 failed
paragraph.spec.ts:1204:1 › arrow up/down navigation within and across paragraphs containing different types of text
paragraph.spec.ts:1300:3 › readonly mode › should readonly mode not be able to modify text ─────
selection/native.spec.ts:66:1 › native range delete ────────────────────────────────────────────
selection/native.spec.ts:84:1 › native range delete with indent ────────────────────────────────
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: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: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:693:1 › drag to select tagged text, and copy ──────────────────────────
selection/native.spec.ts:713:1 › drag to select tagged text, and input character ───────────────
selection/native.spec.ts:1427:1 › should collapse to end when press arrow-right on multi-line selection
selection/native.spec.ts:1690:3 › should scroll text to view when drag to select at top or bottom edge › from top to bottom
slash-menu.spec.ts:779:1 › should insert database ──────────────────────────────────────────────
zero-width.spec.ts:65:1 › create a paragraph-block while clicking between two non-paragraph-block
13 flaky
selection/block.spec.ts:48:1 › block level range delete ────────────────────────────────────────
selection/block.spec.ts:155:1 › click the list icon can select and copy ────────────────────────
selection/block.spec.ts:211:1 › selection on heavy page ────────────────────────────────────────
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:1176:1 › click bottom of page and if the last is embed block, editor should insert a new editable block
selection/native.spec.ts:222:1 › native range selection backwards by forwardDelete ─────────────
selection/native.spec.ts:806:1 › should delete line with content after divider not lose content
slash-menu.spec.ts:65:3 › slash menu should show and hide correctly › slash menu should hide after click away
slash-menu.spec.ts:165:3 › slash menu should show and hide correctly › should position slash menu correctly
slash-menu.spec.ts:216:3 › slash menu should show and hide correctly › slash menu hover state ──
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
slash-menu.spec.ts:602:3 › slash search › slash menu supports alias search ─────────────────────
3 skipped
157 passed (6.8m)
|
Loading