Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gaba
fenix
Commits
b9391c14
Commit
b9391c14
authored
Aug 05, 2020
by
Aaron Train
Committed by
Oana Horvath
Aug 06, 2020
Browse files
For #13218: Fix settingsAddonsItemsTest
parent
37b166d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/src/androidTest/java/org/mozilla/fenix/ui/SettingsAddonsTest.kt
View file @
b9391c14
...
...
@@ -44,7 +44,6 @@ class SettingsAddonsTest {
}
// Walks through settings add-ons menu to ensure all items are present
@Ignore
(
"Failing, see: https://github.com/mozilla-mobile/fenix/issues/13218"
)
@Test
fun
settingsAddonsItemsTest
()
{
homeScreen
{
...
...
app/src/androidTest/java/org/mozilla/fenix/ui/robots/ThreeDotMenuMainRobot.kt
View file @
b9391c14
...
...
@@ -31,6 +31,7 @@ import androidx.test.espresso.matcher.ViewMatchers.withText
import
androidx.test.platform.app.InstrumentationRegistry
import
androidx.test.uiautomator.By
import
androidx.test.uiautomator.UiDevice
import
androidx.test.uiautomator.UiSelector
import
androidx.test.uiautomator.Until
import
org.hamcrest.Matcher
import
org.hamcrest.Matchers.allOf
...
...
@@ -350,10 +351,9 @@ class ThreeDotMenuMainRobot {
fun
openAddonsManagerMenu
(
interact
:
SettingsSubMenuAddonsManagerRobot
.()
->
Unit
):
SettingsSubMenuAddonsManagerRobot
.
Transition
{
clickAddonsManagerButton
()
mDevice
.
waitNotNull
(
Until
.
findObject
(
By
.
text
(
"Recommended"
)),
waitingTime
)
mDevice
.
findObject
(
UiSelector
().
text
(
"Recommended"
)
).
waitForExists
(
waitingTime
)
SettingsSubMenuAddonsManagerRobot
().
interact
()
return
SettingsSubMenuAddonsManagerRobot
.
Transition
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment