Daniel Zlotin 7 years ago
parent
commit
ef0ccb3936

+ 1
- 1
AndroidE2E/app/src/androidTest/java/com/reactnativenavigation/e2e/androide2e/BaseTest.java View File

@@ -48,7 +48,7 @@ public abstract class BaseTest {
48 48
 	}
49 49
 
50 50
 	public void acceptOverlayPermissionIfNeeded() throws Exception {
51
-		if (elementByText("Draw over other apps").exists()) {
51
+		if (elementByText("Draw over other apps").waitForExists(100)) {
52 52
 			if (!elementByText("Playground").exists()) {
53 53
 				scrollToText("Playground");
54 54
 			}