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 2018/03/19 14:18:56 UTC

[couchdb-fauxton] branch fix-nw-tests updated (a6e9860 -> 931dfbe)

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

garren pushed a change to branch fix-nw-tests
in repository https://gitbox.apache.org/repos/asf/couchdb-fauxton.git.


    omit a6e9860  make test more robust
     add 14aa1ef  Remove JQuery uses from documents addon (#1065)
     add 55ef0f9  Remove JQuery usage from config addon (#1062)
     new 931dfbe  make test more robust

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (a6e9860)
            \
             N -- N -- N   refs/heads/fix-nw-tests (931dfbe)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 app/addons/config/actions.js                       |   6 +-
 app/addons/config/components.js                    |  19 ++-
 app/addons/config/resources.js                     |  27 ++--
 app/addons/documents/__tests__/resources.test.js   |  21 ++-
 app/addons/documents/changes/actions.js            |  15 +-
 app/addons/documents/components/actions.js         |  22 ++-
 .../__tests__/doc-editor.actions.test.js           |  21 ++-
 app/addons/documents/doc-editor/actions.js         | 176 +++++++++++----------
 app/addons/documents/doc-editor/components.js      |  22 +--
 app/addons/documents/resources.js                  |  83 ++++------
 app/addons/documents/shared-resources.js           |  12 +-
 app/addons/documents/sidebar/actions.js            |   7 +-
 .../documents/tests/nightwatch/deletesDocuments.js |   1 +
 app/helpers.js                                     |   7 +
 14 files changed, 234 insertions(+), 205 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
garren@apache.org.

[couchdb-fauxton] 01/01: make test more robust

Posted by ga...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 931dfbed809627d36ca72938f7ec2ba9adaf6b24
Author: Garren Smith <ga...@gmail.com>
AuthorDate: Mon Mar 19 16:14:42 2018 +0200

    make test more robust
---
 app/addons/databases/tests/nightwatch/checkDatabaseTooltip.js | 2 +-
 bin/remove-test-dbs.js                                        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/addons/databases/tests/nightwatch/checkDatabaseTooltip.js b/app/addons/databases/tests/nightwatch/checkDatabaseTooltip.js
index ded2916..dbc896f 100644
--- a/app/addons/databases/tests/nightwatch/checkDatabaseTooltip.js
+++ b/app/addons/databases/tests/nightwatch/checkDatabaseTooltip.js
@@ -31,7 +31,7 @@ module.exports = {
       .click('#dashboard-content a[href="database/' + newDatabaseName + '/_all_docs"]')
 
       //this opens the alternative header
-      .clickWhenVisible('.bulk-action-component-panel input[type="checkbox"]')
+      .clickWhenVisible('.tableview-checkbox-cell input[type="checkbox"]')
       .clickWhenVisible('.bulk-action-component-selector-group button.fonticon-trash', waitTime, false)
       .acceptAlert()
       .waitForElementVisible('#global-notifications .alert.alert-info', waitTime, false)
diff --git a/bin/remove-test-dbs.js b/bin/remove-test-dbs.js
index 0307560..3ae0ac8 100755
--- a/bin/remove-test-dbs.js
+++ b/bin/remove-test-dbs.js
@@ -18,7 +18,7 @@ const async = require('async');
 const settingsFilePath = './settings.json';
 const settingsFile = fs.existsSync(settingsFilePath) ? settingsFilePath : './settings.json.default.json';
 const settings = JSON.parse(fs.readFileSync(settingsFile)).nightwatch;
-const dbUrl = `http://${settings.fauxton_username}:${settings.password}@${settings.db_host}:${settings.db_port}`;
+const dbUrl = `${settings.db_protocol}://${settings.fauxton_username}:${settings.password}@${settings.db_host}:${settings.db_port}`;
 const nano = require('nano')(dbUrl);
 
 nano.db.list((err, body) => {

-- 
To stop receiving notification emails like this one, please contact
garren@apache.org.