-
Notifications
You must be signed in to change notification settings - Fork 535
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 #2057: Remove unnecessary RunOn from QuestionPlayerActivityTest #2189
Fix part of #2057: Remove unnecessary RunOn from QuestionPlayerActivityTest #2189
Conversation
@anandwana001 Assigning @BenHenning to this PR considering that though it works correctly but in that case why was it introduced in the first place. |
We can't remove the checks in this case. The tests are incorrectly passing. The tick will always be visible because the text will never cause it to trigger the original bug. I have a branch sitting somewhere where I was starting to fix the underlying issue & I introduced new tests that explicitly fail without the fix in place which is a bit better than false positives. Nevertheless, could you please update the documentation in the tests to indicate that these incorrectly pass on Robolectric and shouldn't be re-enabled until the underlying issue is fixed @anandwana001? |
As per the docs in
But, this file, |
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.
Thanks for clarifying the code & fixing the missing rule! @anandwana001 you're right that this was wrong before--the rule was missing. Good catch.
...src/sharedTest/java/org/oppia/android/app/topic/questionplayer/QuestionPlayerActivityTest.kt
Outdated
Show resolved
Hide resolved
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.
Thanks!
Explanation
Fix part of #2057
Remove unnecessary RunOn from QuestionPlayerActivityTest
Checklist