File tree 3 files changed +2
-8
lines changed
app/src/androidTest/java/org/mozilla/reference/browser/ui
automation/taskcluster/androidTest
3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import org.junit.Rule
11
11
import org.junit.Test
12
12
import org.mozilla.reference.browser.helpers.BrowserActivityTestRule
13
13
import org.mozilla.reference.browser.helpers.RetryTestRule
14
- import org.mozilla.reference.browser.helpers.TestHelper.scrollToElementByText
15
14
import org.mozilla.reference.browser.ui.robots.mDevice
16
15
import org.mozilla.reference.browser.ui.robots.navigationToolbar
17
16
@@ -137,7 +136,6 @@ class SettingsViewTest {
137
136
navigationToolbar {
138
137
}.openThreeDotMenu {
139
138
}.openSettings {
140
- scrollToElementByText(" About Reference Browser" )
141
139
}.openAboutReferenceBrowser {
142
140
verifyAboutBrowser()
143
141
}
@@ -153,7 +151,6 @@ class SettingsViewTest {
153
151
navigationToolbar {
154
152
}.openThreeDotMenu {
155
153
}.openSettings {
156
- scrollToElementByText(" About Reference Browser" )
157
154
verifyCustomAddonCollectionButton()
158
155
clickCustomAddonCollectionButton()
159
156
verifyCustomAddonCollectionPanelExist()
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ import org.junit.Assert.assertTrue
22
22
import org.mozilla.reference.browser.R
23
23
import org.mozilla.reference.browser.helpers.TestAssetHelper
24
24
import org.mozilla.reference.browser.helpers.TestAssetHelper.waitingTime
25
- import org.mozilla.reference.browser.helpers.TestHelper
26
25
import org.mozilla.reference.browser.helpers.TestHelper.assertUIObjectExists
27
26
import org.mozilla.reference.browser.helpers.TestHelper.getStringResource
28
27
import org.mozilla.reference.browser.helpers.TestHelper.itemWithText
@@ -203,10 +202,8 @@ private fun assertRemoteDebugging() = remoteDebuggingToggle()
203
202
.check(matches(ViewMatchers .withEffectiveVisibility(ViewMatchers .Visibility .VISIBLE )))
204
203
private fun assertCustomAddonCollectionButton () = customAddonCollectionButton()
205
204
.check(matches(withEffectiveVisibility(ViewMatchers .Visibility .VISIBLE )))
206
- private fun assertMozillaHeading () {
207
- TestHelper .scrollToElementByText(" About Reference Browser" )
205
+ private fun assertMozillaHeading () =
208
206
mozillaHeading().check(matches(withEffectiveVisibility(ViewMatchers .Visibility .VISIBLE )))
209
- }
210
207
private fun assertAboutReferenceBrowserButton () = aboutReferenceBrowserButton()
211
208
.check(matches(ViewMatchers .withEffectiveVisibility(ViewMatchers .Visibility .VISIBLE )))
212
209
private fun assertCustomAddonCollectionPanel () {
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ gcloud:
23
23
- package org.mozilla.reference.browser.ui
24
24
25
25
device :
26
- - model : Pixel2 .arm
26
+ - model : MediumPhone .arm
27
27
version : 30
28
28
locale : en_US
29
29
You can’t perform that action at this time.
0 commit comments