-
Notifications
You must be signed in to change notification settings - Fork 499
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 #3422: Separate MarkTopicsCompletedActivityTest into activity and fragment test files #3471
Fix #3422: Separate MarkTopicsCompletedActivityTest into activity and fragment test files #3471
Conversation
…y and fragment test files
Hi! @yashraj-01 Welcome to Oppia! Could you please follow the instructions here and sign the CLA Sheet to get started? You'll need to do this before we can accept your PR. 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.
Nice idea to ensure test coverage. Had a few comments--PTAL.
app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkTopicsCompletedFragmentTest.kt
Outdated
Show resolved
Hide resolved
app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkTopicsCompletedActivityTest.kt
Outdated
Show resolved
Hide resolved
Please add screenshot showing that Espresso Tests are passing for the files modified in this PR. Also once @BenHenning 's comments are resolved and fixed just ping me so that I can check it accordingly. |
1 similar comment
Please add screenshot showing that Espresso Tests are passing for the files modified in this PR. Also once @BenHenning 's comments are resolved and fixed just ping me so that I can check it accordingly. |
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.
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 @yashraj-01! Left some more thoughts, but this in general looks good.
.../oppia/android/app/devoptions/marktopicscompleted/testing/MarkTopicsCompletedTestActivity.kt
Outdated
Show resolved
Hide resolved
.../oppia/android/app/devoptions/marktopicscompleted/testing/MarkTopicsCompletedTestActivity.kt
Show resolved
Hide resolved
app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkTopicsCompletedActivityTest.kt
Outdated
Show resolved
Hide resolved
@BenHenning Bazel build is successful locally but it is failing here. Is this an issue with the code or the workflow? |
Hmm I'm not sure @yashraj-01. It might be a weird transient error or potentially a flake, but I've never seen the dex step fail specifically in CI before. I'm restarting the workflow to see if that helps. In the meantime, I responded to the open comment thread above. PTAL & reassign to me once that thread is addressed & the latest CI flow has finished. |
Actually, this issue is also faced by @Arjupta and @FareesHussain. So, I think there might be some issue with the CI. |
Unassigning @yashraj-01 since a re-review was requested. @yashraj-01, please make sure you have addressed all review comments. Thanks! |
@BenHenning I have addressed the comment. Also, the CI check is still failing with the same dex error. |
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 @yashraj-01. LGTM since the CI failure should be fixed with #3513.
Merged with latest develop. Also, assigning @Sarthak2601 for review as the mentor. |
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.
Explanation
Fixes #3422. Separated MarkTopicsCompletedActivityTest into activity and fragment test files.
Screenshots
Expresso test results for
MarkTopicsCompletedActivityTest
Expresso test results for
MarkTopicsCompletedFrgmentTest
Checklist