Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 1e4921b2a -> 8745b95c4


try to fix flaky test

PR: #336
PR-URL: https://github.com/apache/couchdb-fauxton/pull/336
Reviewed-By: garren smith <[email protected]>


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

Branch: refs/heads/master
Commit: 8745b95c448ae0d0d92601418ae1823ec7ba2f15
Parents: 1e4921b
Author: Robert Kowalski <[email protected]>
Authored: Thu Mar 26 12:57:15 2015 +0100
Committer: Robert Kowalski <[email protected]>
Committed: Mon Mar 30 16:51:05 2015 +0200

----------------------------------------------------------------------
 app/addons/documents/tests/nightwatch/deletesDocument.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/8745b95c/app/addons/documents/tests/nightwatch/deletesDocument.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/tests/nightwatch/deletesDocument.js 
b/app/addons/documents/tests/nightwatch/deletesDocument.js
index 4709f25..37da9f9 100644
--- a/app/addons/documents/tests/nightwatch/deletesDocument.js
+++ b/app/addons/documents/tests/nightwatch/deletesDocument.js
@@ -26,7 +26,7 @@ module.exports = {
       .waitForElementVisible('label[for="checkbox-' + newDocumentName + '"]', 
waitTime, false)
       .click('label[for="checkbox-' + newDocumentName + '"]')
       .waitForElementPresent('.control-select-all', waitTime, false)
-      .click('.control-delete')
+      .clickWhenVisible('.control-delete')
       .acceptAlert()
       .waitForElementVisible('.alert.alert-info', waitTime, false)
       .url(baseUrl + '/' + newDatabaseName + '/_all_docs')

Reply via email to