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 <[email protected]> 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 <[email protected]> Authored: Wed May 13 13:28:33 2015 +0200 Committer: Robert Kowalski <[email protected]> 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
