2
0
mirror of https://github.com/jupyter/notebook.git synced 2025-02-17 12:39:54 +08:00
notebook/notebook/tests
Toon Baeyens b278fa67de
Make a notebook writable after successful save-as ()
* add failing test for readonly notebook

* test typing after save-as

* make notebook writable after save-as
fixes 

* fix failing test in travis
2020-05-22 08:10:40 -05:00
..
_testdata
base Fix typos () 2019-07-12 18:54:08 +01:00
mockextension
notebook Migrate Move multiselection test to selenium () 2020-05-21 03:38:22 -05:00
selenium Make a notebook writable after successful save-as () 2020-05-22 08:10:40 -05:00
services Fix typos () 2019-07-12 18:54:08 +01:00
__init__.py
launchnotebook.py Fixup tests. 2020-04-28 01:55:18 -07:00
README.md
test_config_manager.py Fix typos () 2019-07-12 18:54:08 +01:00
test_files.py
test_gateway.py Gateway only: Ensure launch and request timeouts are in sync () 2020-04-06 16:40:56 -07:00
test_hist.sqlite
test_i18n.py
test_nbextensions.py remove py2 dependence 2019-10-20 15:56:11 +08:00
test_notebookapp_integration.py Feedback: add socket usage check on bind and test. 2020-05-13 01:53:28 -07:00
test_notebookapp.py Add UNIX socket support to notebook server. 2020-04-28 00:54:50 -07:00
test_paths.py remove py2 dependence 2019-10-20 15:56:11 +08:00
test_serialize.py
test_serverextensions.py remove py2 dependence 2019-10-20 15:56:11 +08:00
test_utils.py
util.js Fix typos () 2019-07-12 18:54:08 +01:00

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.