You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Thomas Kluyver c4c49b71ea
Wait for 'New' dropdown button to be clickable for Selenium tests
8 years ago
..
_testdata Add tests for attachments insert menuitem 10 years ago
base test runtime-loading of modules 10 years ago
mockextension Squash some bugs and write unit tests 10 years ago
notebook Update tests 8 years ago
selenium Wait for 'New' dropdown button to be clickable for Selenium tests 8 years ago
services stop using Allow76 9 years ago
README.md Update tests/README.md to point towards using notebook.jstest instead of iptest 10 years ago
__init__.py s/jupyter_notebook/notebook 11 years ago
launchnotebook.py Undo patches in teardown before attempting to delete files 8 years ago
test_config_manager.py ConfigManager does not write out default values found in the .d directory 8 years ago
test_files.py Added a flag to allow access of hidden files (#2819) 9 years ago
test_hist.sqlite s/jupyter_notebook/notebook 11 years ago
test_i18n.py Work on loading UI translations (#2969) 9 years ago
test_nbextensions.py renamed manager.py to config_manager.py and added more docstrings 9 years ago
test_notebookapp.py Fix test for SystemExit error 9 years ago
test_paths.py s/jupyter_notebook/notebook 11 years ago
test_serialize.py s/jupyter_notebook/notebook 11 years ago
test_serverextensions.py renamed manager.py to config_manager.py and added more docstrings 9 years ago
test_utils.py The root directory of the notebook server should never be hidden (#2907) 9 years ago
util.js speed up casperjs tests 10 years ago

README.md

IPython Notebook JavaScript Tests

This directory includes regression tests for the web notebook. These tests depend on CasperJS, which in turn requires a recent version of PhantomJS.

The JavaScript tests are organized into subdirectories that match those in static (base, notebook, services, tree, etc.).

To run all of the JavaScript tests do:

python -m notebook.jstest 

To run the JavaScript tests for a specific file (base/utils.js in this case) do:

python -m notebook.jstest base/utils.js

The file jstest.py will automatically launch a notebook server to run the tests against. You can however specify the url of a running notebook server by using --url=http://localhost:8888.