Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master b76355f30 -> b7dd66cea


fix tests

integration tests were disabled accidentally this week


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

Branch: refs/heads/master
Commit: 8c268754aad3b3697b840cb8d1a95130e177d886
Parents: b76355f
Author: Robert Kowalski <robertkowal...@apache.org>
Authored: Wed Oct 21 18:53:56 2015 +0200
Committer: Robert Kowalski <robertkowal...@apache.org>
Committed: Wed Oct 21 18:53:56 2015 +0200

----------------------------------------------------------------------
 app/addons/databases/tests/nightwatch/checkDatabaseTooltip.js | 4 ++--
 app/addons/documents/tests/nightwatch/mangoIndex.js           | 7 ++-----
 2 files changed, 4 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/8c268754/app/addons/databases/tests/nightwatch/checkDatabaseTooltip.js
----------------------------------------------------------------------
diff --git a/app/addons/databases/tests/nightwatch/checkDatabaseTooltip.js 
b/app/addons/databases/tests/nightwatch/checkDatabaseTooltip.js
index f72beb7..ddb6b5f 100644
--- a/app/addons/databases/tests/nightwatch/checkDatabaseTooltip.js
+++ b/app/addons/databases/tests/nightwatch/checkDatabaseTooltip.js
@@ -30,8 +30,8 @@ module.exports = {
       .click('#dashboard-content a[href="#/database/' + newDatabaseName + 
'/_all_docs"]')
 
       //this opens the alternative header
-      .clickWhenVisible('label[for="checkbox-' + newDocumentName + '"]', 
waitTime, false)
-      .clickWhenVisible('.control-delete', waitTime, false)
+      .clickWhenVisible('.bulk-action-component-panel input[type="checkbox"]')
+      .clickWhenVisible('.bulk-action-component-selector-group 
button.fonticon-trash', waitTime, false)
       .acceptAlert()
       .waitForElementVisible('#global-notifications .alert.alert-info', 
waitTime, false)
       .clickWhenVisible('#nav-links a[href="#/_all_dbs"]')

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/8c268754/app/addons/documents/tests/nightwatch/mangoIndex.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/tests/nightwatch/mangoIndex.js 
b/app/addons/documents/tests/nightwatch/mangoIndex.js
index dce4cb9..8c54d09 100644
--- a/app/addons/documents/tests/nightwatch/mangoIndex.js
+++ b/app/addons/documents/tests/nightwatch/mangoIndex.js
@@ -54,12 +54,9 @@ module.exports = {
       .populateDatabase(newDatabaseName)
       .loginToGUI()
       .url(baseUrl + '/#/database/' + newDatabaseName + '/_index')
-      .waitForElementPresent('.control-toggle-alternative-header', waitTime, 
false)
-      .clickWhenVisible('.control-toggle-alternative-header')
       .assert.containsText('#dashboard-lower-content', 
'ente_ente_mango_ananas')
-      .waitForElementPresent('.control-select-all', waitTime, false)
-      .clickWhenVisible('.control-select-all')
-      .clickWhenVisible('.control-delete')
+      .clickWhenVisible('.bulk-action-component-panel input[type="checkbox"]')
+      .clickWhenVisible('.bulk-action-component-selector-group 
button.fonticon-trash', waitTime, false)
       .acceptAlert()
 
       .checkForStringNotPresent(newDatabaseName + '/_index', 
'"name":"rocko-artischocko"')

Reply via email to