forked from upstream-mirrors/OpenTracks
Change the way to get Accept button to make the test can runs well in Chinese.
This commit is contained in:
+1
-1
@@ -206,7 +206,7 @@ public class EndToEndTestUtils {
|
|||||||
* Accepts terms and configures units.
|
* Accepts terms and configures units.
|
||||||
*/
|
*/
|
||||||
static void verifyFirstLaunch() {
|
static void verifyFirstLaunch() {
|
||||||
SOLO.clickOnText(activityMytracks.getString(R.string.eula_accept));
|
getButtonOnScreen(activityMytracks.getString(R.string.eula_accept), true, true);
|
||||||
if (SOLO.waitForText(activityMytracks.getString(R.string.generic_ok))) {
|
if (SOLO.waitForText(activityMytracks.getString(R.string.generic_ok))) {
|
||||||
// Click for welcome.
|
// Click for welcome.
|
||||||
getButtonOnScreen(activityMytracks.getString(R.string.generic_ok), true, true);
|
getButtonOnScreen(activityMytracks.getString(R.string.generic_ok), true, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user