Bug 1833097 - Fix verifyAddAddressViewTest UI test

fenix/125.0
AndiAJ 3 months ago committed by mergify[bot]
parent 03541525b1
commit 18b52086fd

@ -150,6 +150,10 @@ class SettingsSubMenuAutofillRobot {
} }
fun verifyAddAddressView() { fun verifyAddAddressView() {
Log.i(TAG, "verifyAddAddressView: Trying to perform \"Close soft keyboard\" action")
// Closing the keyboard to ensure full visibility of the "Add address" view
closeSoftKeyboard()
Log.i(TAG, "verifyAddAddressView: Performed \"Close soft keyboard\" action")
assertUIObjectExists( assertUIObjectExists(
addAddressToolbarTitle(), addAddressToolbarTitle(),
navigateBackButton(), navigateBackButton(),
@ -159,7 +163,6 @@ class SettingsSubMenuAutofillRobot {
cityTextInput(), cityTextInput(),
subRegionDropDown(), subRegionDropDown(),
) )
scrollToElementByText(getStringResource(R.string.addresses_country))
assertUIObjectExists( assertUIObjectExists(
zipCodeTextInput(), zipCodeTextInput(),
countryDropDown(), countryDropDown(),

Loading…
Cancel
Save