Change the way to get Accept button to make the test can runs well in Chinese.

This commit is contained in:
youtaol
2012-06-28 11:23:52 +08:00
parent 7f14b26873
commit 682bd49e7e
@@ -206,7 +206,7 @@ public class EndToEndTestUtils {
* Accepts terms and configures units.
*/
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))) {
// Click for welcome.
getButtonOnScreen(activityMytracks.getString(R.string.generic_ok), true, true);