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