Firefox and Webkit #163
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#L1223
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:1223
1221 | coordOffSet: { x: number; y: number } = { x: 0, y: 0 }
1222 | ) {
> 1223 | const coord = await page.evaluate(
| ^
1224 | ({ richTextIndex, vIndex, coordOffSet, currentEditorIndex }) => {
1225 | const editorHost =
1226 | document.querySelectorAll('editor-host')[currentEditorIndex];
at getIndexCoordinate (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1223:28)
at dragBetweenIndices (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:47:28)
at /Users/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1310:11
|
Run playwright test:
tests/utils/actions/misc.ts#L1223
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:1223
1221 | coordOffSet: { x: number; y: number } = { x: 0, y: 0 }
1222 | ) {
> 1223 | const coord = await page.evaluate(
| ^
1224 | ({ richTextIndex, vIndex, coordOffSet, currentEditorIndex }) => {
1225 | const editorHost =
1226 | document.querySelectorAll('editor-host')[currentEditorIndex];
at getIndexCoordinate (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1223:28)
at dragBetweenIndices (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:47:28)
at /Users/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1310:11
|
Run playwright test:
tests/utils/actions/misc.ts#L1223
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:1223
1221 | coordOffSet: { x: number; y: number } = { x: 0, y: 0 }
1222 | ) {
> 1223 | const coord = await page.evaluate(
| ^
1224 | ({ richTextIndex, vIndex, coordOffSet, currentEditorIndex }) => {
1225 | const editorHost =
1226 | document.querySelectorAll('editor-host')[currentEditorIndex];
at getIndexCoordinate (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1223:28)
at dragBetweenIndices (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:47:28)
at /Users/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1310:11
|
Run playwright test:
tests/utils/actions/misc.ts#L1223
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:1223
1221 | coordOffSet: { x: number; y: number } = { x: 0, y: 0 }
1222 | ) {
> 1223 | const coord = await page.evaluate(
| ^
1224 | ({ richTextIndex, vIndex, coordOffSet, currentEditorIndex }) => {
1225 | const editorHost =
1226 | document.querySelectorAll('editor-host')[currentEditorIndex];
at getIndexCoordinate (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1223:28)
at dragBetweenIndices (/Users/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:47:28)
at /Users/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1310:11
|
Run playwright test:
tests/utils/asserts.ts#L293
3) selection/native.spec.ts:66:1 › native range delete ───────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('affine-paragraph')
Expected: 1
Received: 3
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('affine-paragraph')
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
at utils/asserts.ts:293
291 | count: number
292 | ) {
> 293 | await expect(page.locator(`affine-${flavour}`)).toHaveCount(count);
| ^
294 | }
295 | export async function assertRowCount(page: Page, count: number) {
296 | await expect(page.locator('.affine-database-block-row')).toHaveCount(count);
at assertBlockCount (/Users/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:293:51)
at /Users/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:74:9
|
Run playwright test:
tests/utils/asserts.ts#L293
3) selection/native.spec.ts:66:1 › native range delete ───────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('affine-paragraph')
Expected: 1
Received: 3
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('affine-paragraph')
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
at utils/asserts.ts:293
291 | count: number
292 | ) {
> 293 | await expect(page.locator(`affine-${flavour}`)).toHaveCount(count);
| ^
294 | }
295 | export async function assertRowCount(page: Page, count: number) {
296 | await expect(page.locator('.affine-database-block-row')).toHaveCount(count);
at assertBlockCount (/Users/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:293:51)
at /Users/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:74:9
|
Run playwright test
16 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/native.spec.ts:66:1 › native range delete ────────────────────────────────────────────
selection/native.spec.ts:84:1 › native range delete with indent ────────────────────────────────
selection/native.spec.ts:386:1 › select all text with dragging and delete ──────────────────────
selection/native.spec.ts:401:1 › select all text with dragging and delete by forwardDelete ─────
selection/native.spec.ts:446:1 › select text leaving a few words in the last line and delete ───
selection/native.spec.ts:464:1 › select text leaving a few words in the last line and delete by forwardDelete
selection/native.spec.ts:574:1 › select text in the same line with dragging rightward and move outside the affine-note
selection/native.spec.ts:621:1 › select text in the same line with dragging rightward and move outside the affine-note by forwardDelete
selection/native.spec.ts:693:1 › drag to select tagged text, and copy ──────────────────────────
selection/native.spec.ts:713:1 › drag to select tagged text, and input character ───────────────
selection/native.spec.ts:1427:1 › should collapse to end when press arrow-right on multi-line selection
selection/native.spec.ts:1690: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
17 flaky
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:704:1 › should not clear selected rects when clicking on scrollbar ─────
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:1140:1 › should not show option menu of image on block selection ───────
selection/block.spec.ts:1340:1 › should not select parent block when dragging area only intersects with child
selection/native.spec.ts:149:1 › native range delete by forwardDelete ──────────────────────────
selection/native.spec.ts:195:1 › native range selection backwards ──────────────────────────────
selection/native.spec.ts:222:1 › native range selection backwards by forwardDelete ─────────────
selection/native.spec.ts:1556:1 › scroll vertically when adding multiple blocks ────────────────
slash-menu.spec.ts:65:3 › slash menu should show and hide correctly › slash menu should hide after click away
slash-menu.spec.ts:345:3 › slash menu should show and hide correctly › should open sub menu when hover on SubMenuItem
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:659:3 › slash menu with date & time › should insert Today's time string ─────
3 skipped
152 passed (7.0m)
|
Loading