A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
edits
thecodrr437f71a1a515
diff --git a/apps/web/.env-cmdrc.js b/apps/web/.env-cmdrc.jsindex 76d89440b..6e4ee104e 100644--- a/apps/web/.env-cmdrc.js+++ b/apps/web/.env-cmdrc.js@@ -12,7 +12,7 @@ module.exports = {REACT_APP_PLATFORM: "web",},debug: {- // PWDEBUG: 1,+ PWDEBUG: 1,DEBUG: "pw:api",},silent: {diff --git a/apps/web/.github/workflows/e2e.yml b/apps/web/.github/workflows/e2e.ymlindex 6d4fe65d7..5a2babbfa 100644--- a/apps/web/.github/workflows/e2e.yml+++ b/apps/web/.github/workflows/e2e.yml@@ -21,4 +21,4 @@ jobs:- run: yarn- uses: microsoft/playwright-github-action@v1- name: Running tests- run: yarn test:debug+ run: yarn testdiff --git a/apps/web/__e2e__/notes.test.js b/apps/web/__e2e__/notes.test.jsindex d9a74a567..a2c01f3a9 100644--- a/apps/web/__e2e__/notes.test.js+++ b/apps/web/__e2e__/notes.test.js@@ -188,8 +188,7 @@ describe.each(["independent", "sequential"])("run tests %sly", (type) => {// we only close and open new page when running tests independently// otherwise we simply navigate to home.if (type === "independent") {- await page.close();- page = await browser.newPage();+ if (page.isClosed()) page = await browser.newPage();await page.goto("http://localhost:3000/");} else {// only navigate to Home if we are not at home@@ -199,8 +198,9 @@ describe.each(["independent", "sequential"])("run tests %sly", (type) => {}, 600000);// we have to reset the createNoteAndCheckPresence after every test- afterEach(() => {+ afterEach(async () => {if (type === "independent") {+ await page.close();createNoteAndCheckPresence = staticCreateNoteAndCheckPresence;} else {createNoteAndCheckPresence = async function () {