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 c8518a0
Date Mon, 25 Jan 2016 13:21:03 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master e01751f5f -> c8518a068


make test location agnostic


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

Branch: refs/heads/master
Commit: c8518a068f05e2d254ead2997acddb0a143415ef
Parents: e01751f
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Mon Jan 25 13:11:53 2016 +0100
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Mon Jan 25 13:11:53 2016 +0100

----------------------------------------------------------------------
 .../fauxton/tests/nightwatch/updatesUrlsSameRouteobject.js       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/c8518a06/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 2294939..49bca39 100644
--- a/app/addons/fauxton/tests/nightwatch/updatesUrlsSameRouteobject.js
+++ b/app/addons/fauxton/tests/nightwatch/updatesUrlsSameRouteobject.js
@@ -22,12 +22,12 @@ module.exports = {
       .url(baseUrl + '/#/database/' + newDatabaseName + '/_find')
       .clickWhenVisible('.control-toggle-api-url')
       .waitForElementVisible('.text-field-to-copy', waitTime, false)
-      .assert.value('.text-field-to-copy', 'http://localhost:8000/' + newDatabaseName + '/_find')
+      .assert.valueContains('.text-field-to-copy', newDatabaseName + '/_find')
       .clickWhenVisible('.edit-link')
       .waitForElementVisible('.prettyprint', waitTime, false)
       .clickWhenVisible('.control-toggle-api-url')
       .waitForElementVisible('.text-field-to-copy', waitTime, false)
-      .assert.value('.text-field-to-copy', 'http://localhost:8000/' + newDatabaseName + '/_index')
+      .assert.valueContains('.text-field-to-copy', newDatabaseName + '/_index')
       .end();
   }
 };


Mime
View raw message