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/18986: re-enable changeAccessibiltySettings UI test, not failing anymore
This commit is contained in:
parent
2abb02d374
commit
3646becb54
@ -161,7 +161,6 @@ class SettingsBasicsTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Ignore("Failing, see: https://github.com/mozilla-mobile/fenix/issues/18986")
|
||||
@Test
|
||||
fun changeAccessibiltySettings() {
|
||||
// Goes through the settings and changes the default text on a webpage, then verifies if the text has changed.
|
||||
|
@ -148,15 +148,19 @@ class SettingsRobot {
|
||||
}
|
||||
|
||||
fun openAccessibilitySubMenu(interact: SettingsSubMenuAccessibilityRobot.() -> Unit): SettingsSubMenuAccessibilityRobot.Transition {
|
||||
scrollToElementByText("Accessibility")
|
||||
|
||||
fun accessibilityButton() = onView(withText("Accessibility"))
|
||||
accessibilityButton().click()
|
||||
accessibilityButton()
|
||||
.check(matches(isDisplayed()))
|
||||
.click()
|
||||
|
||||
SettingsSubMenuAccessibilityRobot().interact()
|
||||
return SettingsSubMenuAccessibilityRobot.Transition()
|
||||
}
|
||||
|
||||
fun openLanguageSubMenu(interact: SettingsSubMenuLanguageRobot.() -> Unit): SettingsSubMenuLanguageRobot.Transition {
|
||||
scrollToElementByText("Language")
|
||||
|
||||
fun languageButton() = onView(withText("Language"))
|
||||
languageButton().click()
|
||||
|
Loading…
Reference in New Issue
Block a user