Firefox and Webkit #149
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#L1219
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:1219
1217 | coordOffSet: { x: number; y: number } = { x: 0, y: 0 }
1218 | ) {
> 1219 | const coord = await page.evaluate(
| ^
1220 | ({ richTextIndex, vIndex, coordOffSet, currentEditorIndex }) => {
1221 | const editorHost =
1222 | document.querySelectorAll('editor-host')[currentEditorIndex];
at getIndexCoordinate (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1219:28)
at dragBetweenIndices (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:44:28)
at /Users/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1310:11
|
Run playwright test:
tests/utils/actions/misc.ts#L1219
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:1219
1217 | coordOffSet: { x: number; y: number } = { x: 0, y: 0 }
1218 | ) {
> 1219 | const coord = await page.evaluate(
| ^
1220 | ({ richTextIndex, vIndex, coordOffSet, currentEditorIndex }) => {
1221 | const editorHost =
1222 | document.querySelectorAll('editor-host')[currentEditorIndex];
at getIndexCoordinate (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1219:28)
at dragBetweenIndices (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:44:28)
at /Users/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1310:11
|
Run playwright test:
tests/utils/actions/misc.ts#L1219
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:1219
1217 | coordOffSet: { x: number; y: number } = { x: 0, y: 0 }
1218 | ) {
> 1219 | const coord = await page.evaluate(
| ^
1220 | ({ richTextIndex, vIndex, coordOffSet, currentEditorIndex }) => {
1221 | const editorHost =
1222 | document.querySelectorAll('editor-host')[currentEditorIndex];
at getIndexCoordinate (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1219:28)
at dragBetweenIndices (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:44:28)
at /Users/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1310:11
|
Run playwright test:
tests/utils/actions/misc.ts#L1219
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:1219
1217 | coordOffSet: { x: number; y: number } = { x: 0, y: 0 }
1218 | ) {
> 1219 | const coord = await page.evaluate(
| ^
1220 | ({ richTextIndex, vIndex, coordOffSet, currentEditorIndex }) => {
1221 | const editorHost =
1222 | document.querySelectorAll('editor-host')[currentEditorIndex];
at getIndexCoordinate (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1219:28)
at dragBetweenIndices (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:44:28)
at /Users/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1310:11
|
Run playwright test:
tests/selection/block.spec.ts#L699
3) selection/block.spec.ts:592:1 › should keep selection state when scrolling forward with the scroll wheel
Error: expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
697 | });
698 |
> 699 | expect(count0).toBe(count1);
| ^
700 | expect(scrollTop0).toBeCloseTo(distance, -0.8);
701 | expect(scrollTop1).toBe(0);
702 | });
at /Users/runner/work/blocksuite/blocksuite/tests/selection/block.spec.ts:699:18
|
Run playwright test:
tests/selection/block.spec.ts#L699
3) selection/block.spec.ts:592:1 › should keep selection state when scrolling forward with the scroll wheel
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
697 | });
698 |
> 699 | expect(count0).toBe(count1);
| ^
700 | expect(scrollTop0).toBeCloseTo(distance, -0.8);
701 | expect(scrollTop1).toBe(0);
702 | });
at /Users/runner/work/blocksuite/blocksuite/tests/selection/block.spec.ts:699:18
|
Run playwright test
7 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/block.spec.ts:592:1 › should keep selection state when scrolling forward with the scroll wheel
selection/native.spec.ts:109:1 › native range delete with indent ───────────────────────────────
selection/native.spec.ts:1715: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
8 flaky
selection/block.spec.ts:74:1 › block level range delete by forwardDelete ───────────────────────
selection/block.spec.ts:476:1 › should keep selection state when scrolling backward with the scroll wheel
selection/block.spec.ts:966:1 › should clear block selection before native selection ───────────
selection/native.spec.ts:200:1 › native range input ────────────────────────────────────────────
selection/native.spec.ts:220:1 › native range selection backwards ──────────────────────────────
selection/native.spec.ts:247:1 › native range selection backwards by forwardDelete ─────────────
selection/native.spec.ts:290:1 › cursor move to up and down with children block ────────────────
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
170 passed (6.0m)
|
Loading