You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2017/07/27 13:00:46 UTC

[couchdb-fauxton] branch master updated: harden queryoptions open/close test (#942)

This is an automated email from the ASF dual-hosted git repository.

garren pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-fauxton.git


The following commit(s) were added to refs/heads/master by this push:
     new 5d5126c  harden queryoptions open/close test (#942)
5d5126c is described below

commit 5d5126c6c90db3e60322be4db244c6ec80794fb7
Author: garren smith <ga...@gmail.com>
AuthorDate: Thu Jul 27 15:00:45 2017 +0200

    harden queryoptions open/close test (#942)
---
 app/addons/documents/tests/nightwatch/queryOptionsCloseBug.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app/addons/documents/tests/nightwatch/queryOptionsCloseBug.js b/app/addons/documents/tests/nightwatch/queryOptionsCloseBug.js
index f91bba8..314b0e3 100644
--- a/app/addons/documents/tests/nightwatch/queryOptionsCloseBug.js
+++ b/app/addons/documents/tests/nightwatch/queryOptionsCloseBug.js
@@ -24,10 +24,13 @@ module.exports = {
       .populateDatabase(newDatabaseName, 3)
       .loginToGUI()
       .url(baseUrl + '/#/database/' + newDatabaseName + '/_all_docs')
+      .clickWhenVisible('.fonticon-json')
+      .waitForElementNotPresent('.loading-lines', waitTime, false)
       .clickWhenVisible('.control-toggle-queryoptions')
       .clickWhenVisible('#betweenKeys', waitTime, false)
       .setValue('#startkey', '"document_2"')
       .clickWhenVisible('.query-options .btn-secondary')
+      .waitForElementNotPresent('.loading-lines', waitTime, false)
       .waitForElementNotPresent('#doc-list [data-id="document_1"]', waitTime, false)
       .clickWhenVisible('.control-toggle-queryoptions')
       .clickWhenVisible('.query-options .btn-cancelDark')

-- 
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].