couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject fauxton commit: updated refs/heads/master to 7be921a
Date Tue, 23 Jun 2015 07:25:27 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 2c37da5cb -> 7be921ad6


Fix failing PreviousButton test


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

Branch: refs/heads/master
Commit: 7be921ad67f8b28b7266efc8325b6c24fa0de643
Parents: 2c37da5
Author: Garren Smith <garren.smith@gmail.com>
Authored: Tue Jun 23 08:50:07 2015 +0200
Committer: Garren Smith <garren.smith@gmail.com>
Committed: Tue Jun 23 08:50:07 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/7be921ad/app/addons/documents/tests/nightwatch/previousButton.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/tests/nightwatch/previousButton.js b/app/addons/documents/tests/nightwatch/previousButton.js
index d08e05d..8fe2476 100644
--- a/app/addons/documents/tests/nightwatch/previousButton.js
+++ b/app/addons/documents/tests/nightwatch/previousButton.js
@@ -11,7 +11,7 @@
 // the License.
 
 module.exports = {
-  'View: Navigate previous works correctly': function (client) {
+  'View: Navigate previous navigates to _all_docs': function (client) {
     var waitTime = client.globals.maxWaitTime,
         newDatabaseName = client.globals.testDatabaseName,
         baseUrl = client.globals.test_settings.launch_url;
@@ -24,11 +24,11 @@ module.exports = {
       .clickWhenVisible('#nav-design-function-keyviewviews a')
       .clickWhenVisible('#keyview_keyview')
       .clickWhenVisible('.breadcrumb-back-link .fonticon-left-open')
-      .waitForElementPresent('.js-changes-view', waitTime)
+      .assert.urlContains('_all_docs')
     .end();
   },
 
-  'Mango: Navigate back works correctly': function (client) {
+  'Mango: Navigate back to _all_docs': function (client) {
     var waitTime = client.globals.maxWaitTime,
         newDatabaseName = client.globals.testDatabaseName,
         baseUrl = client.globals.test_settings.launch_url;


Mime
View raw message