forked from upstream-mirrors/OpenTracks
Fix an error of endtoend test.
This commit is contained in:
+1
@@ -961,6 +961,7 @@ public class EndToEndTestUtils {
|
||||
findMenuItem(activityMytracks.getString(R.string.menu_insert_marker), true);
|
||||
enterTextAvoidSoftKeyBoard(0, WAYPOINT_NAME);
|
||||
SOLO.clickOnButton(activityMytracks.getString(R.string.generic_add));
|
||||
instrumentation.waitForIdleSync();
|
||||
if (hasGpsSingal) {
|
||||
Assert.assertTrue(SOLO.waitForText(WAYPOINT_NAME, 1, LONG_WAIT_TIME, true));
|
||||
} else {
|
||||
|
||||
+1
@@ -54,6 +54,7 @@ public class StressTest extends ActivityInstrumentationTestCase2<TrackListActivi
|
||||
instrumentation = getInstrumentation();
|
||||
trackListActivity = getActivity();
|
||||
EndToEndTestUtils.setupForAllTest(instrumentation, trackListActivity);
|
||||
BigTestUtils.unlockAndWakeupDevice();
|
||||
startTime = System.currentTimeMillis();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user