feat(test): add e2e tests for benchmarks and examples

Disables running the actual benchmarks on every commit as well
to speed up the build.
This commit is contained in:
Tobias Bosch
2015-01-08 10:02:23 -08:00
parent 8c6527251b
commit 14e91e209e
14 changed files with 232 additions and 4 deletions

View File

@ -27,10 +27,11 @@ var config = exports.config = {
onPrepare: function() {
browser.ignoreSynchronization = true;
var _get = browser.get;
var sleepInterval = process.env.TRAVIS ? 5000 : 1000;
var sleepInterval = process.env.TRAVIS ? 5000 : 2000;
browser.get = function() {
var result = _get.apply(this, arguments);
browser.sleep(sleepInterval);
return _get.apply(this, arguments);
return result;
}
},