Skip to content
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

Issue 597 - UI Testing for Signup Screen #617

Closed
wants to merge 2 commits into from

Conversation

jtj9817
Copy link
Contributor

@jtj9817 jtj9817 commented Apr 18, 2019

Description

Made a recorded Espresso test for UI testing. This code tests for empty email and password fields. The setup is shown below:

Type of change

Just put an x in the [] which are valid.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Testing Suites

How Has This Been Tested?

Please describe the tests that you ran to verify your changes.

  • ./gradlew assembleDebug assembleRelease
  • ./gradlew checkstyle

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Made a recorded Espresso test for UI testing. This code tests for empty email and password fields
appCompatEditText2.perform(replaceText("Wallace"), closeSoftKeyboard());

ViewInteraction flatButton = onView(
allOf(withId(R.id.ok_signup), withText("Signup"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we have these string values as contants?
and comments one exactly what test are you validating?

@prabhakar267
Copy link
Member

@jtj9817 Any updates on this?

@Swati4star
Copy link
Member

Closing due to inactivity. Feel free to reopen!

@Swati4star Swati4star closed this Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants