Firefox and Webkit #99
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#L1227
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:1227
1225 | coordOffSet: { x: number; y: number } = { x: 0, y: 0 }
1226 | ) {
> 1227 | const coord = await page.evaluate(
| ^
1228 | ({ richTextIndex, vIndex, coordOffSet, currentEditorIndex }) => {
1229 | const editorHost =
1230 | document.querySelectorAll('editor-host')[currentEditorIndex];
at getIndexCoordinate (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1227: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#L1227
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:1227
1225 | coordOffSet: { x: number; y: number } = { x: 0, y: 0 }
1226 | ) {
> 1227 | const coord = await page.evaluate(
| ^
1228 | ({ richTextIndex, vIndex, coordOffSet, currentEditorIndex }) => {
1229 | const editorHost =
1230 | document.querySelectorAll('editor-host')[currentEditorIndex];
at getIndexCoordinate (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1227: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#L1227
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:1227
1225 | coordOffSet: { x: number; y: number } = { x: 0, y: 0 }
1226 | ) {
> 1227 | const coord = await page.evaluate(
| ^
1228 | ({ richTextIndex, vIndex, coordOffSet, currentEditorIndex }) => {
1229 | const editorHost =
1230 | document.querySelectorAll('editor-host')[currentEditorIndex];
at getIndexCoordinate (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1227: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#L1227
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:1227
1225 | coordOffSet: { x: number; y: number } = { x: 0, y: 0 }
1226 | ) {
> 1227 | const coord = await page.evaluate(
| ^
1228 | ({ richTextIndex, vIndex, coordOffSet, currentEditorIndex }) => {
1229 | const editorHost =
1230 | document.querySelectorAll('editor-host')[currentEditorIndex];
at getIndexCoordinate (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1227: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/native.spec.ts#L163
3) selection/native.spec.ts:108:1 › native range delete with indent ──────────────────────────────
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,800,95]",
"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": "2",
"flavour": "affine:paragraph",
"version": 1,
"props": {
"type": "text",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "123"
}
]
}
},
"children": [
{
"type": "block",
"id": "3",
"flavour": "affine:paragraph",
"version": 1,
"props": {
"type": "text",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "456"
}
]
}
},
"children": [
{
"type": "block",
"id": "4",
"flavour": "affine:paragraph",
"version": 1,
"props": {
"type": "text",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "789"
}
]
}
},
"children": []
}
]
}
]
},
{
"type": "block",
"id": "5",
"flavour": "affine:paragraph",
"version": 1,
"props": {
"type": "text",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "abc"
}
]
}
},
"children": [
{
"type": "block",
"id": "6",
"flavour": "affine:paragraph",
"version": 1,
"props": {
"type": "text",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "def"
}
]
}
},
"children": []
},
{
{
"type": "block",
"id": "7",
|
tests/selection/native.spec.ts#L163
3) selection/native.spec.ts:108:1 › native range delete with indent ──────────────────────────────
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,800,95]",
"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": "2",
"flavour": "affine:paragraph",
"version": 1,
"props": {
"type": "text",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "123"
}
]
}
},
"children": [
{
"type": "block",
"id": "3",
"flavour": "affine:paragraph",
"version": 1,
"props": {
"type": "text",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "456"
}
]
}
},
"children": [
{
"type": "block",
"id": "4",
"flavour": "affine:paragraph",
"version": 1,
"props": {
"type": "text",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "789"
}
]
}
},
"children": []
}
]
}
]
},
{
"type": "block",
"id": "5",
"flavour": "affine:paragraph",
"version": 1,
"props": {
"type": "text",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "abc"
}
]
}
},
"children": [
{
"type": "block",
"id": "6",
"flavour": "affine:paragraph",
"version": 1,
"props": {
"type": "text",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "def"
}
]
}
},
"children": []
},
|
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/native.spec.ts:108:1 › native range delete with indent ───────────────────────────────
selection/native.spec.ts:373:1 › cursor move up and down through note ──────────────────────────
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
14 flaky
selection/block.spec.ts:48:1 › block level range delete ────────────────────────────────────────
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:787:1 › should not clear selected rects when scrolling the wheel ───────
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:1067:1 › undo should clear block selection ─────────────────────────────
selection/block.spec.ts:1094:1 › should not draw rect for sub selected blocks when entering tab key
selection/block.spec.ts:1140:1 › should not show option menu of image on 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: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
slash-menu.spec.ts:607:1 › should focus on code blocks created by the slash menu ───────────────
3 skipped
155 passed (4.9m)
|
This job failed
Loading