Skip to content

Commit 44ab916

Browse files
committed
fix(MANP): disable test relying on ungranted permission
1 parent f8c6883 commit 44ab916

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/src/androidTest/java/com/algolia/instantsearch/voice/demo/MainActivityNoPermissionTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ public void clickPermissionButton_displaysPermissionOverlay() {
4242
onView(withId(R.id.voiceInput))
4343
.check(doesNotExist());
4444
}
45-
45+
/* Disabled until Virtual Device Testing stops granting permissions before testing,
46+
see https://discuss.bitrise.io/t/why-does-virtual-device-testing-always-grant-permissions-before-testing/6341
4647
@Test
4748
public void clickInputButton_displaysPermissionOverlay() {
4849
// When clicking on the buttonVoice
@@ -55,5 +56,5 @@ public void clickInputButton_displaysPermissionOverlay() {
5556
// the input overlay should not
5657
onView(withId(R.id.voiceInput))
5758
.check(doesNotExist());
58-
}
59+
}*/
5960
}

0 commit comments

Comments
 (0)