mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Merge pull request #2055 from ivanov/faster-testing
speed up casperjs tests
This commit is contained in:
commit
f8c41bec1a
@ -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
|
||||
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user