Skip to content

WIP (remove this commit!): multi notes support #352

WIP (remove this commit!): multi notes support

WIP (remove this commit!): multi notes support #352

Triggered via push July 21, 2024 11:48
Status Failure
Total duration 4m 8s
Artifacts 1

tests.yml

on: push
Run Playwright Tests
3m 58s
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: tests/test-utils.js#L23
1) [chromium] › auto-closing-brackets.spec.js:11:5 › test bracket closing default off ──────────── Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 1 + Received + 8 - Array [] + Array [ + "[Error] [🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"? + See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. + This will fail in production.", + "[Error] [🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"? + See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. + This will fail in production.", + ] at test-utils.js:23 21 | await this.page.goto("/") 22 | await expect(this.page).toHaveTitle(/Heynote/) > 23 | expect(this.getErrors()).toStrictEqual([]) | ^ 24 | } 25 | 26 | async getBlocks() { at HeynotePage.goto (/home/runner/work/heynote/heynote/tests/test-utils.js:23:34) at /home/runner/work/heynote/heynote/tests/auto-closing-brackets.spec.js:8:5
[chromium] › auto-closing-brackets.spec.js:11:5 › test bracket closing default off: tests/test-utils.js#L23
1) [chromium] › auto-closing-brackets.spec.js:11:5 › test bracket closing default off ──────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 1 + Received + 8 - Array [] + Array [ + "[Error] [🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"? + See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. + This will fail in production.", + "[Error] [🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"? + See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. + This will fail in production.", + ] at test-utils.js:23 21 | await this.page.goto("/") 22 | await expect(this.page).toHaveTitle(/Heynote/) > 23 | expect(this.getErrors()).toStrictEqual([]) | ^ 24 | } 25 | 26 | async getBlocks() { at HeynotePage.goto (/home/runner/work/heynote/heynote/tests/test-utils.js:23:34) at /home/runner/work/heynote/heynote/tests/auto-closing-brackets.spec.js:8:5
[chromium] › auto-closing-brackets.spec.js:11:5 › test bracket closing default off: tests/test-utils.js#L23
1) [chromium] › auto-closing-brackets.spec.js:11:5 › test bracket closing default off ──────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 1 + Received + 8 - Array [] + Array [ + "[Error] [🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"? + See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. + This will fail in production.", + "[Error] [🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"? + See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. + This will fail in production.", + ] at test-utils.js:23 21 | await this.page.goto("/") 22 | await expect(this.page).toHaveTitle(/Heynote/) > 23 | expect(this.getErrors()).toStrictEqual([]) | ^ 24 | } 25 | 26 | async getBlocks() { at HeynotePage.goto (/home/runner/work/heynote/heynote/tests/test-utils.js:23:34) at /home/runner/work/heynote/heynote/tests/auto-closing-brackets.spec.js:8:5
[chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing: tests/test-utils.js#L23
2) [chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing ──────────────────────── Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 1 + Received + 8 - Array [] + Array [ + "[Error] [🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"? + See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. + This will fail in production.", + "[Error] [🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"? + See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. + This will fail in production.", + ] at test-utils.js:23 21 | await this.page.goto("/") 22 | await expect(this.page).toHaveTitle(/Heynote/) > 23 | expect(this.getErrors()).toStrictEqual([]) | ^ 24 | } 25 | 26 | async getBlocks() { at HeynotePage.goto (/home/runner/work/heynote/heynote/tests/test-utils.js:23:34) at /home/runner/work/heynote/heynote/tests/auto-closing-brackets.spec.js:8:5
[chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing: tests/test-utils.js#L23
2) [chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing ──────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 1 + Received + 8 - Array [] + Array [ + "[Error] [🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"? + See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. + This will fail in production.", + "[Error] [🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"? + See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. + This will fail in production.", + ] at test-utils.js:23 21 | await this.page.goto("/") 22 | await expect(this.page).toHaveTitle(/Heynote/) > 23 | expect(this.getErrors()).toStrictEqual([]) | ^ 24 | } 25 | 26 | async getBlocks() { at HeynotePage.goto (/home/runner/work/heynote/heynote/tests/test-utils.js:23:34) at /home/runner/work/heynote/heynote/tests/auto-closing-brackets.spec.js:8:5
[chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing: tests/test-utils.js#L23
2) [chromium] › auto-closing-brackets.spec.js:16:5 › test bracket closing ──────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 1 + Received + 8 - Array [] + Array [ + "[Error] [🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"? + See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. + This will fail in production.", + "[Error] [🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"? + See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. + This will fail in production.", + ] at test-utils.js:23 21 | await this.page.goto("/") 22 | await expect(this.page).toHaveTitle(/Heynote/) > 23 | expect(this.getErrors()).toStrictEqual([]) | ^ 24 | } 25 | 26 | async getBlocks() { at HeynotePage.goto (/home/runner/work/heynote/heynote/tests/test-utils.js:23:34) at /home/runner/work/heynote/heynote/tests/auto-closing-brackets.spec.js:8:5
[chromium] › basic-editing.spec.js:11:5 › enter text and create new block: tests/test-utils.js#L23
3) [chromium] › basic-editing.spec.js:11:5 › enter text and create new block ───────────────────── Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 1 + Received + 8 - Array [] + Array [ + "[Error] [🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"? + See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. + This will fail in production.", + "[Error] [🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"? + See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. + This will fail in production.", + ] at test-utils.js:23 21 | await this.page.goto("/") 22 | await expect(this.page).toHaveTitle(/Heynote/) > 23 | expect(this.getErrors()).toStrictEqual([]) | ^ 24 | } 25 | 26 | async getBlocks() { at HeynotePage.goto (/home/runner/work/heynote/heynote/tests/test-utils.js:23:34) at /home/runner/work/heynote/heynote/tests/basic-editing.spec.js:8:5
[chromium] › basic-editing.spec.js:11:5 › enter text and create new block: tests/test-utils.js#L23
3) [chromium] › basic-editing.spec.js:11:5 › enter text and create new block ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 1 + Received + 8 - Array [] + Array [ + "[Error] [🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"? + See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. + This will fail in production.", + "[Error] [🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"? + See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. + This will fail in production.", + ] at test-utils.js:23 21 | await this.page.goto("/") 22 | await expect(this.page).toHaveTitle(/Heynote/) > 23 | expect(this.getErrors()).toStrictEqual([]) | ^ 24 | } 25 | 26 | async getBlocks() { at HeynotePage.goto (/home/runner/work/heynote/heynote/tests/test-utils.js:23:34) at /home/runner/work/heynote/heynote/tests/basic-editing.spec.js:8:5
[chromium] › basic-editing.spec.js:11:5 › enter text and create new block: tests/test-utils.js#L23
3) [chromium] › basic-editing.spec.js:11:5 › enter text and create new block ───────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 1 + Received + 8 - Array [] + Array [ + "[Error] [🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"? + See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. + This will fail in production.", + "[Error] [🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"? + See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. + This will fail in production.", + ] at test-utils.js:23 21 | await this.page.goto("/") 22 | await expect(this.page).toHaveTitle(/Heynote/) > 23 | expect(this.getErrors()).toStrictEqual([]) | ^ 24 | } 25 | 26 | async getBlocks() { at HeynotePage.goto (/home/runner/work/heynote/heynote/tests/test-utils.js:23:34) at /home/runner/work/heynote/heynote/tests/basic-editing.spec.js:8:5
[chromium] › basic-editing.spec.js:25:5 › backspace: tests/test-utils.js#L23
4) [chromium] › basic-editing.spec.js:25:5 › backspace ─────────────────────────────────────────── Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 1 + Received + 8 - Array [] + Array [ + "[Error] [🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"? + See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. + This will fail in production.", + "[Error] [🍍]: \"getActivePinia()\" was called but there was no active Pinia. Are you trying to use a store before calling \"app.use(pinia)\"? + See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. + This will fail in production.", + ] at test-utils.js:23 21 | await this.page.goto("/") 22 | await expect(this.page).toHaveTitle(/Heynote/) > 23 | expect(this.getErrors()).toStrictEqual([]) | ^ 24 | } 25 | 26 | async getBlocks() { at HeynotePage.goto (/home/runner/work/heynote/heynote/tests/test-utils.js:23:34) at /home/runner/work/heynote/heynote/tests/basic-editing.spec.js:8:5
🎭 Playwright Run Summary
43 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 › tes

Artifacts

Produced during runtime
Name Size
playwright-report Expired
1.75 MB