Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

test: update snapshots

thecodrr8b0f1a09e37d
diff --git a/apps/web/__e2e__/editor.test.js-snapshots/dark-focus-mode-Chromium-linux.jpg b/apps/web/__e2e__/editor.test.js-snapshots/dark-focus-mode-Chromium-linux.jpg
index 38d1153c4..c0d156c4b 100644
Binary files a/apps/web/__e2e__/editor.test.js-snapshots/dark-focus-mode-Chromium-linux.jpg and b/apps/web/__e2e__/editor.test.js-snapshots/dark-focus-mode-Chromium-linux.jpg differ
diff --git a/apps/web/__e2e__/editor.test.js-snapshots/dark-focus-mode-Firefox-linux.jpg b/apps/web/__e2e__/editor.test.js-snapshots/dark-focus-mode-Firefox-linux.jpg
index 470867fa8..ce6f5b816 100644
Binary files a/apps/web/__e2e__/editor.test.js-snapshots/dark-focus-mode-Firefox-linux.jpg and b/apps/web/__e2e__/editor.test.js-snapshots/dark-focus-mode-Firefox-linux.jpg differ
diff --git a/apps/web/__e2e__/editor.test.js-snapshots/dark-focus-mode-WebKit-linux.jpg b/apps/web/__e2e__/editor.test.js-snapshots/dark-focus-mode-WebKit-linux.jpg
index 05f1a73d2..de1adc54b 100644
Binary files a/apps/web/__e2e__/editor.test.js-snapshots/dark-focus-mode-WebKit-linux.jpg and b/apps/web/__e2e__/editor.test.js-snapshots/dark-focus-mode-WebKit-linux.jpg differ
diff --git a/apps/web/__e2e__/editor.test.js-snapshots/focus-mode-Chromium-linux.jpg b/apps/web/__e2e__/editor.test.js-snapshots/focus-mode-Chromium-linux.jpg
index b30187f11..1946c828b 100644
Binary files a/apps/web/__e2e__/editor.test.js-snapshots/focus-mode-Chromium-linux.jpg and b/apps/web/__e2e__/editor.test.js-snapshots/focus-mode-Chromium-linux.jpg differ
diff --git a/apps/web/__e2e__/editor.test.js-snapshots/focus-mode-Firefox-linux.jpg b/apps/web/__e2e__/editor.test.js-snapshots/focus-mode-Firefox-linux.jpg
index 4b2006bd6..11f9e5ee7 100644
Binary files a/apps/web/__e2e__/editor.test.js-snapshots/focus-mode-Firefox-linux.jpg and b/apps/web/__e2e__/editor.test.js-snapshots/focus-mode-Firefox-linux.jpg differ
diff --git a/apps/web/__e2e__/editor.test.js-snapshots/focus-mode-WebKit-linux.jpg b/apps/web/__e2e__/editor.test.js-snapshots/focus-mode-WebKit-linux.jpg
index 95173bb1c..0d8ac9efd 100644
Binary files a/apps/web/__e2e__/editor.test.js-snapshots/focus-mode-WebKit-linux.jpg and b/apps/web/__e2e__/editor.test.js-snapshots/focus-mode-WebKit-linux.jpg differ
diff --git a/apps/web/__e2e__/editor.test.js-snapshots/light-focus-mode-Chromium-linux.jpg b/apps/web/__e2e__/editor.test.js-snapshots/light-focus-mode-Chromium-linux.jpg
index 3a119f280..ca1cc7b24 100644
Binary files a/apps/web/__e2e__/editor.test.js-snapshots/light-focus-mode-Chromium-linux.jpg and b/apps/web/__e2e__/editor.test.js-snapshots/light-focus-mode-Chromium-linux.jpg differ
diff --git a/apps/web/__e2e__/editor.test.js-snapshots/light-focus-mode-Firefox-linux.jpg b/apps/web/__e2e__/editor.test.js-snapshots/light-focus-mode-Firefox-linux.jpg
index 8aa83d280..c40b11ca4 100644
Binary files a/apps/web/__e2e__/editor.test.js-snapshots/light-focus-mode-Firefox-linux.jpg and b/apps/web/__e2e__/editor.test.js-snapshots/light-focus-mode-Firefox-linux.jpg differ
diff --git a/apps/web/__e2e__/editor.test.js-snapshots/light-focus-mode-WebKit-linux.jpg b/apps/web/__e2e__/editor.test.js-snapshots/light-focus-mode-WebKit-linux.jpg
index 085054260..4930d36f3 100644
Binary files a/apps/web/__e2e__/editor.test.js-snapshots/light-focus-mode-WebKit-linux.jpg and b/apps/web/__e2e__/editor.test.js-snapshots/light-focus-mode-WebKit-linux.jpg differ
diff --git a/apps/web/__e2e__/editor.test.js-snapshots/normal-mode-from-focus-mode-Chromium-linux.jpg b/apps/web/__e2e__/editor.test.js-snapshots/normal-mode-from-focus-mode-Chromium-linux.jpg
index 635cbca7c..5921c6bf0 100644
Binary files a/apps/web/__e2e__/editor.test.js-snapshots/normal-mode-from-focus-mode-Chromium-linux.jpg and b/apps/web/__e2e__/editor.test.js-snapshots/normal-mode-from-focus-mode-Chromium-linux.jpg differ
diff --git a/apps/web/__e2e__/editor.test.js-snapshots/normal-mode-from-focus-mode-Firefox-linux.jpg b/apps/web/__e2e__/editor.test.js-snapshots/normal-mode-from-focus-mode-Firefox-linux.jpg
index dfff488ad..0406ba5a0 100644
Binary files a/apps/web/__e2e__/editor.test.js-snapshots/normal-mode-from-focus-mode-Firefox-linux.jpg and b/apps/web/__e2e__/editor.test.js-snapshots/normal-mode-from-focus-mode-Firefox-linux.jpg differ
diff --git a/apps/web/__e2e__/editor.test.js-snapshots/normal-mode-from-focus-mode-WebKit-linux.jpg b/apps/web/__e2e__/editor.test.js-snapshots/normal-mode-from-focus-mode-WebKit-linux.jpg
index 385780b3e..89a167e3e 100644
Binary files a/apps/web/__e2e__/editor.test.js-snapshots/normal-mode-from-focus-mode-WebKit-linux.jpg and b/apps/web/__e2e__/editor.test.js-snapshots/normal-mode-from-focus-mode-WebKit-linux.jpg differ
diff --git a/apps/web/__e2e__/notes.test.js b/apps/web/__e2e__/notes.test.js
index 5276d692a..39751107b 100644
--- a/apps/web/__e2e__/notes.test.js
+++ b/apps/web/__e2e__/notes.test.js
@@ -450,7 +450,7 @@ test.describe("run tests independently", () => {
test(`export note as md`, async () => await exportNote("md"));
test(`export note as html`, async () => await exportNote("html"));
- test("unlock a note for editing", async () => {
+ test.only("unlock a note for editing", async () => {
const content = "Edits 1 2 3 ";
const noteSelector = await createNoteAndCheckPresence();
diff --git a/apps/web/__e2e__/notes.test.js-snapshots/export-html-Firefox-linux.txt b/apps/web/__e2e__/notes.test.js-snapshots/export-html-Firefox-linux.txt
index 1b8c68481..28038ffa7 100644
--- a/apps/web/__e2e__/notes.test.js-snapshots/export-html-Firefox-linux.txt
+++ b/apps/web/__e2e__/notes.test.js-snapshots/export-html-Firefox-linux.txt
@@ -11,7 +11,7 @@
</head>
<body>
<h1>Test 1</h1>
- <p>This is Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1</p>
+ <p>This is Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1<br></p>
<br/>
Created on: <b>xxx</b><br/>
Edited on: <b>xxx</b>
diff --git a/apps/web/package.json b/apps/web/package.json
index 9650832bb..232752370 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -92,7 +92,7 @@
"build:desktop": "env-cmd -e all,desktop react-scripts build",
"deploy": "./scripts/deploy.sh",
"debug": "env-cmd -e all,dev,web,silent react-scripts start",
- "test": "npm exec playwright test",
+ "test": "playwright test",
"test:debug": "env-cmd -e dev,debug,silent jest -c jest.e2e.config.js",
"eject": "react-scripts eject",
"update": "npm i @streetwriters/editor@latest @streetwriters/notesnook-core@latest @streetwriters/theme@latest",