Skip to content

Throw error if major format version is greater than the currently sup… #350

Throw error if major format version is greater than the currently sup…

Throw error if major format version is greater than the currently sup… #350

Triggered via push July 17, 2024 13:20
Status Failure
Total duration 4m 46s
Artifacts 1

tests.yml

on: push
Run Playwright Tests
4m 37s
Run Playwright Tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 notice
[chromium] › note-format.spec.js:13:5 › test restore cursor position: http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js#L26
1) [chromium] › note-format.spec.js:13:5 › test restore cursor position ────────────────────────── Error: page.evaluate: TypeError: Invalid Version: 1.0 at new _SemVer (http://localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:200:17) at major (http://localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:527:31) at NoteFormat.load (http://localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js:26:13) at HeynoteEditor.setContent (http://localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/editor.js:140:36) at eval (eval at evaluate (:226:30), <anonymous>:1:35) at UtilityScript.evaluate (<anonymous>:228:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at _SemVer (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:200:17) at major (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:527:31) at NoteFormat.load (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js:26:13) at HeynoteEditor.setContent (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/editor.js:140:36) at eval (/home/runner/work/heynote/heynote/eval at evaluate (:226:30), <anonymous>:1:35) at UtilityScript.evaluate (/home/runner/work/heynote/heynote/<anonymous>:228:17) at UtilityScript.<anonymous> (/home/runner/work/heynote/heynote/<anonymous>:1:44) at HeynotePage.setContent (/home/runner/work/heynote/heynote/tests/test-utils.js:41:25) at /home/runner/work/heynote/heynote/tests/note-format.spec.js:14:5
[chromium] › note-format.spec.js:13:5 › test restore cursor position: http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js#L26
1) [chromium] › note-format.spec.js:13:5 › test restore cursor position ────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.evaluate: TypeError: Invalid Version: 1.0 at new _SemVer (http://localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:200:17) at major (http://localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:527:31) at NoteFormat.load (http://localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js:26:13) at HeynoteEditor.setContent (http://localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/editor.js:140:36) at eval (eval at evaluate (:226:30), <anonymous>:1:35) at UtilityScript.evaluate (<anonymous>:228:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at _SemVer (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:200:17) at major (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:527:31) at NoteFormat.load (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js:26:13) at HeynoteEditor.setContent (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/editor.js:140:36) at eval (/home/runner/work/heynote/heynote/eval at evaluate (:226:30), <anonymous>:1:35) at UtilityScript.evaluate (/home/runner/work/heynote/heynote/<anonymous>:228:17) at UtilityScript.<anonymous> (/home/runner/work/heynote/heynote/<anonymous>:1:44) at HeynotePage.setContent (/home/runner/work/heynote/heynote/tests/test-utils.js:41:25) at /home/runner/work/heynote/heynote/tests/note-format.spec.js:14:5
[chromium] › note-format.spec.js:13:5 › test restore cursor position: http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js#L26
1) [chromium] › note-format.spec.js:13:5 › test restore cursor position ────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.evaluate: TypeError: Invalid Version: 1.0 at new _SemVer (http://localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:200:17) at major (http://localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:527:31) at NoteFormat.load (http://localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js:26:13) at HeynoteEditor.setContent (http://localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/editor.js:140:36) at eval (eval at evaluate (:226:30), <anonymous>:1:35) at UtilityScript.evaluate (<anonymous>:228:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at _SemVer (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:200:17) at major (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:527:31) at NoteFormat.load (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js:26:13) at HeynoteEditor.setContent (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/editor.js:140:36) at eval (/home/runner/work/heynote/heynote/eval at evaluate (:226:30), <anonymous>:1:35) at UtilityScript.evaluate (/home/runner/work/heynote/heynote/<anonymous>:228:17) at UtilityScript.<anonymous> (/home/runner/work/heynote/heynote/<anonymous>:1:44) at HeynotePage.setContent (/home/runner/work/heynote/heynote/tests/test-utils.js:41:25) at /home/runner/work/heynote/heynote/tests/note-format.spec.js:14:5
[chromium] › note-format.spec.js:26:5 › test save cursor positions: http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js#L26
2) [chromium] › note-format.spec.js:26:5 › test save cursor positions ──────────────────────────── Error: page.evaluate: TypeError: Invalid Version: 1.0 at new _SemVer (http://localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:200:17) at major (http://localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:527:31) at NoteFormat.load (http://localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js:26:13) at HeynoteEditor.setContent (http://localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/editor.js:140:36) at eval (eval at evaluate (:226:30), <anonymous>:1:35) at UtilityScript.evaluate (<anonymous>:228:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at _SemVer (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:200:17) at major (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:527:31) at NoteFormat.load (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js:26:13) at HeynoteEditor.setContent (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/editor.js:140:36) at eval (/home/runner/work/heynote/heynote/eval at evaluate (:226:30), <anonymous>:1:35) at UtilityScript.evaluate (/home/runner/work/heynote/heynote/<anonymous>:228:17) at UtilityScript.<anonymous> (/home/runner/work/heynote/heynote/<anonymous>:1:44) at HeynotePage.setContent (/home/runner/work/heynote/heynote/tests/test-utils.js:41:25) at /home/runner/work/heynote/heynote/tests/note-format.spec.js:27:5
[chromium] › note-format.spec.js:26:5 › test save cursor positions: http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js#L26
2) [chromium] › note-format.spec.js:26:5 › test save cursor positions ──────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.evaluate: TypeError: Invalid Version: 1.0 at new _SemVer (http://localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:200:17) at major (http://localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:527:31) at NoteFormat.load (http://localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js:26:13) at HeynoteEditor.setContent (http://localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/editor.js:140:36) at eval (eval at evaluate (:226:30), <anonymous>:1:35) at UtilityScript.evaluate (<anonymous>:228:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at _SemVer (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:200:17) at major (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:527:31) at NoteFormat.load (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js:26:13) at HeynoteEditor.setContent (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/editor.js:140:36) at eval (/home/runner/work/heynote/heynote/eval at evaluate (:226:30), <anonymous>:1:35) at UtilityScript.evaluate (/home/runner/work/heynote/heynote/<anonymous>:228:17) at UtilityScript.<anonymous> (/home/runner/work/heynote/heynote/<anonymous>:1:44) at HeynotePage.setContent (/home/runner/work/heynote/heynote/tests/test-utils.js:41:25) at /home/runner/work/heynote/heynote/tests/note-format.spec.js:27:5
[chromium] › note-format.spec.js:26:5 › test save cursor positions: http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js#L26
2) [chromium] › note-format.spec.js:26:5 › test save cursor positions ──────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.evaluate: TypeError: Invalid Version: 1.0 at new _SemVer (http://localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:200:17) at major (http://localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:527:31) at NoteFormat.load (http://localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js:26:13) at HeynoteEditor.setContent (http://localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/editor.js:140:36) at eval (eval at evaluate (:226:30), <anonymous>:1:35) at UtilityScript.evaluate (<anonymous>:228:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at _SemVer (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:200:17) at major (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:527:31) at NoteFormat.load (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js:26:13) at HeynoteEditor.setContent (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/editor.js:140:36) at eval (/home/runner/work/heynote/heynote/eval at evaluate (:226:30), <anonymous>:1:35) at UtilityScript.evaluate (/home/runner/work/heynote/heynote/<anonymous>:228:17) at UtilityScript.<anonymous> (/home/runner/work/heynote/heynote/<anonymous>:1:44) at HeynotePage.setContent (/home/runner/work/heynote/heynote/tests/test-utils.js:41:25) at /home/runner/work/heynote/heynote/tests/note-format.spec.js:27:5
[chromium] › note-format.spec.js:50:5 › unknown note metadata keys is kept: http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js#L26
3) [chromium] › note-format.spec.js:50:5 › unknown note metadata keys is kept ──────────────────── Error: page.evaluate: TypeError: Invalid Version: 1.0 at new _SemVer (http://localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:200:17) at major (http://localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:527:31) at NoteFormat.load (http://localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js:26:13) at HeynoteEditor.setContent (http://localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/editor.js:140:36) at eval (eval at evaluate (:226:30), <anonymous>:1:35) at UtilityScript.evaluate (<anonymous>:228:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at _SemVer (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:200:17) at major (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:527:31) at NoteFormat.load (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js:26:13) at HeynoteEditor.setContent (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/editor.js:140:36) at eval (/home/runner/work/heynote/heynote/eval at evaluate (:226:30), <anonymous>:1:35) at UtilityScript.evaluate (/home/runner/work/heynote/heynote/<anonymous>:228:17) at UtilityScript.<anonymous> (/home/runner/work/heynote/heynote/<anonymous>:1:44) at HeynotePage.setContent (/home/runner/work/heynote/heynote/tests/test-utils.js:41:25) at /home/runner/work/heynote/heynote/tests/note-format.spec.js:51:5
[chromium] › note-format.spec.js:50:5 › unknown note metadata keys is kept: http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js#L26
3) [chromium] › note-format.spec.js:50:5 › unknown note metadata keys is kept ──────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.evaluate: TypeError: Invalid Version: 1.0 at new _SemVer (http://localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:200:17) at major (http://localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:527:31) at NoteFormat.load (http://localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js:26:13) at HeynoteEditor.setContent (http://localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/editor.js:140:36) at eval (eval at evaluate (:226:30), <anonymous>:1:35) at UtilityScript.evaluate (<anonymous>:228:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at _SemVer (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:200:17) at major (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:527:31) at NoteFormat.load (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js:26:13) at HeynoteEditor.setContent (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/editor.js:140:36) at eval (/home/runner/work/heynote/heynote/eval at evaluate (:226:30), <anonymous>:1:35) at UtilityScript.evaluate (/home/runner/work/heynote/heynote/<anonymous>:228:17) at UtilityScript.<anonymous> (/home/runner/work/heynote/heynote/<anonymous>:1:44) at HeynotePage.setContent (/home/runner/work/heynote/heynote/tests/test-utils.js:41:25) at /home/runner/work/heynote/heynote/tests/note-format.spec.js:51:5
[chromium] › note-format.spec.js:50:5 › unknown note metadata keys is kept: http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js#L26
3) [chromium] › note-format.spec.js:50:5 › unknown note metadata keys is kept ──────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.evaluate: TypeError: Invalid Version: 1.0 at new _SemVer (http://localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:200:17) at major (http://localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:527:31) at NoteFormat.load (http://localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js:26:13) at HeynoteEditor.setContent (http://localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/editor.js:140:36) at eval (eval at evaluate (:226:30), <anonymous>:1:35) at UtilityScript.evaluate (<anonymous>:228:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at _SemVer (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:200:17) at major (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:527:31) at NoteFormat.load (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js:26:13) at HeynoteEditor.setContent (/home/runner/work/heynote/heynote/http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/editor.js:140:36) at eval (/home/runner/work/heynote/heynote/eval at evaluate (:226:30), <anonymous>:1:35) at UtilityScript.evaluate (/home/runner/work/heynote/heynote/<anonymous>:228:17) at UtilityScript.<anonymous> (/home/runner/work/heynote/heynote/<anonymous>:1:44) at HeynotePage.setContent (/home/runner/work/heynote/heynote/tests/test-utils.js:41:25) at /home/runner/work/heynote/heynote/tests/note-format.spec.js:51:5
[firefox] › note-format.spec.js:13:5 › test restore cursor position: load@http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js#L26
4) [firefox] › note-format.spec.js:13:5 › test restore cursor position ─────────────────────────── Error: page.evaluate: Invalid Version: 1.0 _SemVer@http://localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:200:17 major@http://localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:527:31 load@http://localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js:26:18 setContent@http://localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/editor.js:140:36 @debugger eval code line 226 > eval:1:35 evaluate@debugger eval code:228:17 @debugger eval code:1:44 at /home/runner/work/heynote/heynote/_SemVer@http:/localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:200:17 at /home/runner/work/heynote/heynote/major@http:/localhost:3000/@fs/home/runner/work/heynote/heynote/node_modules/.vite/deps/semver.js?v=c327c319:527:31 at /home/runner/work/heynote/heynote/load@http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/note-format.js:26:18 at /home/runner/work/heynote/heynote/setContent@http:/localhost:3000/@fs/home/runner/work/heynote/heynote/src/editor/editor.js:140:36 at /home/runner/work/heynote/heynote/@debugger eval code line 226 > eval:1:35 at /home/runner/work/heynote/heynote/evaluate@debugger eval code:228:17 at /home/runner/work/heynote/heynote/@debugger eval code:1:44 at HeynotePage.setContent (/home/runner/work/heynote/heynote/tests/test-utils.js:41:25) at /home/runner/work/heynote/heynote/tests/note-format.spec.js:14:5
🎭 Playwright Run Summary
9 failed [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 ───────────────────── [firefox] › note-format.spec.js:13:5 › test restore cursor position ──────────────────────────── [firefox] › note-format.spec.js:26:5 › test save cursor positions ────────────────────────────── [firefox] › note-format.spec.js:50:5 › unknown note metadata keys is kept ────────────────────── [webkit] › note-format.spec.js:13:5 › test restore cursor position ───────────────────────────── [webkit] › note-format.spec.js:26:5 › test save cursor positions ─────────────────────────────── [webkit] › note-format.spec.js:50:5 › unknown note metadata keys is kept ─────────────────────── 8 skipped 115 passed (3.6m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
4.33 MB