Merge pull request #2055 from ivanov/faster-testing

speed up casperjs tests
This commit is contained in:
Kyle Kelley 2017-01-21 17:10:35 -06:00 committed by GitHub
commit f8c41bec1a
2 changed files with 1 additions and 10 deletions

View File

@ -14,9 +14,9 @@ env:
global:
- PATH=$TRAVIS_BUILD_DIR/pandoc:$PATH
matrix:
- GROUP=js/notebook
- GROUP=python
- GROUP=js/base
- GROUP=js/notebook
- GROUP=js/services
- GROUP=js/tree

View File

@ -78,15 +78,6 @@ casper.open_new_notebook = function () {
});
});
});
// Because of the asynchronous nature of SlimerJS (Gecko), we need to make
// sure the notebook has actually been loaded into the IPython namespace
// before running any tests.
this.waitFor(function() {
return this.evaluate(function () {
return IPython.notebook;
});
});
};
casper.page_loaded = function() {