forked from upstream-mirrors/OpenTracks
Fix an error of SettingTest.
This commit is contained in:
+1
-2
@@ -397,10 +397,9 @@ public class EndToEndTestUtils {
|
||||
if (trackNumber <= 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (isClick) {
|
||||
View oneTrack = SOLO.getCurrentListViews().get(0).getChildAt(0);
|
||||
trackName = (String) ((TextView) oneTrack.findViewById(R.id.list_item_name)).getText();
|
||||
if (isClick) {
|
||||
SOLO.scrollUp();
|
||||
SOLO.clickOnView(oneTrack);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user