Firefox and Webkit #142
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#L1011
3) selection/block.spec.ts:966:1 › should clear block selection before native selection ──────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
1009 | });
1010 |
> 1011 | expect(count0).toBe(1);
| ^
1012 | expect(count1).toBe(0);
1013 | expect(textCount).toBe(1);
1014 | });
at /Users/runner/work/blocksuite/blocksuite/tests/selection/block.spec.ts:1011:18
|
Run playwright test:
tests/selection/block.spec.ts#L1011
3) selection/block.spec.ts:966:1 › should clear block selection before native selection ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
1009 | });
1010 |
> 1011 | expect(count0).toBe(1);
| ^
1012 | expect(count1).toBe(0);
1013 | expect(textCount).toBe(1);
1014 | });
at /Users/runner/work/blocksuite/blocksuite/tests/selection/block.spec.ts:1011: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:966:1 › should clear block selection before native selection ───────────
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
14 flaky
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:282:1 › should unindent multi-selection block ──────────────────────────
selection/block.spec.ts:592:1 › should keep selection state when scrolling forward with the scroll 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/native.spec.ts:200:1 › native range input ────────────────────────────────────────────
selection/native.spec.ts:247:1 › native range selection backwards by forwardDelete ─────────────
selection/native.spec.ts:1770:1 › abnormal cursor jumping ──────────────────────────────────────
slash-menu.spec.ts:86:3 › slash menu should show and hide correctly › slash menu should hide after input whitespace
slash-menu.spec.ts:150:3 › slash menu should show and hide correctly › pressing the slash key again should close the old slash menu and open new one
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:549:3 › slash search › should slash menu search and keyboard works ──────────
3 skipped
163 passed (4.9m)
|
Loading