Skip to content

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

mobile: fix failing tests

ammarahm-ed8f32dbd4dfec
diff --git a/apps/mobile/e2e/tests/tag.e2e.js b/apps/mobile/e2e/tests/tag.e2e.js
index 0d4a9de8a..111321751 100644
--- a/apps/mobile/e2e/tests/tag.e2e.js
+++ b/apps/mobile/e2e/tests/tag.e2e.js
@@ -62,7 +62,7 @@ describe("Tags", () => {
await notVisibleByText("#testtag");
});
- it("Creat shortcut of a tag", async () => {
+ it.only("Creat shortcut of a tag", async () => {
await prepare();
await createNote();
await tapById(notesnook.listitem.menu);
@@ -73,7 +73,9 @@ describe("Tags", () => {
await device.pressBack();
await device.pressBack();
await navigate("Tags");
+ await sleep(500);
await tapById(notesnook.ids.tag.menu);
+ await sleep(500);
await tapByText("Add Shortcut");
let menu = elementById(notesnook.ids.default.header.buttons.left);
await menu.tap();