testPauseForInterruptions was failing, looking for the Auto Delete string.

It should have been looking for the pause playback string.
This commit is contained in:
Tom Hennen 2015-06-21 15:05:49 -04:00
parent 7727caf9f4
commit 50e8d25c66
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ public class PreferencesTest extends ActivityInstrumentationTestCase2<Preference
return pauseForFocusLoss != UserPreferences.shouldPauseForFocusLoss();
}
}, Timeout.getLargeTimeout());
solo.clickOnText(solo.getString(R.string.pref_auto_delete_title));
solo.clickOnText(solo.getString(R.string.pref_pausePlaybackForFocusLoss_title));
solo.waitForCondition(new Condition() {
@Override
public boolean isSatisfied() {