Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
authordiosmosis <benakamoorthi@fastmail.fm>2014-03-03 11:57:16 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-03-03 11:57:16 +0400
commit7e58b9ebd290b4a24ea633833d7e41b6bdc055b2 (patch)
tree4a0d6a14dc090c9f967b1eee65525b7169b2d64c /tests/lib
parentbfd55ae90544386be95bdc9417665afb72566e45 (diff)
Debugging travis failures (and disabling more tests).
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/screenshot-testing/run-tests.js2
-rw-r--r--tests/lib/screenshot-testing/support/diff-viewer.js2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/screenshot-testing/run-tests.js b/tests/lib/screenshot-testing/run-tests.js
index 6ddde1d92f..b36c67fb63 100644
--- a/tests/lib/screenshot-testing/run-tests.js
+++ b/tests/lib/screenshot-testing/run-tests.js
@@ -27,6 +27,8 @@ if (options['help']) {
app.printHelpAndExit();
}
+options['tests'] = ['Dashboard']; // TODO: remove after debugging testing done
+
app.init();
app.loadTestModules();
app.runTests(); \ No newline at end of file
diff --git a/tests/lib/screenshot-testing/support/diff-viewer.js b/tests/lib/screenshot-testing/support/diff-viewer.js
index 54844dc576..c5a882ee39 100644
--- a/tests/lib/screenshot-testing/support/diff-viewer.js
+++ b/tests/lib/screenshot-testing/support/diff-viewer.js
@@ -50,6 +50,8 @@ DiffViewerGenerator.prototype.generate = function (callback) {
var self = this;
this.generateDiffs(function () {
+ console.log("DIFF DIR: " + self.diffDir);
+ console.log(JSON.stringify(fs.list(self.diffDir)));
var diffViewerContent = "<html>\
<head></head>\
<body>\