couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject [4/4] fauxton commit: updated refs/heads/master to 592638a
Date Mon, 30 Mar 2015 11:45:56 GMT
tests: try to fix flaky test on CI

PR: #322
PR-URL: https://github.com/apache/couchdb-fauxton/pull/322
Reviewed-By: garren smith <garren.smith@gmail.com>


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

Branch: refs/heads/master
Commit: 592638a108c0bfda94f84428a73cafd891bbb979
Parents: db20167
Author: Robert Kowalski <rok@kowalski.gd>
Authored: Fri Mar 27 23:15:40 2015 +0100
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Mon Mar 30 13:45:53 2015 +0200

----------------------------------------------------------------------
 app/addons/documents/tests/nightwatch/viewCreate.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/592638a1/app/addons/documents/tests/nightwatch/viewCreate.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/tests/nightwatch/viewCreate.js b/app/addons/documents/tests/nightwatch/viewCreate.js
index 6fde887..f1b1692 100644
--- a/app/addons/documents/tests/nightwatch/viewCreate.js
+++ b/app/addons/documents/tests/nightwatch/viewCreate.js
@@ -64,10 +64,10 @@ var tests = {
         editor.getSession().setValue("function (doc) { emit(\'enteente\', 1); }");\
       ')
       .execute('$(".save")[0].scrollIntoView();')
-      .click('button.btn-success.save')
+      .clickWhenVisible('button.btn-success.save')
+      .waitForElementPresent('.prettyprint', waitTime, false)
       .url(baseUrl + '/#/database/' + newDatabaseName + '/_all_docs')
-      .waitForElementPresent('[data-target="#testdesigndoc"]', waitTime, false)
-      .click('[data-target="#testdesigndoc"]')
+      .clickWhenVisible('[data-target="#testdesigndoc"]')
       .clickWhenVisible('[data-target="#testdesigndocviews"]', waitTime, false)
       .clickWhenVisible('#testdesigndoc_testnewview', waitTime, false)
       .waitForElementPresent('.prettyprint', waitTime, false)


Mime
View raw message