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
e2e tests: search
ammarahm-ed12bc188bebb3
diff --git a/apps/mobile/e2e/tests/search.e2e.js b/apps/mobile/e2e/tests/search.e2e.jsnew file mode 100644index 000000000..ba7e0ce6b--- /dev/null+++ b/apps/mobile/e2e/tests/search.e2e.js@@ -0,0 +1,26 @@+const { notesnook } = require('../test.ids');+const {+ navigate,+ tapById,+ visibleByText,+ createNote,+ prepare,+ visibleById,+ notVisibleById,+ elementById,+ tapByText,+ notVisibleByText+} = require('./utils');+const { sleep } = require('./utils');++describe('Search', () => {+ it('Search for a note', async () => {+ await prepare();+ let note = await createNote();+ await tapById('icon-search');+ await sleep(300);+ await elementById('search-input').typeText('n');+ await sleep(1000);+ await visibleByText(note.body);+ });+});