Skip to content

Commit 82afaae

Browse files
committed
waiting for login button to be visible
1 parent 5e4f75c commit 82afaae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/spectron/src/LoginScreen.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class LoginScreen {
5656
}
5757

5858
waitUntilLoginButtonLoaded() {
59-
return this.app.client.waitUntilTextExists('button[type="submit"]', 'Log in', 10000);
59+
return this.app.client.waitForVisible('button[type="submit"]', 5000);
6060
}
6161
}
6262

0 commit comments

Comments
 (0)