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
ci: expose USER_EMAIL & USER_PASSWORD
thecodrr3cd3eff85f39
diff --git a/apps/web/.github/workflows/e2e.yml b/apps/web/.github/workflows/e2e.ymlindex 19ead705a..77afa9c1a 100644--- a/apps/web/.github/workflows/e2e.yml+++ b/apps/web/.github/workflows/e2e.yml@@ -26,3 +26,6 @@ jobs:- run: yarn playwright install-deps- run: yarn playwright install- run: yarn test+ env:+ USER_EMAIL: ${{ secrets.USER_EMAIL }}+ USER_PASSWORD: ${{ secrets.USER_PASSWORD }}diff --git a/apps/web/__e2e__/user.test.js b/apps/web/__e2e__/user.test.jsindex eaf9a21a6..198aca639 100644--- a/apps/web/__e2e__/user.test.js+++ b/apps/web/__e2e__/user.test.js@@ -22,7 +22,7 @@ const USER = {password: process.env.USER_PASSWORD,};-test("login user", async () => {+async function loginUser() {await page.click(getTestId("navitem-login"));await page.fill(getTestId("email"), USER.email);@@ -34,4 +34,8 @@ test("login user", async () => {await page.waitForNavigation();expect(await isAbsent(getTestId("navitem-login"))).toBe(true);+}++test("login user", async () => {+ await loginUser();});