debugging

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

Branch: refs/heads/new-replication
Commit: d2e8a898c3c4a5703e444e4b601d4054856c96bd
Parents: eb85d4b
Author: Ben Keen <ben.k...@gmail.com>
Authored: Sun Aug 14 14:26:41 2016 -0700
Committer: Garren Smith <garren.sm...@gmail.com>
Committed: Wed Sep 14 17:22:29 2016 +0200

----------------------------------------------------------------------
 .travis.yml                                     | 2 +-
 test/nightwatch_tests/custom-commands/helper.js | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/d2e8a898/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index e9677d3..3b98a45 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,7 +19,7 @@ before_script:
   - DIST=./dist/debug ./bin/fauxton &
   - sleep 30
 script:
-  - ./node_modules/grunt-cli/bin/grunt nightwatch
+  - ./node_modules/grunt-cli/bin/grunt nightwatch --file=replication
 after_script:
   - npm run docker:down
 

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/d2e8a898/test/nightwatch_tests/custom-commands/helper.js
----------------------------------------------------------------------
diff --git a/test/nightwatch_tests/custom-commands/helper.js 
b/test/nightwatch_tests/custom-commands/helper.js
index f558d14..d30f7bc 100644
--- a/test/nightwatch_tests/custom-commands/helper.js
+++ b/test/nightwatch_tests/custom-commands/helper.js
@@ -9,6 +9,8 @@ exports.checkForDocumentCreated = function 
checkForDocumentCreated (url, timeout
   const intervalId = setInterval(() => {
 
     request(url, (er, res, body) => {
+      console.log(res);
+
       if (res && /^2..$/.test(res.statusCode)) {
         clearTimeout(timeOutId);
         console.log('check for doc created successful');

Reply via email to