Created
July 17, 2016 11:51
-
-
Save Egorand/aafb4a009f54dd5fbc80833f126778c4 to your computer and use it in GitHub Desktop.
android-testing-runtime-permissions-should-display-permission-dialog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void a_shouldDisplayPermissionRequestDialogAtStartup() throws Exception { | |
assertViewWithTextIsVisible(device, "ALLOW"); | |
assertViewWithTextIsVisible(device, "DENY"); | |
// cleanup for the next test | |
denyCurrentPermission(device); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment