mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-05 00:55:08 -05:00
log ChangeLog click failure
This commit is contained in:
parent
a15583a080
commit
055d4104b7
@ -1,8 +1,10 @@
|
||||
package com.fsck.k9.endtoend.pages;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.R;
|
||||
import android.support.test.espresso.NoMatchingViewException;
|
||||
import android.support.test.espresso.matcher.ViewMatchers;
|
||||
import android.util.Log;
|
||||
|
||||
import static android.support.test.espresso.Espresso.onView;
|
||||
import static android.support.test.espresso.action.ViewActions.clearText;
|
||||
@ -41,6 +43,7 @@ public class AccountSetupNamesPage extends AbstractPage {
|
||||
try {
|
||||
onView(ViewMatchers.withText("OK")).perform(click());
|
||||
} catch (NoMatchingViewException ex) {
|
||||
Log.w(K9.LOG_TAG, "did not find Changelog OK button - ignored");
|
||||
// Ignored. Not the best way of doing this, but Espresso rightly makes
|
||||
// conditional flow difficult.
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user