-
Notifications
You must be signed in to change notification settings - Fork 548
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 #1845: Replace Language code with icon in AudioBar [Blocked on #1872] #1862
Conversation
@MaskedCarrot there's no need to create a new PR everytime you could've tried to fix previous one and in that process you would learn something as well |
I will try to that from the next time :-) |
app/src/sharedTest/java/org/oppia/app/player/audio/AudioFragmentTest.kt
Outdated
Show resolved
Hide resolved
@MaskedCarrot Congratulations on your first successful Pull Request 🎉 I would like to add few comments which will help you in more successful and smooth contributions in Oppia-andorid.
These changes you can follow from the next PR. No need to update branch name for this PR. |
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 @MaskedCarrot
Added a few changes, please let me know if you need any help in this, we can chat over gitter channel.
app/src/sharedTest/java/org/oppia/app/player/audio/AudioFragmentTest.kt
Outdated
Show resolved
Hide resolved
app/src/sharedTest/java/org/oppia/app/player/audio/AudioFragmentTest.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.
PR LGTM, Thanks @MaskedCarrot
Before the merge, could you please comment on my earlier review regarding test.
So, I could resolve 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, Thanks @MaskedCarrot
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.
Looks good, just suggested few changes.
Thanks for the PR @MaskedCarrot
@MaskedCarrot Before we review, could you please resolve the conflicts and correct the failing checks. |
The test in ExplorationActivityTest.kt at |
It's the ignore line, could you please run test on your local machine and paste the error here from the logcat? |
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 @MaskedCarrot Added few comments.
Also, Why we need to update ExplorationTest here?
app/src/sharedTest/java/org/oppia/app/player/exploration/ExplorationActivityTest.kt
Outdated
Show resolved
Hide resolved
app/src/sharedTest/java/org/oppia/app/player/exploration/ExplorationActivityTest.kt
Outdated
Show resolved
Hide resolved
app/src/sharedTest/java/org/oppia/app/player/exploration/ExplorationActivityTest.kt
Outdated
Show resolved
Hide resolved
@MaskedCarrot You need to update the branch with |
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.
Please update your branch with the latest develop
branch.
Also, as per test cases in ExplorationActivityTest
, could you please add a screenshot which shows that your test cases are passing on both espresso and robolectric?
This PR is blocked on #1872 Thanks @MaskedCarrot |
the test getting ignored are the ones with reason "The ExplorationActivity takes time to finish, needs to fixed in #89." which are not related with language icon |
@MaskedCarrot To make this pr full pass |
Could you please add both screenshot showing that your test cases are passing on espresso and robolectric before I review? |
I am facing a problem with that. although the test passes on GitHub. On my local machine, the test on |
Yes, that is the issue I am mentioning earlier and why I want this PR to be blocked till that issue gets fixed #1872 . I suggest by the time feel free to pick other issues. |
can I take up a different issue then? |
Yes you can, comment on any issue you want to work and i will assign you. |
I am able to run test cases on Robolectric as I fixed it, but didn't send the PR as it is not working on Espresso as per the #59 so @rt4914 Could you suggest what should we do in this case? |
@anandwana001 Does this mean that you have fixed the tests (but it is not on develop) and once you merge those tests to develop, after which this PR can be updated and will be ready to merge directly? |
I can send a PR but it will not work on espresso as it is blocked on #59. I had to confirm with ben once. Though, I am trying to fix it by then. |
Okay, makes sense. Can you file an issues related to fixing the test cases and it is blocked on 59 and mention it here so that we can close this PR. How does this sound? |
@MaskedCarrot I am not sure what should be the next step here? You have closed this PR and re-opened so should be review it again or anything else? |
I accidentally closed the pr and so I reopened it. The roboelectric test needs to be fixed for |
Sounds good. I have updated the title accordingly. |
@MaskedCarrot I had fixed the test file, please take the latest pull and you can continue your work. |
@anandwana001 sorry for the delay but can I start working on this by Friday? |
Sure |
@MaskedCarrot any update on this? |
Did you update from the latest develop? @MaskedCarrot |
Yes my repo is up-to-date with the latest develop |
@anandwana001 can you please help me in fixing these test cases. |
@MaskedCarrot Connecting with you on Gitter. |
made another pr for this issue #2308 |
Explanation
Fixes #1845
Replaced audio language text with an icon
Checklist