couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From benk...@apache.org
Subject fauxton commit: updated refs/heads/master to bbf335c
Date Thu, 15 Jan 2015 02:51:25 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master b61f60181 -> bbf335c19


Fix for failing nightwatch 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/bbf335c1
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/bbf335c1
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/bbf335c1

Branch: refs/heads/master
Commit: bbf335c192837670d6627f954d8b1fb30ff2baa8
Parents: b61f601
Author: Benjamin Keen <ben.keen@gmail.com>
Authored: Wed Jan 14 10:37:33 2015 -0800
Committer: Benjamin Keen <ben.keen@gmail.com>
Committed: Wed Jan 14 10:37:33 2015 -0800

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


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/bbf335c1/app/addons/documents/tests/nightwatch/createsDocument.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/tests/nightwatch/createsDocument.js b/app/addons/documents/tests/nightwatch/createsDocument.js
index 4117de3..3d2241d 100644
--- a/app/addons/documents/tests/nightwatch/createsDocument.js
+++ b/app/addons/documents/tests/nightwatch/createsDocument.js
@@ -25,7 +25,7 @@ module.exports = {
       .click('#new-all-docs-button a')
       .waitForElementPresent('#new-all-docs-button a[href="#/database/'+newDatabaseName+'/new"]',
waitTime, false)
       .click('#new-all-docs-button a[href="#/database/'+newDatabaseName+'/new"]') 
-      .waitForElementPresent('#doc', waitTime, false)
+      .waitForElementPresent('#editor-container', waitTime, false)
       .verify.urlEquals(baseUrl+'/#/database/'+ newDatabaseName+'/new')
       .execute('\
         var editor = ace.edit("editor-container");\
@@ -33,8 +33,8 @@ module.exports = {
         editor.removeWordRight();\
         editor.insert("'+newDocumentName+'");\
       ')
-      .waitForElementPresent('#doc button.save-doc.btn.btn-success.save', waitTime, false)
-      .click('#doc button.save-doc.btn.btn-success.save')
+      .waitForElementPresent('#doc-editor-actions-panel .save-doc', waitTime, false)
+      .click('#doc-editor-actions-panel .save-doc')
       .pause(1000)
       .url(baseUrl+'/'+newDatabaseName+'/_all_docs')
       .waitForElementPresent('body', waitTime, false)


Mime
View raw message