-
Notifications
You must be signed in to change notification settings - Fork 554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix part of #973 : Fix app module tests for Roboelectric in PinPasswordActivityTest #1854
Fix part of #973 : Fix app module tests for Roboelectric in PinPasswordActivityTest #1854
Conversation
override fun perform(uiController: UiController?, view: View?) { | ||
// Appending text only works on Robolectric, whereas Espresso needs to use typeText(). | ||
if (Build.FINGERPRINT.contains("robolectric", ignoreCase = true)) { | ||
(view as? EditText)?.append(text) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this indentation looks incorrect to me?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, I guess. I had already done the reformat thing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…asswordActivityTest (oppia#1854) * fix PinPasswordActivityTest for robolectric * added todo
…asswordActivityTest (oppia#1854) * fix PinPasswordActivityTest for robolectric * added todo
Explanation
Fix part of #973
Fix for PinPasswordActivityTest
Espresso
Robolectric
Checklist