Fix UI test

This commit is contained in:
Martin Fietz 2015-04-19 17:31:52 +02:00
parent 25f5c1e360
commit a33a5cd5fa

View File

@ -144,7 +144,7 @@ public class MainActivityTest extends ActivityInstrumentationTestCase2<MainActiv
public void testGoToPreferences() {
openNavDrawer();
solo.clickOnMenuItem(solo.getString(R.string.settings_label));
solo.clickOnText(solo.getString(R.string.settings_label));
solo.waitForActivity(PreferenceController.getPreferenceActivity());
}