couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject fauxton commit: updated refs/heads/master to 71e7e7a
Date Fri, 09 Jan 2015 17:04:25 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master cae7cd7ee -> 71e7e7af9


More Selenium fixes

Do not click on the div, click directly on the link instead


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

Branch: refs/heads/master
Commit: 71e7e7af93ccd3593ee0e526d9aa7ff0195bccf4
Parents: cae7cd7
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Fri Jan 9 13:05:43 2015 +0100
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Fri Jan 9 13:05:43 2015 +0100

----------------------------------------------------------------------
 app/addons/documents/tests/nightwatch/createsDocument.js   | 2 +-
 app/addons/documents/tests/nightwatch/navigateToNewView.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/71e7e7af/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 88fee7f..4117de3 100644
--- a/app/addons/documents/tests/nightwatch/createsDocument.js
+++ b/app/addons/documents/tests/nightwatch/createsDocument.js
@@ -22,7 +22,7 @@ module.exports = {
       .loginToGUI()
       .url(baseUrl+'/#/database/'+newDatabaseName+'/_all_docs')
       .waitForElementPresent('#new-all-docs-button', waitTime, false)
-      .click('#new-all-docs-button')
+      .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)

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/71e7e7af/app/addons/documents/tests/nightwatch/navigateToNewView.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/tests/nightwatch/navigateToNewView.js b/app/addons/documents/tests/nightwatch/navigateToNewView.js
index 0afb622..9bbdccf 100644
--- a/app/addons/documents/tests/nightwatch/navigateToNewView.js
+++ b/app/addons/documents/tests/nightwatch/navigateToNewView.js
@@ -23,7 +23,7 @@ module.exports = {
       .loginToGUI()
       .url(baseUrl + '/#/database/' + newDatabaseName + '/_all_docs')
       .waitForElementPresent('#new-all-docs-button', waitTime, false)
-      .click('#new-all-docs-button')
+      .click('#new-all-docs-button a')
       .waitForElementPresent('#new-all-docs-button a[href="#/database/' + newDatabaseName
+ '/new_view"]', waitTime, false)
       .click('#new-all-docs-button a[href="#/database/' + newDatabaseName + '/new_view"]')
       .waitForElementPresent('#define-view', waitTime, false)


Mime
View raw message