couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [11/29] fauxton commit: updated refs/heads/new-replication to b0541e1
Date Wed, 21 Sep 2016 15:19:02 GMT
continued


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

Branch: refs/heads/new-replication
Commit: ee5ccc64327cb06ad164716e195258ec882fc798
Parents: 5ce467b
Author: Ben Keen <ben.keen@gmail.com>
Authored: Sun Aug 14 15:21:34 2016 -0700
Committer: Garren Smith <garren.smith@gmail.com>
Committed: Wed Sep 14 17:22:30 2016 +0200

----------------------------------------------------------------------
 app/addons/replication/tests/nightwatch/replication.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/ee5ccc64/app/addons/replication/tests/nightwatch/replication.js
----------------------------------------------------------------------
diff --git a/app/addons/replication/tests/nightwatch/replication.js b/app/addons/replication/tests/nightwatch/replication.js
index 54cb8f8..79bf7f6 100644
--- a/app/addons/replication/tests/nightwatch/replication.js
+++ b/app/addons/replication/tests/nightwatch/replication.js
@@ -41,6 +41,7 @@ module.exports = {
 
     client
       .createDatabase(newDatabaseName1)
+      .checkForDatabaseCreated(newDatabaseName1, waitTime)
       .createDocument(docName1, newDatabaseName1)
       .loginToGUI()
       .url(baseUrl + '/#replication')
@@ -68,7 +69,7 @@ module.exports = {
       .click('.enter-password-modal button.save')
 
       // now check the database was created
-      .checkForDatabaseCreated(newDatabaseName1, waitTime, true)
+      .checkForDatabaseCreated(replicatedDBName, waitTime, true)
 
       // lastly, check the doc was replicated as well
       .url(baseUrl + '/' + newDatabaseName1 + '/' + docName1)
@@ -91,8 +92,10 @@ module.exports = {
 
       // create two databases, each with a single (different) doc
       .createDatabase(newDatabaseName1)
+      .checkForDatabaseCreated(newDatabaseName1, waitTime)
       .createDocument(docName1, newDatabaseName1)
       .createDatabase(newDatabaseName2)
+      .checkForDatabaseCreated(newDatabaseName2, waitTime)
       .createDocument(docName2, newDatabaseName2)
 
       // now login and fill in the replication form


Mime
View raw message