Firefox and Webkit #100
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": []
},
|
6 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: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 ──────────────────────────
paragraph.spec.ts:980:1 › should placeholder not show when multiple blocks are selected ────────
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:1176:1 › click bottom of page and if the last is embed block, editor should insert a new editable block
selection/native.spec.ts:173:1 › native range delete by forwardDelete ──────────────────────────
selection/native.spec.ts:219:1 › native range selection backwards ──────────────────────────────
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:607:1 › should focus on code blocks created by the slash menu ───────────────
3 skipped
159 passed (5.3m)
|
This job failed
Loading