couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject [1/2] fauxton commit: updated refs/heads/master to 985b67d
Date Wed, 13 May 2015 14:06:43 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 3c2970514 -> 985b67deb


tests: do not depend on other tests

don't depend on a testdatabase tat was created and _not_ deleted
in a previous test

PR: #411
PR-URL: https://github.com/apache/couchdb-fauxton/pull/411
Reviewed-By: Michelle Phung <michellephung@gmail.com>


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

Branch: refs/heads/master
Commit: 985b67deb263a0aec87e3841b70ec9d9865a6be6
Parents: 0157a48
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Wed May 13 13:28:33 2015 +0200
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Wed May 13 16:06:35 2015 +0200

----------------------------------------------------------------------
 app/addons/databases/tests/nightwatch/switchDatabase.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/985b67de/app/addons/databases/tests/nightwatch/switchDatabase.js
----------------------------------------------------------------------
diff --git a/app/addons/databases/tests/nightwatch/switchDatabase.js b/app/addons/databases/tests/nightwatch/switchDatabase.js
index 137bb92..dd71cea 100644
--- a/app/addons/databases/tests/nightwatch/switchDatabase.js
+++ b/app/addons/databases/tests/nightwatch/switchDatabase.js
@@ -13,9 +13,10 @@
 module.exports = {
   'Confirm selecting database via typeahead redirects properly': function (client) {
     var waitTime = client.globals.maxWaitTime,
-      newDatabaseName = client.globals.testDatabaseName;
+        newDatabaseName = client.globals.testDatabaseName;
 
     client
+      .createDatabase(newDatabaseName)
       .loginToGUI()
 
       // wait for the DB name typeahead field to appear in the header


Mime
View raw message