Firefox and Webkit #105
Annotations
10 errors and 1 notice
tests/utils/asserts.ts#L327
1) paragraph.spec.ts:1202: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:327
325 | [richTextIndex, currentEditorIndex]
326 | );
> 327 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
328 | }
329 |
330 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/Users/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:327:18)
at /Users/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1235:3
|
tests/utils/asserts.ts#L327
1) paragraph.spec.ts:1202: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:327
325 | [richTextIndex, currentEditorIndex]
326 | );
> 327 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
328 | }
329 |
330 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/Users/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:327:18)
at /Users/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1235:3
|
tests/utils/asserts.ts#L327
1) paragraph.spec.ts:1202: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:327
325 | [richTextIndex, currentEditorIndex]
326 | );
> 327 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
328 | }
329 |
330 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/Users/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:327:18)
at /Users/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1235:3
|
tests/utils/asserts.ts#L327
1) paragraph.spec.ts:1202: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:327
325 | [richTextIndex, currentEditorIndex]
326 | );
> 327 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength });
| ^
328 | }
329 |
330 | export async function assertNativeSelectionRangeCount(
at assertRichTextInlineRange (/Users/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:327:18)
at /Users/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1235:3
|
tests/utils/actions/misc.ts#L1228
2) paragraph.spec.ts:1298: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:1228
1226 | coordOffSet: { x: number; y: number } = { x: 0, y: 0 }
1227 | ) {
> 1228 | const coord = await page.evaluate(
| ^
1229 | ({ richTextIndex, vIndex, coordOffSet, currentEditorIndex }) => {
1230 | const editorHost =
1231 | document.querySelectorAll('editor-host')[currentEditorIndex];
at getIndexCoordinate (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1228: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:1308:11
|
tests/utils/actions/misc.ts#L1228
2) paragraph.spec.ts:1298: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:1228
1226 | coordOffSet: { x: number; y: number } = { x: 0, y: 0 }
1227 | ) {
> 1228 | const coord = await page.evaluate(
| ^
1229 | ({ richTextIndex, vIndex, coordOffSet, currentEditorIndex }) => {
1230 | const editorHost =
1231 | document.querySelectorAll('editor-host')[currentEditorIndex];
at getIndexCoordinate (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1228: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:1308:11
|
tests/utils/actions/misc.ts#L1228
2) paragraph.spec.ts:1298: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:1228
1226 | coordOffSet: { x: number; y: number } = { x: 0, y: 0 }
1227 | ) {
> 1228 | const coord = await page.evaluate(
| ^
1229 | ({ richTextIndex, vIndex, coordOffSet, currentEditorIndex }) => {
1230 | const editorHost =
1231 | document.querySelectorAll('editor-host')[currentEditorIndex];
at getIndexCoordinate (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1228: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:1308:11
|
tests/utils/actions/misc.ts#L1228
2) paragraph.spec.ts:1298: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:1228
1226 | coordOffSet: { x: number; y: number } = { x: 0, y: 0 }
1227 | ) {
> 1228 | const coord = await page.evaluate(
| ^
1229 | ({ richTextIndex, vIndex, coordOffSet, currentEditorIndex }) => {
1230 | const editorHost =
1231 | document.querySelectorAll('editor-host')[currentEditorIndex];
at getIndexCoordinate (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1228: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:1308:11
|
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
|
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
|
7 failed
paragraph.spec.ts:1202:1 › arrow up/down navigation within and across paragraphs containing different types of text
paragraph.spec.ts:1298: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:108:1 › native range delete with indent ───────────────────────────────
selection/native.spec.ts:1714:3 › should scroll text to view when drag to select at top or bottom edge › from top to bottom
slash-menu.spec.ts:763:1 › should insert database ──────────────────────────────────────────────
zero-width.spec.ts:65:1 › create a paragraph-block while clicking between two non-paragraph-block
11 flaky
paragraph.spec.ts:384:1 › update paragraph with children to head type ──────────────────────────
selection/block.spec.ts:48:1 › block level range delete ────────────────────────────────────────
selection/block.spec.ts:400:1 › should keep selection state when scrolling forward ─────────────
selection/block.spec.ts:787:1 › should not clear selected rects when scrolling the wheel ───────
selection/block.spec.ts:1016:1 › should not be misaligned when the editor container has padding or margin
selection/block.spec.ts:1067:1 › undo should clear block selection ─────────────────────────────
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/block.spec.ts:1340:1 › should not select parent block when dragging area only intersects with child
selection/native.spec.ts:246:1 › native range selection backwards by forwardDelete ─────────────
selection/native.spec.ts:289:1 › cursor move to up and down with children block ────────────────
slash-menu.spec.ts:373:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow, Enter, Esc keys
3 skipped
159 passed (5.2m)
|
This job failed
Loading