-
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 #572: Keyboard visible by default in Admin Pin #573
Conversation
I need some help with the test case as I have created one to check the solution but it is getting failed. |
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 @Luffy18346 . I have suggested changes in test cases.
app/src/sharedTest/java/org/oppia/app/profile/PinPasswordActivityTest.kt
Outdated
Show resolved
Hide resolved
app/src/sharedTest/java/org/oppia/app/profile/PinPasswordActivityTest.kt
Outdated
Show resolved
Hide resolved
app/src/sharedTest/java/org/oppia/app/profile/PinPasswordActivityTest.kt
Outdated
Show resolved
Hide resolved
Not sure why it is happening, it might be because you have not been added as a contributor yet. Lets not worry about this and check this thing once again after you become oppia contributor. |
I have updated the test case as per the suggestions but still it is getting failed. I am getting this error:
However, I have checked the code in the |
@Luffy18346 Thanks for the updated code. The test cases are passing on my device as well as CircleCI. Can you just re-build the app and run it once again. |
@rt4914 I have tried running many times after building the project again and again. But it's getting failed everytime. |
@veena14cs can you run these test cases and verify whether they are passing for you for not? |
All testcases are passing. @Luffy18346 you may have to run Roboelectric test, please check this link to configure https://www.vogella.com/tutorials/Robolectric/article.html#create-the-run-configuration |
@Luffy18346 PTAL |
@veena14cs Thank you for your suggestion. I will look into it. |
@rt4914 I have tried running the testcase again after studying about run configuration. But I'm still getting the same error in every testcase. |
Try out some of the solutions from here https://stackoverflow.com/questions/42844600/android-junit-test-java-lang-noclassdeffounderror-android-database-sqlite-sqlit |
@rt4914 sorry, I was absent yesterday, because I had severe vomitting. I have read the stackoverflow article and tried some of the solutions. |
One major thing that I wanted to add was that when i run the test-case or test-cases, Oppia app is not getting opened in the mobile but when I run the any test from a demo test project then that app is opened in my mobile and I can see how to test is conducted in the app (parameters changing according to instructions written in the test) |
@Luffy18346 For these were you running test cases from |
@Luffy18346 Actually, even I don't know what it means, let's schedule a 1:1 meeting and try to solve this. |
This PR is on hold for now considering that @Luffy18346 cannot downgrade his android studio, which is needed to fix the issues on his laptop. Until then he will assigned other PRs which do not contain any test cases. |
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.
Note: Earlier all the test cases were failing for @Luffy18346 but once he downgraded android studio to 3.4.2 version, all these test cases are passing now.
* Fix #572: Keyboard visible by default in Admin Pin (#573) * By default keyboard visibility issue in Admin Pin is resolved * Created a test case to check about Keyboard visibility by default in Admin Pin. * Test is modified with the suggested changes * Fix #577: Display profile name on navigation drawer. (#578) * display profile name in navigation drawer * Updated code implementation * adding tests * added testcases * Update NavigationDrawerFragmentPresenter.kt * updated nit changes. * Fix part #44: Full UI profile pin/password screen. (#597) * done ui corrections * fixed issues. * Update pin_password_activity.xml * updated color * updated icon * updated pinview shadow * updated icon color * changed shadow * updated mock color * fix * Update pin_password_activity.xml * updated nit change. * Update pin_password_activity.xml * removed fixed width * fixed dimen file changes * Update dimens.xml * Fix part #632: Replace current recyclerview implementation with BindableAdapter usage. (#641) * working on topic practice. * reverted * updated implementation * Update ContinuePlayingFragmentPresenter.kt * Update ContinuePlayingFragmentPresenter.kt * Update ContinuePlayingItemViewModel.kt * Delete OngoingListAdapter.kt * nit change * Update ContinuePlayViewModel.kt * fixed nit * Add UI and finctionality for Switch Profile * Add UI Tests for switch profile option in navigation drawer * Add UI Tests for switch profile option in navigation drawer * Minor styling changes Co-authored-by: Akash Koradia <[email protected]> Co-authored-by: Veena <[email protected]>
Explanation
This PR fixes #572: Keyboard should be visible by default in Admin Pin.
Checklist