Add metadata to the beginning of the serialized buffer. #345
Annotations
10 errors and 1 notice
[chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing:
tests/auto-closing-brackets.spec.js#L22
1) [chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing ────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "{}"
Received: "{\""
20 | await page.locator("body").press("Escape")
21 | await page.locator("body").pressSequentially("{")
> 22 | expect(await heynotePage.getBlockContent(0)).toBe("{}")
| ^
23 | await page.locator("body").press("Backspace")
24 | expect(await heynotePage.getBlockContent(0)).toBe("")
25 | await page.locator("body").pressSequentially("(hej")
at /home/runner/work/heynote/heynote/tests/auto-closing-brackets.spec.js:22:50
|
[chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing:
tests/auto-closing-brackets.spec.js#L22
1) [chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing ────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "{}"
Received: "{\""
20 | await page.locator("body").press("Escape")
21 | await page.locator("body").pressSequentially("{")
> 22 | expect(await heynotePage.getBlockContent(0)).toBe("{}")
| ^
23 | await page.locator("body").press("Backspace")
24 | expect(await heynotePage.getBlockContent(0)).toBe("")
25 | await page.locator("body").pressSequentially("(hej")
at /home/runner/work/heynote/heynote/tests/auto-closing-brackets.spec.js:22:50
|
[chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing:
tests/auto-closing-brackets.spec.js#L22
1) [chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing ────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "{}"
Received: "{\""
20 | await page.locator("body").press("Escape")
21 | await page.locator("body").pressSequentially("{")
> 22 | expect(await heynotePage.getBlockContent(0)).toBe("{}")
| ^
23 | await page.locator("body").press("Backspace")
24 | expect(await heynotePage.getBlockContent(0)).toBe("")
25 | await page.locator("body").pressSequentially("(hej")
at /home/runner/work/heynote/heynote/tests/auto-closing-brackets.spec.js:22:50
|
[chromium] › basic-editing.spec.js:11:5 › enter text and create new block:
tests/basic-editing.spec.js#L18
2) [chromium] › basic-editing.spec.js:11:5 › enter text and create new block ─────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 1
- Hello World!
-
+ {"ranges":[{"
16 | await page.waitForTimeout(100);
17 | expect((await heynotePage.getBlocks()).length).toBe(2)
> 18 | expect(await heynotePage.getBlockContent(0)).toBe("Hello World!\n")
| ^
19 | expect(await heynotePage.getBlockContent(1)).toBe("")
20 |
21 | // check that visual block layers are created
at /home/runner/work/heynote/heynote/tests/basic-editing.spec.js:18:50
|
[chromium] › basic-editing.spec.js:11:5 › enter text and create new block:
tests/basic-editing.spec.js#L18
2) [chromium] › basic-editing.spec.js:11:5 › enter text and create new block ─────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 1
- Hello World!
-
+ {"ranges":[{"
16 | await page.waitForTimeout(100);
17 | expect((await heynotePage.getBlocks()).length).toBe(2)
> 18 | expect(await heynotePage.getBlockContent(0)).toBe("Hello World!\n")
| ^
19 | expect(await heynotePage.getBlockContent(1)).toBe("")
20 |
21 | // check that visual block layers are created
at /home/runner/work/heynote/heynote/tests/basic-editing.spec.js:18:50
|
[chromium] › basic-editing.spec.js:11:5 › enter text and create new block:
tests/basic-editing.spec.js#L18
2) [chromium] › basic-editing.spec.js:11:5 › enter text and create new block ─────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 1
- Hello World!
-
+ {"ranges":[{"
16 | await page.waitForTimeout(100);
17 | expect((await heynotePage.getBlocks()).length).toBe(2)
> 18 | expect(await heynotePage.getBlockContent(0)).toBe("Hello World!\n")
| ^
19 | expect(await heynotePage.getBlockContent(1)).toBe("")
20 |
21 | // check that visual block layers are created
at /home/runner/work/heynote/heynote/tests/basic-editing.spec.js:18:50
|
[chromium] › basic-editing.spec.js:25:5 › backspace:
tests/basic-editing.spec.js#L31
3) [chromium] › basic-editing.spec.js:25:5 › backspace ───────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Hello W"
Received: "{\"range"
29 | await page.locator("body").press("Backspace")
30 | }
> 31 | expect(await heynotePage.getBlockContent(0)).toBe("Hello W")
| ^
32 | })
33 |
34 | test("first block is protected", async ({ page }) => {
at /home/runner/work/heynote/heynote/tests/basic-editing.spec.js:31:50
|
[chromium] › basic-editing.spec.js:25:5 › backspace:
tests/basic-editing.spec.js#L31
3) [chromium] › basic-editing.spec.js:25:5 › backspace ───────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Hello W"
Received: "{\"range"
29 | await page.locator("body").press("Backspace")
30 | }
> 31 | expect(await heynotePage.getBlockContent(0)).toBe("Hello W")
| ^
32 | })
33 |
34 | test("first block is protected", async ({ page }) => {
at /home/runner/work/heynote/heynote/tests/basic-editing.spec.js:31:50
|
[chromium] › basic-editing.spec.js:25:5 › backspace:
tests/basic-editing.spec.js#L31
3) [chromium] › basic-editing.spec.js:25:5 › backspace ───────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Hello W"
Received: "{\"range"
29 | await page.locator("body").press("Backspace")
30 | }
> 31 | expect(await heynotePage.getBlockContent(0)).toBe("Hello W")
| ^
32 | })
33 |
34 | test("first block is protected", async ({ page }) => {
at /home/runner/work/heynote/heynote/tests/basic-editing.spec.js:31:50
|
[chromium] › block-creation.spec.js:27:5 › create block before current (A):
tests/block-creation.spec.js#L110
4) [chromium] › block-creation.spec.js:27:5 › create block before current (A) ────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Block D"
Received: "{\"range"
108 | for (const expectedBlock of expectedBlocks) {
109 | const index = expectedBlocks.indexOf(expectedBlock);
> 110 | expect(await heynotePage.getBlockContent(index)).toBe(`Block ${expectedBlock}`)
| ^
111 | }
112 |
113 | // check that only one block delimiter widget has the class first
at runTest (/home/runner/work/heynote/heynote/tests/block-creation.spec.js:110:58)
at /home/runner/work/heynote/heynote/tests/block-creation.spec.js:31:5
|
🎭 Playwright Run Summary
52 failed
[chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing ─────────────────────────
[chromium] › basic-editing.spec.js:11:5 › enter text and create new block ──────────────────────
[chromium] › basic-editing.spec.js:25:5 › backspace ────────────────────────────────────────────
[chromium] › block-creation.spec.js:27:5 › create block before current (A) ─────────────────────
[chromium] › block-creation.spec.js:34:5 › create block after current (A) ──────────────────────
[chromium] › block-creation.spec.js:42:5 › create block before current (B) ─────────────────────
[chromium] › block-creation.spec.js:48:5 › create block after current (B) ──────────────────────
[chromium] › block-creation.spec.js:55:5 › create block before current (C) ─────────────────────
[chromium] › block-creation.spec.js:59:5 › create block after current (C) ──────────────────────
[chromium] › block-creation.spec.js:63:5 › create block before first ───────────────────────────
[chromium] › block-creation.spec.js:67:5 › create block after last ─────────────────────────────
[chromium] › block-creation.spec.js:118:5 › test custom default block language ─────────────────
[chromium] › delete-line.spec.js:30:5 › delete line on single line in Block A ──────────────────
[chromium] › emacs-clipboard-keys.spec.js:31:5 › test emacs copy/pase/cut key bindings ─────────
[chromium] › emacs-clipboard-keys.spec.js:55:5 › copy current line ─────────────────────────────
[chromium] › emacs-clipboard-keys.spec.js:66:5 › copy current multiple cursors ─────────────────
[chromium] › emacs-clipboard-keys.spec.js:82:5 › copy current multiple cursors on same line ────
[chromium] › formatting.spec.js:12:5 › JSON formatting ─────────────────────────────────────────
[chromium] › formatting.spec.js:27:5 › JSON formatting (cursor at start) ───────────────────────
[chromium] › markdown.spec.js:24:5 › checkbox toggle ───────────────────────────────────────────
[firefox] › auto-closing-brackets.spec.js:16:5 › test bracket closing ──────────────────────────
[firefox] › basic-editing.spec.js:11:5 › enter text and create new block ───────────────────────
[firefox] › basic-editing.spec.js:25:5 › backspace ─────────────────────────────────────────────
[firefox] › block-creation.spec.js:27:5 › create block before current (A) ──────────────────────
[firefox] › block-creation.spec.js:34:5 › create block after current (A) ───────────────────────
[firefox] › block-creation.spec.js:42:5 › create block before current (B) ──────────────────────
[firefox] › block-creation.spec.js:48:5 › create block after current (B) ───────────────────────
[firefox] › block-creation.spec.js:55:5 › create block before current (C) ──────────────────────
[firefox] › block-creation.spec.js:59:5 › create block after current (C) ───────────────────────
[firefox] › block-creation.spec.js:63:5 › create block before first ────────────────────────────
[firefox] › block-creation.spec.js:67:5 › create block after last ──────────────────────────────
[firefox] › block-creation.spec.js:118:5 › test custom default block language ──────────────────
[firefox] › delete-line.spec.js:30:5 › delete line on single line in Block A ───────────────────
[firefox] › formatting.spec.js:12:5 › JSON formatting ──────────────────────────────────────────
[firefox] › formatting.spec.js:27:5 › JSON formatting (cursor at start) ────────────────────────
[firefox] › markdown.spec.js:24:5 › checkbox toggle ────────────────────────────────────────────
[webkit] › auto-closing-brackets.spec.js:16:5 › test bracket closing ───────────────────────────
[webkit] › basic-editing.spec.js:11:5 › enter text and create new block ────────────────────────
[webkit] › basic-editing.spec.js:25:5 › backspace ──────────────────────────────────────────────
[webkit] › block-creation.spec.js:27:5 › create block before current (A) ───────────────────────
[webkit] › block-creation.spec.js:34:5 ›
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
36.6 MB |
|