-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add WelcomeActivityTest #2636
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
Add WelcomeActivityTest #2636
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2636 +/- ##
======================================
Coverage 2.77% 2.77%
======================================
Files 259 259
Lines 12364 12364
Branches 1116 1116
======================================
Hits 343 343
Misses 11994 11994
Partials 27 27 Continue to review full report at Codecov.
|
Have removed WIP tag as I think we may as well merge this, and then future PRs can flesh out the tests more. Have moved the TODOs to #2644. |
@domdomegg Is travis running these tests at all? Codacy report doesn't show any change in the coverage. |
Now, that we have more instrumentation tests, it should be fine to add it back again. |
Merging this and travis instrumentation tests can be enabled in a different PR. |
Description (required)
Adds Android Test: WelcomeActivityTest
TODO - moved to #2644
Probably want to flesh this out a bit with some more tests. Ideally we'd have one which would swipe the correct number of times and then click 'yes', and check we were out of WelcomeActivity
Also maybe check that on beta clicking the skip tutorial exits WelcomeActivity
Also maybe check we can swipe both ways (i.e. backwards and forwards)
Also maybe check swiping beyond the proper bounds shouldn't do anything e.g. swiping left on the first page or right on the last page.