couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject [1/2] fauxton commit: updated refs/heads/master to e53deb5
Date Tue, 29 Nov 2016 14:27:58 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master dd5eb4978 -> e53deb5d9


increase window size and login in wait time

this seems to make the test more stable

PR: #813
PR-URL: https://github.com/apache/couchdb-fauxton/pull/813
Reviewed-By: Robert Kowalski <rok@kowalski.gd>


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/e53deb5d
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/e53deb5d
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/e53deb5d

Branch: refs/heads/master
Commit: e53deb5d90fa7d6751bb753415dda5274a2b2cb5
Parents: 1aa4ca6
Author: Tim Pinington <timpinington@gmail.com>
Authored: Sun Nov 27 21:56:36 2016 +0000
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Tue Nov 29 15:27:33 2016 +0100

----------------------------------------------------------------------
 test/nightwatch_tests/custom-commands/auth/loginToGUI.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/e53deb5d/test/nightwatch_tests/custom-commands/auth/loginToGUI.js
----------------------------------------------------------------------
diff --git a/test/nightwatch_tests/custom-commands/auth/loginToGUI.js b/test/nightwatch_tests/custom-commands/auth/loginToGUI.js
index 2eb1594..905b76f 100644
--- a/test/nightwatch_tests/custom-commands/auth/loginToGUI.js
+++ b/test/nightwatch_tests/custom-commands/auth/loginToGUI.js
@@ -22,8 +22,9 @@ function LoginToGui (user, pw) {
   const password = pw || client.globals.test_settings.password;
 
   client
+    .resizeWindow(1200, 1200)
     .url(baseUrl + '/#/login')
-    .waitForElementPresent('a[href="#/login"]', waitTime, false)
+    .waitForElementPresent('a[href="#/login"]', 50000, false)
     .click('a[href="#/login"]')
     .waitForElementVisible('.couch-login-wrapper', waitTime, false)
     .waitForElementVisible('#username', waitTime, false)


Mime
View raw message