Mentorship-android: Write UI test for LoginActivity

Created on 9 Sep 2018  路  11Comments  路  Source: anitab-org/mentorship-android

Description

As a contributor,
I need UI tests for LoginActivity,
so that I can minimize the bugs for LoginActivity.

Acceptance Criteria

Update [Required]

  • [ ] Create test for LoginActivity

Definition of Done

  • [ ] All of the required items are completed.
  • [ ] Approval by 1 mentor.

Estimation

4 hours

Coding Testing

All 11 comments

I would like to work on this issue :)
I need to know that what all UI tests you need for LoginActivity?

@mohak1283 try to be creative on this ;) I haven't thought a lot about this, but I know this needs to be done. Maybe one of the things you can test is if a user can proceed to the main activity when username and/or password is empty. In this case, the inputs should show a warning. What do you think?

I think UI test for LoginActivity would be like test either a button is clicked or not and such things?

Okay I will try to write UI test for this Activity and will update you the status :+1:

Yes you are right ;) you can check also regarding UI, if the inputText fields show the error message when a button is clicked and one of the fields is empty

Okay :+1:

I have resolved all the checks failed in PR and now it has all the checks passed :)

For whoever's interested in this issue: This code is partially done on PR #72. You can check the code and review comments on PRs #72 and #90

I would like to work on this issue.

@baghaii great! Go ahead :) feel free to ask any questions if you have any doubt

fixed with PR #131

Was this page helpful?
0 / 5 - 0 ratings

Related issues

isabelcosta picture isabelcosta  路  6Comments

Dilu9218 picture Dilu9218  路  9Comments

epicadk picture epicadk  路  5Comments

annabauza picture annabauza  路  8Comments

Kavya-24 picture Kavya-24  路  8Comments