From a5838694bd7debecc1d66ce8f8e4492350ea289f Mon Sep 17 00:00:00 2001 From: LW Date: Tue, 16 May 2023 10:48:54 -0700 Subject: 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. --- __e2e__/util.ts | 1 + 1 file changed, 1 insertion(+) (limited to '__e2e__') 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') -- cgit 1.4.1