mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/24490 - Remove index selectors in UI tests.
This commit is contained in:
parent
ab376797d2
commit
7320080c11
@ -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