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:
@ -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;
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user