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.
This commit is contained in:
parent
924e18e644
commit
a5838694bd
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue