Skip to content

WIP: Implement support for multiple notes #354

WIP: Implement support for multiple notes

WIP: Implement support for multiple notes #354

Triggered via push July 24, 2024 11:52
Status Failure
Total duration 1h 16m 17s
Artifacts 1

tests.yml

on: push
Run Playwright Tests
1h 16m
Run Playwright Tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 notice
[chromium] › auto-closing-brackets.spec.js:11:5 › test bracket closing default off: eval at evaluate (:226:30)#L1
1) [chromium] › auto-closing-brackets.spec.js:11:5 › test bracket closing default off ──────────── Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'getBlocks') at eval (eval at evaluate (:226:30), <anonymous>:1:30) at UtilityScript.evaluate (<anonymous>:228:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at eval (/home/runner/work/heynote/heynote/eval at evaluate (:226:30), <anonymous>:1:30) at UtilityScript.evaluate (/home/runner/work/heynote/heynote/<anonymous>:228:17) at UtilityScript.<anonymous> (/home/runner/work/heynote/heynote/<anonymous>:1:44) at HeynotePage.getBlocks (/home/runner/work/heynote/heynote/tests/test-utils.js:27:32) at HeynotePage.getBlockContent (/home/runner/work/heynote/heynote/tests/test-utils.js:49:35) at /home/runner/work/heynote/heynote/tests/auto-closing-brackets.spec.js:13:30
[chromium] › auto-closing-brackets.spec.js:11:5 › test bracket closing default off: eval at evaluate (:226:30)#L1
1) [chromium] › auto-closing-brackets.spec.js:11:5 › test bracket closing default off ──────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'getBlocks') at eval (eval at evaluate (:226:30), <anonymous>:1:30) at UtilityScript.evaluate (<anonymous>:228:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at eval (/home/runner/work/heynote/heynote/eval at evaluate (:226:30), <anonymous>:1:30) at UtilityScript.evaluate (/home/runner/work/heynote/heynote/<anonymous>:228:17) at UtilityScript.<anonymous> (/home/runner/work/heynote/heynote/<anonymous>:1:44) at HeynotePage.getBlocks (/home/runner/work/heynote/heynote/tests/test-utils.js:27:32) at HeynotePage.getBlockContent (/home/runner/work/heynote/heynote/tests/test-utils.js:49:35) at /home/runner/work/heynote/heynote/tests/auto-closing-brackets.spec.js:13:30
[chromium] › auto-closing-brackets.spec.js:11:5 › test bracket closing default off: eval at evaluate (:226:30)#L1
1) [chromium] › auto-closing-brackets.spec.js:11:5 › test bracket closing default off ──────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'getBlocks') at eval (eval at evaluate (:226:30), <anonymous>:1:30) at UtilityScript.evaluate (<anonymous>:228:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at eval (/home/runner/work/heynote/heynote/eval at evaluate (:226:30), <anonymous>:1:30) at UtilityScript.evaluate (/home/runner/work/heynote/heynote/<anonymous>:228:17) at UtilityScript.<anonymous> (/home/runner/work/heynote/heynote/<anonymous>:1:44) at HeynotePage.getBlocks (/home/runner/work/heynote/heynote/tests/test-utils.js:27:32) at HeynotePage.getBlockContent (/home/runner/work/heynote/heynote/tests/test-utils.js:49:35) at /home/runner/work/heynote/heynote/tests/auto-closing-brackets.spec.js:13:30
[chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing: tests/auto-closing-brackets.spec.js#L1
2) [chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing ──────────────────────── Test timeout of 30000ms exceeded.
[chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing: tests/auto-closing-brackets.spec.js#L17
2) [chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing ──────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.status-block.settings') 15 | 16 | test("test bracket closing", async ({ page }) => { > 17 | await page.locator("css=.status-block.settings").click() | ^ 18 | await page.locator("css=li.tab-editing").click() 19 | await page.getByLabel("Auto-close brackets and quotation marks").click() 20 | await page.locator("body").press("Escape") at /home/runner/work/heynote/heynote/tests/auto-closing-brackets.spec.js:17:54
[chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing: tests/auto-closing-brackets.spec.js#L1
2) [chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing ──────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing: tests/auto-closing-brackets.spec.js#L17
2) [chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing ──────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.status-block.settings') 15 | 16 | test("test bracket closing", async ({ page }) => { > 17 | await page.locator("css=.status-block.settings").click() | ^ 18 | await page.locator("css=li.tab-editing").click() 19 | await page.getByLabel("Auto-close brackets and quotation marks").click() 20 | await page.locator("body").press("Escape") at /home/runner/work/heynote/heynote/tests/auto-closing-brackets.spec.js:17:54
[chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing: tests/auto-closing-brackets.spec.js#L1
2) [chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing ──────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing: tests/auto-closing-brackets.spec.js#L17
2) [chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing ──────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.status-block.settings') 15 | 16 | test("test bracket closing", async ({ page }) => { > 17 | await page.locator("css=.status-block.settings").click() | ^ 18 | await page.locator("css=li.tab-editing").click() 19 | await page.getByLabel("Auto-close brackets and quotation marks").click() 20 | await page.locator("body").press("Escape") at /home/runner/work/heynote/heynote/tests/auto-closing-brackets.spec.js:17:54
[chromium] › basic-editing.spec.js:11:5 › enter text and create new block: eval at evaluate (:226:30)#L1
3) [chromium] › basic-editing.spec.js:11:5 › enter text and create new block ───────────────────── Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'getBlocks') at eval (eval at evaluate (:226:30), <anonymous>:1:30) at UtilityScript.evaluate (<anonymous>:228:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at eval (/home/runner/work/heynote/heynote/eval at evaluate (:226:30), <anonymous>:1:30) at UtilityScript.evaluate (/home/runner/work/heynote/heynote/<anonymous>:228:17) at UtilityScript.<anonymous> (/home/runner/work/heynote/heynote/<anonymous>:1:44) at HeynotePage.getBlocks (/home/runner/work/heynote/heynote/tests/test-utils.js:27:32) at /home/runner/work/heynote/heynote/tests/basic-editing.spec.js:12:31
🎭 Playwright Run Summary
121 failed [chromium] › auto-closing-brackets.spec.js:11:5 › test bracket closing default off ───────────── [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] › basic-editing.spec.js:34:5 › first block is protected ───────────────────────────── [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:74:5 › create block before Markdown block ────────────────── [chromium] › block-creation.spec.js:84:5 › create block before first Markdown block ──────────── [chromium] › block-creation.spec.js:118:5 › test custom default block language ───────────────── [chromium] › custom-font.spec.js:11:5 › test default font is Hack ────────────────────────────── [chromium] › custom-font.spec.js:25:5 › test custom font ─────────────────────────────────────── [chromium] › delete-line.spec.js:30:5 › delete line on single line in Block A ────────────────── [chromium] › delete-line.spec.js:40:5 › delete line on selection in Block B ──────────────────── [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] › language-detection.spec.js:12:5 › test valid JSON detection ─────────────────────── [chromium] › language-detection.spec.js:23:5 › python detection ──────────────────────────────── [chromium] › language-detection.spec.js:40:5 › TOML detection ────────────────────────────────── [chromium] › markdown.spec.js:11:5 › test markdown mode ──────────────────────────────────────── [chromium] › markdown.spec.js:24:5 › checkbox toggle ─────────────────────────────────────────── [chromium] › math.spec.js:11:5 › test math mode ──────────────────────────────────────────────── [chromium] › math.spec.js:19:5 › test math string result has no quotes ───────────────────────── [chromium] › math.spec.js:27:5 › custom format function ──────────────────────────────────────── [chromium] › math.spec.js:37:5 › previous result in prev variable ────────────────────────────── [chromium] › math.spec.js:46:5 › previous result in prev variable rows with invalid values ───── [chromium] › note-format.spec.js:13:5 › test restore cursor position ─────────────────────────── [chromium] › note-format.spec.js:26:5 › test save cursor positions ───────────────────────────── [chromium] › note-format.spec.js:50:5 › unknown note metadata keys is kept ───────────────────── [chromium] › settings.spec.js:12:5 › test open settings dialog ───────────────────────────────── [chromium] › settings.spec.js:17:5 › te

Artifacts

Produced during runtime
Name Size
playwright-report Expired
239 MB