diff options
author | Antonio Zugaldia <antonio@silicalabs.com> | 2015-09-15 14:19:23 -0400 |
---|---|---|
committer | Antonio Zugaldia <antonio@silicalabs.com> | 2015-09-15 14:19:23 -0400 |
commit | c0b9ec6da4654473780c5c747c43e396448b5d36 (patch) | |
tree | 194621da58418656a59e3f316772db963f2bb92b | |
parent | df7ef8ee871c53a26a7075ab21efd2f3a7638036 (diff) | |
download | qtlocation-mapboxgl-c0b9ec6da4654473780c5c747c43e396448b5d36.tar.gz |
ready for aws screenshots
-rw-r--r-- | android/java/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxgl/testapp/MainActivityTest.java | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/android/java/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxgl/testapp/MainActivityTest.java b/android/java/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxgl/testapp/MainActivityTest.java index 08948b33bc..64485ed59e 100644 --- a/android/java/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxgl/testapp/MainActivityTest.java +++ b/android/java/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxgl/testapp/MainActivityTest.java @@ -150,7 +150,7 @@ public class MainActivityTest extends BaseTest { .perform(click()); onView(withText(R.string.action_debug)) .perform(click()); - + // Clicking the item closes the drawer onView(withId(R.id.nav_view)) .check(matches(not(isDisplayed()))); @@ -268,4 +268,18 @@ public class MainActivityTest extends BaseTest { .check(matches(isDisplayed())); } + /* + * Take a screenshot of Mapbox Streets to monitor #1649 + */ + + @Test + public void testMapboxStreetsBlackAndWhite() { + // Click home and switch to Mapbox streets + onView(withContentDescription(HOME_BUTTON_STRING)) + .perform(click()); + onView(withText(R.string.styleMapboxStreets)) + .perform(click()); + takeNamedScreenshot("testMapboxStreetsBlackAndWhite"); + } + } |