mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-02 03:40:16 +00:00
For #24490 - Remove index selectors in UI tests.
This commit is contained in:
parent
fab6b8d1d8
commit
f9369a5535
@ -889,7 +889,6 @@ private val getLocationButton = mDevice.findObject(UiSelector().text("Get Locati
|
||||
val userNameTextBox =
|
||||
mDevice.findObject(
|
||||
UiSelector()
|
||||
.index(0)
|
||||
.resourceId("username")
|
||||
.className("android.widget.EditText")
|
||||
.packageName("$packageName")
|
||||
@ -898,7 +897,6 @@ val userNameTextBox =
|
||||
private val submitLoginButton =
|
||||
mDevice.findObject(
|
||||
UiSelector()
|
||||
.index(2)
|
||||
.resourceId("submit")
|
||||
.textContains("Submit Query")
|
||||
.className("android.widget.Button")
|
||||
@ -908,7 +906,6 @@ private val submitLoginButton =
|
||||
val passwordTextBox =
|
||||
mDevice.findObject(
|
||||
UiSelector()
|
||||
.index(1)
|
||||
.resourceId("password")
|
||||
.className("android.widget.EditText")
|
||||
.packageName("$packageName")
|
||||
|
@ -178,7 +178,6 @@ private val progressBar =
|
||||
private val submitLoginButton =
|
||||
mDevice.findObject(
|
||||
UiSelector()
|
||||
.index(2)
|
||||
.resourceId("submit")
|
||||
.textContains("Submit Query")
|
||||
.className("android.widget.Button")
|
||||
|
Loading…
Reference in New Issue
Block a user