Make the testShareActivity runs more stable.

This commit is contained in:
youtaol
2012-09-18 09:48:36 +08:00
parent 785bb71d4f
commit 207cc60911
@@ -106,7 +106,7 @@ public class MenuItemsTest extends ActivityInstrumentationTestCase2<TrackListAct
break;
}
EndToEndTestUtils.SOLO.clickOnView(oneItemView);
EndToEndTestUtils.getButtonOnScreen(activityMyTracks.getString(R.string.generic_ok), false,
EndToEndTestUtils.getButtonOnScreen(activityMyTracks.getString(R.string.generic_ok), true,
true);
if(!GoogleUtils.checkAccountStatusDialog()) {
break;