-
Notifications
You must be signed in to change notification settings - Fork 380
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
Fixed tests so that they expect button to the disabled #1098 #1099
base: develop
Are you sure you want to change the base?
Conversation
findEditTextInTextInputLayout(R.id.tiEmail).perform(typeText("[email protected]"), closeSoftKeyboard()) | ||
findEditTextInTextInputLayout(R.id.tiPassword).perform(typeText("Divyansh@2001"), closeSoftKeyboard()) | ||
findEditTextInTextInputLayout(R.id.tiConfirmPassword).perform(typeText("Divyansh@2001"), closeSoftKeyboard()) | ||
findEditTextInTextInputLayout(R.id.tiUsername).perform(typeText("isabel"), closeSoftKeyboard()) |
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.
@isabelcosta sorry I couldn't really think of any other username so I used your, if we do end up creating a user solely for testing we can update it here.
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.
username is fine ;)
@epicadk The tests are failing for me. Also, there is one caveat, I forgot to think about. The |
Yes the test will fail because it depends on the other pr I had linked. Sure you can create another issue. This issue only involved correcting the existing tests. |
@epicadk Yup , I thought so. Cool, I'll be reviewing the other PR and also creating new issues as well. |
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 :)
I need more eyes on this, as this is not my forte anymore 🙈
Thank you for working on this @epicadk !
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 🎉
@vj-codes can you please review this? |
@epicadk yes also I tried testing it I got this error -
I do have my pixel emulator connected or does it need a physical device? |
Yeah it needs a Physical device |
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.
@epicadk please resolve the merge conflicts when you're free and I can probably test this again
Description
Currently, the tests expect the buttons to be enabled even if the user has not entered all required information. Updated tests so that they expect buttons to be disabled. I have not added any more tests rather I have just corrected the present tests to expect the response that was discussed in the issue. All tests except one sign up tests pass. The signup test does not pass as there is an open pr that solves #756 and only then the test in question will pass.
Fixes #1098
Type of Change:
Code/Quality Assurance Only
How Has This Been Tested?
Ran the test on my pc.
Checklist:
Code/Quality Assurance Only