Copy whole current line(s) when selection(s) are empty #238
Annotations
10 errors and 1 notice
Run Playwright tests:
tests/emacs-clipboard-keys.spec.js#L55
1) [chromium] › emacs-clipboard-keys.spec.js:49:5 › copy current line ────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: ""
Received: "test line! "
53 | await page.keyboard.press(`${modifierKey}+A`)
54 | await page.keyboard.press(`Backspace`)
> 55 | expect(await heynotePage.getBlockContent(0)).toBe("")
| ^
56 | await page.locator("body").press("Control+Y")
57 | await page.locator("body").press("Control+Y")
58 | expect(await heynotePage.getBlockContent(0)).toBe("test line! test line! ")
at /home/runner/work/heynote/heynote/tests/emacs-clipboard-keys.spec.js:55:50
|
Run Playwright tests:
tests/emacs-clipboard-keys.spec.js#L55
1) [chromium] › emacs-clipboard-keys.spec.js:49:5 › copy current line ────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: ""
Received: "test line! "
53 | await page.keyboard.press(`${modifierKey}+A`)
54 | await page.keyboard.press(`Backspace`)
> 55 | expect(await heynotePage.getBlockContent(0)).toBe("")
| ^
56 | await page.locator("body").press("Control+Y")
57 | await page.locator("body").press("Control+Y")
58 | expect(await heynotePage.getBlockContent(0)).toBe("test line! test line! ")
at /home/runner/work/heynote/heynote/tests/emacs-clipboard-keys.spec.js:55:50
|
Run Playwright tests:
tests/emacs-clipboard-keys.spec.js#L55
1) [chromium] › emacs-clipboard-keys.spec.js:49:5 › copy current line ────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: ""
Received: "test line! "
53 | await page.keyboard.press(`${modifierKey}+A`)
54 | await page.keyboard.press(`Backspace`)
> 55 | expect(await heynotePage.getBlockContent(0)).toBe("")
| ^
56 | await page.locator("body").press("Control+Y")
57 | await page.locator("body").press("Control+Y")
58 | expect(await heynotePage.getBlockContent(0)).toBe("test line! test line! ")
at /home/runner/work/heynote/heynote/tests/emacs-clipboard-keys.spec.js:55:50
|
Run Playwright tests:
tests/emacs-clipboard-keys.spec.js#L72
2) [chromium] › emacs-clipboard-keys.spec.js:61:5 › copy current multiple cursors ────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: ""
Received: "testline 1testline 2"
70 | await page.keyboard.press(`${modifierKey}+A`)
71 | await page.keyboard.press(`Backspace`)
> 72 | expect(await heynotePage.getBlockContent(0)).toBe("")
| ^
73 | await page.keyboard.press("Control+Y")
74 | //await page.waitForTimeout(100);
75 | expect(await heynotePage.getBlockContent(0)).toBe(`testline 1\ntestline 2`)
at /home/runner/work/heynote/heynote/tests/emacs-clipboard-keys.spec.js:72:50
|
Run Playwright tests:
tests/emacs-clipboard-keys.spec.js#L72
2) [chromium] › emacs-clipboard-keys.spec.js:61:5 › copy current multiple cursors ────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: ""
Received: "testline 1testline 2"
70 | await page.keyboard.press(`${modifierKey}+A`)
71 | await page.keyboard.press(`Backspace`)
> 72 | expect(await heynotePage.getBlockContent(0)).toBe("")
| ^
73 | await page.keyboard.press("Control+Y")
74 | //await page.waitForTimeout(100);
75 | expect(await heynotePage.getBlockContent(0)).toBe(`testline 1\ntestline 2`)
at /home/runner/work/heynote/heynote/tests/emacs-clipboard-keys.spec.js:72:50
|
Run Playwright tests:
tests/emacs-clipboard-keys.spec.js#L72
2) [chromium] › emacs-clipboard-keys.spec.js:61:5 › copy current multiple cursors ────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: ""
Received: "testline 1testline 2"
70 | await page.keyboard.press(`${modifierKey}+A`)
71 | await page.keyboard.press(`Backspace`)
> 72 | expect(await heynotePage.getBlockContent(0)).toBe("")
| ^
73 | await page.keyboard.press("Control+Y")
74 | //await page.waitForTimeout(100);
75 | expect(await heynotePage.getBlockContent(0)).toBe(`testline 1\ntestline 2`)
at /home/runner/work/heynote/heynote/tests/emacs-clipboard-keys.spec.js:72:50
|
Run Playwright tests:
tests/emacs-clipboard-keys.spec.js#L90
3) [chromium] › emacs-clipboard-keys.spec.js:78:5 › copy current multiple cursors on same line ───
Error: expect(received).toBe(expected) // Object.is equality
Expected: ""
Received: "1test1"
88 | await page.keyboard.press(`${modifierKey}+A`)
89 | await page.keyboard.press(`Backspace`)
> 90 | expect(await heynotePage.getBlockContent(0)).toBe("")
| ^
91 |
92 | await page.keyboard.press("Control+Y")
93 | expect(await heynotePage.getBlockContent(0)).toBe("1test1")
at /home/runner/work/heynote/heynote/tests/emacs-clipboard-keys.spec.js:90:50
|
Run Playwright tests:
tests/emacs-clipboard-keys.spec.js#L90
3) [chromium] › emacs-clipboard-keys.spec.js:78:5 › copy current multiple cursors on same line ───
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: ""
Received: "1test1"
88 | await page.keyboard.press(`${modifierKey}+A`)
89 | await page.keyboard.press(`Backspace`)
> 90 | expect(await heynotePage.getBlockContent(0)).toBe("")
| ^
91 |
92 | await page.keyboard.press("Control+Y")
93 | expect(await heynotePage.getBlockContent(0)).toBe("1test1")
at /home/runner/work/heynote/heynote/tests/emacs-clipboard-keys.spec.js:90:50
|
Run Playwright tests:
tests/emacs-clipboard-keys.spec.js#L90
3) [chromium] › emacs-clipboard-keys.spec.js:78:5 › copy current multiple cursors on same line ───
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: ""
Received: "1test1"
88 | await page.keyboard.press(`${modifierKey}+A`)
89 | await page.keyboard.press(`Backspace`)
> 90 | expect(await heynotePage.getBlockContent(0)).toBe("")
| ^
91 |
92 | await page.keyboard.press("Control+Y")
93 | expect(await heynotePage.getBlockContent(0)).toBe("1test1")
at /home/runner/work/heynote/heynote/tests/emacs-clipboard-keys.spec.js:90:50
|
Run Playwright tests
Process completed with exit code 1.
|
Run Playwright tests
3 failed
[chromium] › emacs-clipboard-keys.spec.js:49:5 › copy current line ─────────────────────────────
[chromium] › emacs-clipboard-keys.spec.js:61:5 › copy current multiple cursors ─────────────────
[chromium] › emacs-clipboard-keys.spec.js:78:5 › copy current multiple cursors on same line ────
8 skipped
100 passed (2.5m)
|
The logs for this run have expired and are no longer available.
Loading