Daniel Zlotin 7 年之前
父節點
當前提交
ef0ccb3936

+ 1
- 1
AndroidE2E/app/src/androidTest/java/com/reactnativenavigation/e2e/androide2e/BaseTest.java 查看文件

@@ -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
 			}