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

Add WelcomeActivityTest #2636

Merged
merged 3 commits into from
Mar 18, 2019
Merged

Add WelcomeActivityTest #2636

merged 3 commits into from
Mar 18, 2019

Conversation

domdomegg
Copy link
Member

@domdomegg domdomegg commented Mar 17, 2019

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.

@domdomegg domdomegg changed the title Add WelcomeActivityTest [WIP] Add WelcomeActivityTest Mar 17, 2019
@domdomegg domdomegg mentioned this pull request Mar 17, 2019
@codecov-io
Copy link

codecov-io commented Mar 17, 2019

Codecov Report

Merging #2636 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0b25730...0525c1d. Read the comment docs.

@domdomegg domdomegg changed the title [WIP] Add WelcomeActivityTest Add WelcomeActivityTest Mar 17, 2019
@domdomegg
Copy link
Member Author

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.

@maskaravivek
Copy link
Member

@domdomegg Is travis running these tests at all? Codacy report doesn't show any change in the coverage.

@domdomegg
Copy link
Member Author

No, Travis stopped running instrumentation tests in #2595, particularly 0d203a4

@maskaravivek
Copy link
Member

Now, that we have more instrumentation tests, it should be fine to add it back again.

@maskaravivek
Copy link
Member

Merging this and travis instrumentation tests can be enabled in a different PR.

@maskaravivek maskaravivek merged commit 0b6a1ad into commons-app:master Mar 18, 2019
@domdomegg domdomegg deleted the test-tutorial branch March 18, 2019 07:50
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.

3 participants