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.zio/stable
parent
924e18e644
commit
a5838694bd
|
@ -42,6 +42,7 @@ export async function login(
|
||||||
await device.takeScreenshot('2- opened service selector')
|
await device.takeScreenshot('2- opened service selector')
|
||||||
}
|
}
|
||||||
await element(by.id('customServerTextInput')).typeText(service)
|
await element(by.id('customServerTextInput')).typeText(service)
|
||||||
|
await element(by.id('customServerTextInput')).tapReturnKey()
|
||||||
await element(by.id('customServerSelectBtn')).tap()
|
await element(by.id('customServerSelectBtn')).tap()
|
||||||
if (takeScreenshots) {
|
if (takeScreenshots) {
|
||||||
await device.takeScreenshot('3- input custom service')
|
await device.takeScreenshot('3- input custom service')
|
||||||
|
|
Loading…
Reference in New Issue