Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master d25f32404 -> 37ee3ad58


Adding a check to ensure element is not present


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

Branch: refs/heads/master
Commit: 37ee3ad58dab0fd387592d77ec32ed2a4b47b2fb
Parents: d25f324
Author: Ryan Millay <[email protected]>
Authored: Wed Jan 18 15:47:37 2017 -0500
Committer: Ryan Millay <[email protected]>
Committed: Wed Jan 18 15:47:37 2017 -0500

----------------------------------------------------------------------
 app/addons/fauxton/tests/nightwatch/updatesUrlsSameRouteobject.js | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/37ee3ad5/app/addons/fauxton/tests/nightwatch/updatesUrlsSameRouteobject.js
----------------------------------------------------------------------
diff --git a/app/addons/fauxton/tests/nightwatch/updatesUrlsSameRouteobject.js 
b/app/addons/fauxton/tests/nightwatch/updatesUrlsSameRouteobject.js
index 694ad3c..4dfd216 100644
--- a/app/addons/fauxton/tests/nightwatch/updatesUrlsSameRouteobject.js
+++ b/app/addons/fauxton/tests/nightwatch/updatesUrlsSameRouteobject.js
@@ -27,6 +27,9 @@ module.exports = {
       .assert.valueContains('.text-field-to-copy', newDatabaseName + '/_find')
       .clickWhenVisible('.edit-link')
       .waitForElementVisible('.prettyprint', waitTime, false)
+      // We need to wait for the previous API Url modal to disappear before
+      // attempting to view it with the new text-field-to-copy.
+      .waitForElementNotPresent('.api-bar-tray', waitTime, false)
       .clickWhenVisible('.control-toggle-api-url')
       .waitForElementVisible('.text-field-to-copy', waitTime, false)
       .assert.valueContains('.text-field-to-copy', newDatabaseName + '/_index')

Reply via email to