Skip to content

Refactor editior instance creation and settings management #462

Refactor editior instance creation and settings management

Refactor editior instance creation and settings management #462

Triggered via pull request January 7, 2025 15:59
Status Failure
Total duration 1m 43s
Artifacts 1

tests.yml

on: pull_request
Run Playwright Tests
1m 31s
Run Playwright Tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
Run Playwright Tests
ReferenceError: Worker is not defined at ../src/editor/language-detection/autodetect.js:30 28 | // we'll use a shared global web worker for the language detection, for multiple Editor instances 29 | const editorInstances = {} > 30 | const detectionWorker = new Worker('langdetect-worker.js?worker'); | ^ 31 | detectionWorker.onmessage = (event) => { 32 | //console.log("event:", event.data) 33 | if (!event.data.guesslang.language) { at Object.<anonymous> (/home/runner/work/heynote/heynote/src/editor/language-detection/autodetect.js:30:25) at Object.<anonymous> (/home/runner/work/heynote/heynote/src/editor/editor.js:21:1) at Object.<anonymous> (/home/runner/work/heynote/heynote/src/stores/editor-cache.js:7:1) at Object.<anonymous> (/home/runner/work/heynote/heynote/src/stores/heynote-store.js:4:1) at Object.<anonymous> (/home/runner/work/heynote/heynote/src/editor/block/block.js:7:1) at Object.<anonymous> (/home/runner/work/heynote/heynote/tests/block-parsing.spec.js:5:1)
Run Playwright Tests
Process completed with exit code 1.
Run Playwright Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
playwright-report
169 KB