about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLW <git@llllvvuu.dev>2023-05-16 10:48:54 -0700
committerGitHub <noreply@github.com>2023-05-16 12:48:54 -0500
commita5838694bd7debecc1d66ce8f8e4492350ea289f (patch)
tree21b81acb020a00653f3bb35a61814feb3256fc02
parent924e18e644960627a09ec921fed4348a7d424b79 (diff)
downloadvoidsky-a5838694bd7debecc1d66ce8f8e4492350ea289f.tar.zst
test: `detox` needs `tapReturnKey` after `typeText` (#663)
Without this, all `yarn e2e:run` tests get hung on the "input custom
service" step when logging in.

Only used one machine to repro, so an additional repro could be useful.
-rw-r--r--__e2e__/util.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/__e2e__/util.ts b/__e2e__/util.ts
index 78d9f9f5d..d53c72dfe 100644
--- a/__e2e__/util.ts
+++ b/__e2e__/util.ts
@@ -42,6 +42,7 @@ export async function login(
     await device.takeScreenshot('2- opened service selector')
   }
   await element(by.id('customServerTextInput')).typeText(service)
+  await element(by.id('customServerTextInput')).tapReturnKey()
   await element(by.id('customServerSelectBtn')).tap()
   if (takeScreenshots) {
     await device.takeScreenshot('3- input custom service')