You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by be...@apache.org on 2015/02/21 05:39:49 UTC

fauxton commit: updated refs/heads/master to c2cb64f

Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master e6f089aa1 -> c2cb64fbf


Fix for flaky nightwatch test

This fixes the editDocumentsFromView.js test that would
occasionally fail if the element was present but not
visible.


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

Branch: refs/heads/master
Commit: c2cb64fbf15437b15397a061e09f17272b010e2a
Parents: e6f089a
Author: Ben Keen <be...@gmail.com>
Authored: Fri Feb 20 08:52:00 2015 -0800
Committer: Ben Keen <be...@gmail.com>
Committed: Fri Feb 20 08:52:00 2015 -0800

----------------------------------------------------------------------
 app/addons/documents/tests/nightwatch/editDocumentsFromView.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/c2cb64fb/app/addons/documents/tests/nightwatch/editDocumentsFromView.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/tests/nightwatch/editDocumentsFromView.js b/app/addons/documents/tests/nightwatch/editDocumentsFromView.js
index 4f1a69b..e05d270 100644
--- a/app/addons/documents/tests/nightwatch/editDocumentsFromView.js
+++ b/app/addons/documents/tests/nightwatch/editDocumentsFromView.js
@@ -36,8 +36,7 @@ module.exports = {
       .clickWhenVisible('#nav-header-abc')
       .clickWhenVisible('#nav-design-function-abcviews')
       .clickWhenVisible('#abc_evens')
-
-      .waitForElementPresent('a[href="#/database/fauxton-selenium-tests/document_10"]', waitTime, false)
+      .waitForElementVisible('a[href="#/database/fauxton-selenium-tests/document_10"]', waitTime, false)
       .click('a[href="#/database/fauxton-selenium-tests/document_10"]')
 
       //navigated to editor