couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject [2/3] fauxton commit: updated refs/heads/master to 30f6577
Date Tue, 19 May 2015 17:09:06 GMT
tests: fix broken test

PR: #422
PR-URL: https://github.com/apache/couchdb-fauxton/pull/422
Reviewed-By: Benjamin Keen <ben.keen@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/2a38fbd8
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/2a38fbd8
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/2a38fbd8

Branch: refs/heads/master
Commit: 2a38fbd8fc994766db03820473c819b2cda517f7
Parents: a4e516e
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Tue May 19 17:55:00 2015 +0200
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Tue May 19 19:12:21 2015 +0200

----------------------------------------------------------------------
 app/addons/documents/tests/nightwatch/paginateAllDocs.js | 1 +
 app/addons/documents/tests/nightwatch/paginateView.js    | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/2a38fbd8/app/addons/documents/tests/nightwatch/paginateAllDocs.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/tests/nightwatch/paginateAllDocs.js b/app/addons/documents/tests/nightwatch/paginateAllDocs.js
index 7bd3b1e..b9a4b6b 100644
--- a/app/addons/documents/tests/nightwatch/paginateAllDocs.js
+++ b/app/addons/documents/tests/nightwatch/paginateAllDocs.js
@@ -35,6 +35,7 @@ module.exports = {
       // hack to get select working by clicking on it and using keyboard to select
       // http://www.w3.org/TR/2012/WD-webdriver-20120710/
       .keys(['\uE013', '\uE006'])
+      .waitForElementPresent('.prettyprint', waitTime, false)
       .waitForElementNotPresent('div[data-id="document_16"]', waitTime)
       .execute(function () {
         return $('.doc-row').length;

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/2a38fbd8/app/addons/documents/tests/nightwatch/paginateView.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/tests/nightwatch/paginateView.js b/app/addons/documents/tests/nightwatch/paginateView.js
index d7143ca..3055d03 100644
--- a/app/addons/documents/tests/nightwatch/paginateView.js
+++ b/app/addons/documents/tests/nightwatch/paginateView.js
@@ -37,6 +37,7 @@ module.exports = {
       // hack to get select working by clicking on it and using keyboard to select
       // http://www.w3.org/TR/2012/WD-webdriver-20120710/
       .keys(['\uE013', '\uE006'])
+      .waitForElementPresent('.prettyprint', waitTime, false)
       .waitForElementNotPresent('div[data-id="document_9"]', waitTime)
       .execute(function () {
         return $('.doc-row').length;


Mime
View raw message