-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[WIP] Extend WelcomeActivityTest #2666
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2666 +/- ##
=========================================
+ Coverage 2.75% 2.81% +0.06%
=========================================
Files 260 258 -2
Lines 12430 12376 -54
Branches 1125 1111 -14
=========================================
+ Hits 343 349 +6
+ Misses 12060 12001 -59
+ Partials 27 26 -1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for adding these tests! I've left some suggestions, but the only thing that must be changed is the statement in ifSkipButtonClicked as that breaks when running tests in the prod build variant and also doesn't test the beta version correctly.
app/src/androidTest/java/fr/free/nrw/commons/WelcomeActivityTest.kt
Outdated
Show resolved
Hide resolved
app/src/androidTest/java/fr/free/nrw/commons/WelcomeActivityTest.kt
Outdated
Show resolved
Hide resolved
app/src/androidTest/java/fr/free/nrw/commons/WelcomeActivityTest.kt
Outdated
Show resolved
Hide resolved
app/src/androidTest/java/fr/free/nrw/commons/WelcomeActivityTest.kt
Outdated
Show resolved
Hide resolved
app/src/androidTest/java/fr/free/nrw/commons/WelcomeActivityTest.kt
Outdated
Show resolved
Hide resolved
@domdomegg I could't reproduce this. Can you please share the error report :) |
You fixed this in your latest commit already :) Will review and merge later hopefully. |
Description (required)
Fixes #2644 Extend WelcomeActivityTest
Changes Made
Added the above three tests
Tests performed (required)
Tested betaDebug on vivo 1713 with API level 24.