-
Notifications
You must be signed in to change notification settings - Fork 528
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 #3363 AddProfileActivityTest some test didn't pass. #5229
Conversation
…tchIsOn() as discussed , fix enable download access logic ,improve testAddProfileActivity_configChange_inputShortPin_create_pinLengthError() but still flaky
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 @XichengSpencer.
I have left a comment in-line.
Also, could you please update the PR description(the title too) as previously discussed?
app/src/main/java/org/oppia/android/app/profile/AddProfileActivityPresenter.kt
Outdated
Show resolved
Hide resolved
Hi @XichengSpencer, I'm going to mark this PR as stale because it hasn't had any updates for 7 days. If no further activity occurs within 7 days, it will be automatically closed so that others can take up the issue. |
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 @XichengSpencer, This LGTM!
Hi @XichengSpencer, this PR is ready to be merged. Please address any remaining comments prior to merging, and feel free to ask someone to merge your PR once the CI checks pass and you're happy with it. Thanks! |
Explanation
Fix part of #3363
Remove testAddProfileActivity_inputPin_configChange_downloadAccessSwitchIsOn() as discussed with Ben and Adhiambo.
Negate download access logic in AddProfileActivityPresenter so it will correctly set the listener.
Improve testAddProfileActivity_configChange_inputShortPin_create_pinLengthError() by adding the swipeup() action to make the create button fully visible during the test but the test is still flaky
Essential Checklist
For UI-specific PRs only
If your PR includes UI-related changes, then: