Skip to content

Tests for welcome activity #2721

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

Merged
merged 1 commit into from
Mar 23, 2019

Conversation

vanshikaarora
Copy link
Contributor

Description (required)

Fixes #2644 Extend WelcomeActivityTest

Changes made

Test swiping the correct number of times and then clicking 'yes' exits WelcomeActivity
Test swiping beyond the proper bounds shouldn't do anything e.g. swiping left on the first page or right on the last page

Added the above two tests

Tests performed (required)

Tested ProdDebug on vivo 1713 with API level 24.

@codecov-io
Copy link

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #2721   +/-   ##
======================================
  Coverage    2.71%   2.71%           
======================================
  Files         267     267           
  Lines       12838   12838           
  Branches     1141    1141           
======================================
  Hits          349     349           
  Misses      12463   12463           
  Partials       26      26

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 f7302d4...6d75e4b. Read the comment docs.

@maskaravivek maskaravivek merged commit 052d09e into commons-app:master Mar 23, 2019

@Test
fun swipeBeyondBounds(){
if (!ConfigUtils.isBetaFlavour()){
Copy link
Member

Choose a reason for hiding this comment

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

This test should probably still run on beta


@Test
fun swipeTillLastAndFinish(){
if (!ConfigUtils.isBetaFlavour()){
Copy link
Member

Choose a reason for hiding this comment

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

This test should probably still run on beta

@vanshikaarora
Copy link
Contributor Author

Thanks for approving the PR @maskaravivek @domdomegg :)

@domdomegg
Copy link
Member

@vanshikaarora Can you create another PR so the two tests also run on beta (i.e. remove the if condition wrapping them)

@domdomegg
Copy link
Member

And tag me in to review it :)

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.

4 participants