sheshtawy
17e46a7cd6
Remove js test file
8 years ago
sheshtawy
1283f27908
Add tests for insertion above/below multiple selected cells
8 years ago
sheshtawy
0acdea70d9
Remove markdown cells assertions since they're not useful anymore
8 years ago
sheshtawy
ebf27aa94c
Remove unnecessary imports
8 years ago
sheshtawy
a46f5b81a1
Add assertions for insert below and above cell commands in command mode and also after editing cells in edit mode
8 years ago
sheshtawy
c4adc5266f
Update utils.py to resolve merge conflict
8 years ago
arovitn
5b0bc68e77
[WIP] [3335] Converting prompt_numbers.js test to selenium
8 years ago
sheshtawy
8daa5f51b4
Add a couple of utility functions to help get a single cell's content and type
8 years ago
sheshtawy
95f02a7437
Initial commit: Add selenium tests for dualmode insert cell
8 years ago
sheshtawy
bdfdd24c7e
Move some utility functions from the test module to the utils.py module
8 years ago
sheshtawy
b097da2867
Delete tests
...
Update to use the updated notebook fixture
8 years ago
sheshtawy
5e57a51055
Remove unnecessary comments
8 years ago
sheshtawy
a47ecd4c07
Move notebook fixture to deletetest file to minimize the dependency on changes in PR #3475 . This should be update once that PR is merged
8 years ago
sheshtawy
2ef45d5577
Add tests to make sure copied cells are deletable
8 years ago
sheshtawy
a0e89b618d
Add tests for deletable cells and non-deleteable cells
8 years ago
hkshesht
835211f039
Initial commit to convert deletecell.js to selenium
8 years ago
Maarten Breddels
0d194cd397
ConfigManager does not write out default values found in the .d directory
8 years ago
Thomas Kluyver
45b8bb9c62
Remove converted JS undelete test
8 years ago
Thomas Kluyver
40e996956a
Finish making Selenium undelete test
8 years ago
Thomas Kluyver
08072107ae
Start writing undelete test in Selenium
8 years ago
Thomas Kluyver
b49ba398c6
Move fixture into conftests.py
8 years ago
Thomas Kluyver
fc8bbb44ca
Delete unused imports
8 years ago
Thomas Kluyver
faa0cab302
Merge pull request #3458 from mpacer/selenium_utils
...
Selenium utils + markdown rendering tests
8 years ago
Thomas Kluyver
7266fd53b0
Remove unused variant of append for now
8 years ago
Thomas Kluyver
a6f604a540
No need for copy
8 years ago
Thomas Kluyver
c23ba2a87f
Docstrings and naming clarity
8 years ago
M Pacer
515f8e22dc
nicer error and use append directly do not iterate over cells
8 years ago
M Pacer
74af79c89d
Improve docstrings & comments; Remove unused code; Relocate script
8 years ago
M Pacer
79603b496f
add quick_notebook utility and give docstring reminder to quit browsers
8 years ago
M Pacer
3c4596bfdf
Take into account lab as a potential endpoint for the driver
8 years ago
M Pacer
d598ef517f
switch fstring to format string
8 years ago
M Pacer
c081af5690
add other markdown string conversion examples for test
8 years ago
M Pacer
7808a89fd3
make append actually append to the end of cell list
8 years ago
M Pacer
0999798949
use new utilities, enable more markdown cells to be added easily
8 years ago
M Pacer
33ca649b0b
add get_rendered_contents helper function
8 years ago
M Pacer
d9dd5d8f1c
add run_all method
8 years ago
M Pacer
5e43458d7d
add append, extend & coerce_to_cell methods
8 years ago
M Pacer
98c09f8fd0
use index method to get cell index in execute_cell
8 years ago
M Pacer
02e0ac38a4
fix add_cell logic, add content param, edit_cell default not render
8 years ago
M Pacer
bf4868dfc4
remove wait_for_selector call inside self.cells property
8 years ago
M Pacer
e9971a97aa
simplify __getitem__ __setitem__ to handle only ints/slices and ints
...
also adds todo to add slice support back to __setitem__
8 years ago
M Pacer
c16dac22ca
use new rich container __*__ methods to make adding & executing nicer
8 years ago
M Pacer
e183fc1627
enrich signature for execute_cell to accept both index and cell directly
8 years ago
Thomas Kluyver
dc1eeab2f3
Merge pull request #3412 from mpacer/update_selenium_tests
...
Update selenium tests
8 years ago
M Pacer
3571f1604f
introduce cell __iter__, & __setitem__/__getitem__ for cells & indices
...
__getitem__ also accepts slices
also introduces __len__
8 years ago
M Pacer
5d19785e87
small changes to naming things
8 years ago
M Pacer
ebef7bae4c
create new_notebook classmethod creating/switching to new Notebook page
8 years ago
M Pacer
a112ab6d2a
add select_kernel function for clicking "new" & selecting a kernel
8 years ago
M Pacer
d634f1d0a1
add new_window contextmanager for creating, switching, & waiting on new page
8 years ago
M Pacer
3615d4af7c
enhance wait_for_selector to handle returning single elements
8 years ago
M Pacer
3092800a46
add wait_for_selector to the cells property and to_command_mode
8 years ago
M Pacer
c220215aa8
use wait_for_selector from utils module in test_dashboard_nav
8 years ago
M Pacer
e0ed2c475f
make authenticated browser module scope fixture for permission reasons
8 years ago
M Pacer
bf39dec1ef
move sauce driver logic into isolated function, simplify selenium_driver
8 years ago
M Pacer
86ae162890
add first markdown test and a notebook fixture for new notebook
8 years ago
M Pacer
e2243d6f60
add method that allows you to close the notebook without confirming
8 years ago
M Pacer
2b7f549498
Add add_cell and add_markdown_cell methods
8 years ago
M Pacer
4b6a0a7c44
Add CellTypeError and convert_cell_type and wait_for_stale_cell methods
8 years ago
M Pacer
3d3086e98a
add edit_cell and execute_cell methods; remove focus_cell edit parameter
8 years ago
M Pacer
c9a850492d
add body property
8 years ago
M Pacer
f9dd7c16e7
add basic cell functionality to Notebook class
8 years ago
M Pacer
0994db204a
Introduce Notebook class and give usage example in quick_selenium
8 years ago
M Pacer
7c659f5963
add quick_selenium script for quickly starting up a selenium interactively
8 years ago
M Pacer
9d4cf94d28
add utils module and wait_for_selector
8 years ago
M Pacer
e688774b86
add explicit url_in_tree function to test whether urls are in the tree
8 years ago
M Pacer
f17e775a2c
add jupyter_server_info to authenticated browser fixture
8 years ago
M Pacer
47d2be4a5e
move check & wait from only_dir_links to get_list_items; add docstrings
8 years ago
M Pacer
c8605f189b
use only_dir_links inside test to avoid clicking '..' or non-dir links
8 years ago
M Pacer
f4c90eb5d2
introduce only_dir_links function to extract tree links from listing
8 years ago
Thomas Kluyver
2a476148e3
Undo patches in teardown before attempting to delete files
8 years ago
M Pacer
1f549fcce4
change dashboard test to click on links, go back, and check for contents
8 years ago
M Pacer
965970a17a
creates selenium driver(session-scope) & authenticated_browser fixtures
...
Originally written by @takluyver while pair programming
8 years ago
Min RK
f77e3435cf
tornado 5 fixes in tests
...
- start asyncio loop explicitly in notebook thread (tornado 4 starts per-thread loops automatically, asyncio doesn’t)
- remove unsupported ‘io_loop=‘ arg in websocket test
application runs fine with tornado 5, just a few test bits needed updating
8 years ago
Thomas Kluyver
aa9c977880
Testing with Selenium & Sauce labs ( #3321 )
...
* Initial selenium test
* Try configuring Travis to run selenium tests on Sauce
* Encryption key needs to be for my account, not jupyter
* Install selenium on Travis
* Get more data from server info file
* Set cwd when launching notebook server
Will this help on Travis?
* Use JUPYTER_TEST_BROWSER=chrome to test with Chrome
* Debugging test
* Separate fixtures into conftest.py
* Try with --Cls.a=b option syntax
* Try using sauce labs directly, not through Travis proxy
* Back to using proxy, with http instead of https
Idea from https://stackoverflow.com/questions/48236104/ssl-errors-using-
sauce-labs-in-travis-ci-with-selenium-webriver-tests-django-pr
* Specify browserName in desired_capabilities for Sauce
* Try connecting to Sauce for only some jobs in matrix
* Exclude selenium tests from regular test run
* Remove redundant JS test for dashboard navigation (converted to Selenium)
* Re-enable other tests
* Exclude selenium tests on Appveyor
* Later browser versions are available on Windows
* Try running tests with Firefox 57 instead of 58
* Try running with local Firefox on Travis
* Install geckodriver for Selenium tests
* Untar the right version of geckodriver
* Try stepping back one version of Firefox again
8 years ago
Mac Knight
9b9c19186d
changed test to reflect new id
8 years ago
Daniel Farrell
605eaa72be
Added a flag to allow access of hidden files ( #2819 )
...
* Added a flag to allow access of hidden files
The flag '--allow-hidden' will allow Tornado to access hidden files
such as '.images/my_img.jpg'
* Fixed jupyterlab not following allow-hidden
Jupyterlab stores its options in a different location than the
standard notebook. Added the ability to check there as well.
* Updated implementation for any app
Previously I was accessing the settings dict based on the name of
the app that was being used. ex 'NotebookApp', or 'LabApp'.
Now the setting is passed directly into the Tornado settings, and
can be accessed via a more general method.
* Added/fixed unit tests for test_hidden_files
Fixed broken unit tests by setting the default to allow_hidden=False
then added unit test in FilesTest:test_hidden_files that checks for
the accessibility of files with allow_hidden=True
* allow-hidden now works everywhere
Previously allow-hidden flag only allowed hidden files to be accessed via
tornado. Now you can use the allow-hidden flag to access hidden directories and
files via the filebrowser.
* Remove --allow-hidden alias
* Move allow_hidden option onto ContentsManager
* Use try/finally to ensure allow_hidden option is set back to False after test
* Allow access to hidden files, but don't list them for now
* Simplify hidden check for listing again
* Fix indentation
8 years ago
maartenbreddels
772544e60f
renamed manager.py to config_manager.py and added more docstrings
9 years ago
maartenbreddels
5a48049887
make unittest non-pytest compatible
9 years ago
maartenbreddels
89b32e4412
allow default json files in a .d directory, original PR: ipython/traitlets#452
9 years ago
Thomas Kluyver
15f393b49c
Merge pull request #3000 from takluyver/stop-cmd-http
...
Send HTTP shutdown request on 'stop' subcommand
9 years ago
Thomas Kluyver
e7f69cc2d7
Work on loading UI translations ( #2969 )
...
* Load translations for Javascript in page template
* Normalise language codes to gettext format with underscores
* .mo files need to be under LC_MESSAGES as well
* remove unused JS code
* Normalise result in test
* Fix for opening files on Py 2
* Fix location of I18N directory
* Add translation files to package_data
9 years ago
Thomas Kluyver
64105856f4
Fix test for SystemExit error
9 years ago
Thomas Kluyver
7248772f72
Update test for 'jupyter notebook stop'
9 years ago
Thomas Kluyver
12592ef3bb
The root directory of the notebook server should never be hidden ( #2907 )
...
* The root directory of the notebook server should never be hidden
Closes gh-2382
* Test that root dir is not hidden
9 years ago
Min RK
ed139a1cea
avoid base64-literals in image tests
...
use Python variables storing raw bytes
9 years ago
Thomas Kluyver
5a0ee98441
Merge pull request #2767 from minrk/filename
...
use RFC5987 encoding for filenames
9 years ago
M Pacer
2fac7003e2
changed all python variables named file to file_name to not override built_in file
9 years ago
Min RK
d6a534ec5b
use RFC5987 encoding for filenames
...
as described in RFC 6266 describing Content-Disposition
9 years ago
Kyle Kelley
469b1c84be
Merge pull request #2402 from gnestor/utf-8
...
Specify `charset=UTF-8` when serving non-base64 files
9 years ago
Grant Nestor
9e5ba0ccbe
Update test
9 years ago
Thomas Kluyver
b93820bf4c
Merge pull request #2419 from minrk/notebook-stop
...
minor cleanup in 'jupyter notebook stop'
9 years ago
Min RK
9e84fe332c
test notebook stop
9 years ago
Min RK
31219f0447
stop using Allow76
...
since we are using phantomjs 2, we don't need the old websocket implementation anymore
which is broken with tornado 4.5, anyway
9 years ago
Min RK
96044f6c80
test updating execute_result
9 years ago
Min RK
f510806ff2
fix wait condition in display_id test
...
it was always waiting the maximum time because the condition was never met
9 years ago
Kyle Kelley
ead73b9efa
Merge pull request #2220 from delftswa2017/fix-issue-980
...
Fixed issue #980 : incorrect LaTeX capturing and MathJax rendering
9 years ago
michaelpacer
b7b6ec2ad2
Added more test cases, added spacing so that it was technically valid
9 years ago
michaelpacer
9a817f7bf0
Add test for LaTeX parsing
9 years ago
Min RK
0ebcb7a65f
test tags cell toolbar
9 years ago
Matthias Bussonnier
9dd3818a00
Merge pull request #2134 from Carreau/rtl-prompt
...
Better handeling or RTL prompts
9 years ago
Matthias Bussonnier
f06aca718a
Wrap prompts in bdi for rtl layout
9 years ago
Min RK
f63880700d
copying cells copies attachments
...
add test to verify
9 years ago
Matthias Bussonnier
4a16c37caa
Merge pull request #2111 from minrk/patch-env
...
disable all config in tests
9 years ago
Min RK
236198571b
test dirs are paths, not TempDir objects
9 years ago
Min RK
f0d5ccb208
disable all config in tests
...
avoids in-env config from polluting test environment
9 years ago
Min RK
1797f34210
test merging serverextensions from sys and user config
...
and refactor mock test environment a bit
ensures no system config files loaded or affected
9 years ago
kikocorreoso
4c9f130953
fix issue with OS in tests
9 years ago
kikocorreoso
97263161e4
fix and tests for the issue related with the trailing slash using 'nbextension install' (see #2069 )
9 years ago
Grant Nestor
3cbb5700cc
Add `test_view_html`
9 years ago
Min RK
eb73920cbf
Merge pull request #2070 from ivanov/halt-kernel
...
Add "Shutdown" item to Kernel menu
9 years ago
Paul Ivanov
051e430f98
fix tests
...
along with a minor whitespace inconsistency introduced in an earlier
commit.
9 years ago
Paul Ivanov
03e410ba61
rename Halt to Shutdown
9 years ago
Paul Ivanov
95790be956
kernel halt confirmation dialog
9 years ago
Thomas Kluyver
f5072cf434
Merge pull request #1827 from minrk/kernel-activity
...
add activity watching to kernels
9 years ago
Paul Ivanov
eb3377cc45
speed up casperjs tests
...
This code claimed to be required for SlimerJS, but our test suite does
not currently pass on SlimerJS (and does no better or worse without this
code).
With PhantomJS, however, this eliminates a ~10s startup cost for each
file which uses notebook_test, and all of the tests continue to pass.
There are ~40 files using this, the bult of them in the js/notebook
section, which should now run 5-6 minutes faster as a result.
9 years ago
Min RK
2a5f8d2e17
add token auth to kernel websocket test
9 years ago
Thomas Kluyver
666ecbf35c
Merge pull request #2011 from minrk/unwebpack
...
unwebpackify
9 years ago
Kyle Kelley
f5f97d1f93
Merge pull request #2007 from minrk/password
...
add `jupyter notebook password` entrypoint
9 years ago
Min RK
035fc91fa9
test runtime-loading of modules
...
verify that runtime-required modules are the same as those used to build the classes
(this is the primary motivator for the rollback of webpack)
9 years ago
Min RK
16a751c4d6
fix attachments test
...
Don't try to pass non-JSONable data across evaluate boundary
9 years ago
Min RK
003ce4e71a
reimpelement casper.thenClick
...
using jquery.
default implementation doesn't seem to trigger events.
9 years ago
Min RK
7839d32cfe
remove test for reverted deprecated paths
9 years ago
Min RK
a69494833b
forward-port fixes
9 years ago
Min RK
f871d64e6e
exercise password app
9 years ago
Min RK
8e141df890
run Python tests with a token
...
exercises token auth
9 years ago
Min RK
3c0da28764
add missing waits for output in display_id tests
10 years ago
Min RK
a2f7325537
fix carriage return handling
...
The only real fix is an errant `+` on the final replacement, which would end up skipping sequential replacements.
- leaves trailing `\r` on the text, if there is one
- use groups to avoid unnecessary replace calls (no change)
- includes test
10 years ago
Jason Grout
1864fe5adb
Some tests for output callback overrides.
10 years ago
Thomas Kluyver
e6fb7e65e9
Merge pull request #1650 from Carreau/predicatable-extensions
...
Load extension in predictable order.
10 years ago
Kyle Kelley
6df840e19d
Merge pull request #1879 from minrk/display_data_update
...
support routing updating outputs with display_id
10 years ago
Kyle Kelley
389b0b0730
Merge pull request #1831 from minrk/server-token
...
enable token-authentication by default
10 years ago
Min RK
4439a19d24
test display_id handling
10 years ago
Thomas Kluyver
1de0423448
Improve performance of directory listing
...
- stat() the file once and reuse the result to save on syscalls. Not as
good as using scandir(), but should still help.
- Don't re-check if parent directories are hidden for each file in the
directory.
Could do with testing on Windows.
10 years ago
Min RK
bf249669e1
call it token
...
login_token is redundant
10 years ago
Min RK
3ba68d8cb7
enable token-authentication by default
...
- add NotebookApp.login_token, used when NotebookApp.password is not set
- store login_token, bool(password) in notebook server-info file
- `jupyter notebook list` shows pasteable URLs with token
General changes:
- notebook servers are now authenticated by default
- first connect with token sets a cookie
- once a user has logged into one server with a token, their browser is logged in to
all subsequent servers on the same system+port until cookie_secret changes
10 years ago
Min RK
92d3f4235d
Merge pull request #1359 from blink1073/generic-session
...
Update the session api in preparation for file and console sessions
10 years ago
Matthias Bussonnier
26471897ef
Define SimpleNamespace on python 2
10 years ago
Matthias Bussonnier
5210701803
Add test for predictable extension loading.
10 years ago
Min RK
0b7435b474
add one missing skip_win32 in nbextension symlink tests
...
all the other symlink tests are already skipped
10 years ago
Min RK
03af493062
put NotebookNotary signature db in memory for tests
...
avoids cleanup issues on Windows
10 years ago
Min RK
f3ed84e679
Windows-compat: os.sep instead of hardcode /
10 years ago
Min RK
d52e1e2419
Restore loading of options_default in text cells
...
fixes omitted codemirror config due to ignoring options_default.
load options_default via config defaults (modifying options_default at runtime has no effect).
10 years ago
Min RK
53ab302a98
Merge pull request #1573 from takluyver/fix-backspace-in-output
...
Process backspace characters in output
10 years ago
Thomas Kluyver
e83d490a89
Fix silly Javascript
10 years ago
Thomas Kluyver
e7d1950aaf
Add tests and hope
10 years ago
Scott Sanderson
d5856dc8b0
TEST: Use addCleanup in test_nbextensions.
...
This ensures that resources/patches created during setUp are torn down
correctly even if setUp fails.
10 years ago
Justin Tyberg
7002b18dcb
Allow root user to run tests.
...
(c) Copyright IBM Corp. 2015
10 years ago
Matthias Bussonnier
ab85f165c7
Create shortcut editor for the notebook
...
1) finish the step allowing the use of es6
- this include some tweak to web pack configuration to speed up
recompile in watch mode (in particular cache sourcemaps).
- enable eslint (error only), on obvious mistakes.
- setup babel to compile to es5 as a target.
2) Make the test pass under Casper that does not always have
`Function.prototype.bind` defined, which we cannot patch only in the
tests.
3) Write an actual shortcut editor that list and allow to modify most of
the command mode shortcut.
The logic to persist the shortcuts is a bit tricky as there are default
keyboard shortcuts, and so when you "unbind" them you need to re-unbind
them at next startup. This does not work for a few shortcut for
technical reasons: `<Esc>`, `<Shift>`, as well as `<Ctrl-Shift-P>` and `<F>`
which register asynchronously, so are not detected as "default"
shortcuts.
10 years ago
Steven Silvester
4850790461
Update the session model and the test
10 years ago
Steven Silvester
8f8730788d
Clean up the api and update tests
10 years ago
Steven Silvester
5d8a0aba8b
Remove extraneous test
10 years ago
Matthias Bussonnier
79088c5341
Check forhasOwnProperty in for-in loop.
10 years ago
Matthias Bussonnier
1096410fcf
Try es6 and add a few features for shortcut editor.
10 years ago
Min RK
39121b7d4b
avoid writing nbextension config to user dir during tests
...
mock jupyter environment variables during nb/server-extension tests
10 years ago
Min RK
1d16b302be
wait for render events in markdown test
...
render callback is async,
so we have to wait for the render event to fire.
10 years ago
Bernd Schwarzenbacher
cc3e6e9213
Possible fix with failing test
...
Maybe the test is wrong
10 years ago
Bernd Schwarzenbacher
08bd284f0d
Add tests describing behaviour of #1209
10 years ago
Min RK
c3b547c17e
some tests, fixes for nbextension aliases
...
- fix some undefined aliases, tests for help output
- make uninstall symmetrical with install
10 years ago
Julien Rebetez
cf1e849fc6
Move the unused attachments garbage collection logic to TextCell.toJSON.
...
This enable to keep all attachments in memory and only garbage collect
on the JSON that is saved to disk.
This fixes #1185
10 years ago
Min RK
41d6da235c
Merge pull request #879 from ellisonbg/nbext-pain
...
New nbextensions installation API
10 years ago
Matthias Geier
9d052588b5
Update ANSI tests
10 years ago
Julien Rebetez
b1a0ca0116
Use casper.open() instead of casper.start() to open the dashboard.
...
Calling casper.start() multiple times causes casper to skip subsequent
then().
Fix #1204
10 years ago
Jason Grout
a7b122f524
Add more kernel message buffer tests.
10 years ago
Nicholas Bollweg
19c65b606a
changing extension enable/disable configuration default to --user
10 years ago
Jason Grout
b38f74758b
Add tests for notebook cell execution buffering.
10 years ago
Min RK
3feea61802
Merge pull request #775 from maartenbreddels/master
...
new feature: NotebookApp.password_required forces user to have a password
10 years ago
Nicholas Bollweg
77725985c1
adding test for non-python nbextension
10 years ago
Nicholas Bollweg
7859e9d7e7
adding more tests for validation, cleaning up validation return values
10 years ago
Nicholas Bollweg
f3074fde93
logging, removing redundant implementations
10 years ago
Min RK
233f04428d
Merge pull request #621 from julienr/inline_images
...
Implement markdown cell attachments. Allow drag’n’drop of images into…
10 years ago
Maarten A. Breddels
b9d106a808
implemented changes as discussed at PR 775, password generation moved to module
10 years ago
Maarten A. Breddels
dc311c51a8
new feature: NotebookApp.password_required, when enabled will only run with a password present. If not present, will ask the user for it. This is useful in a multi user environment, for instance when everybody in the LAN can access each other's machine though ssh.
10 years ago
Min RK
d618b4f21f
allow notebook-dir to be root
...
we were stripping `/`, which is fine except when that's the whole string,
which we were then interpreting as `''`, which gives the CWD.
This is a regression in 4.1
10 years ago
Matthias Bussonnier
174d772e75
remove verbosity
10 years ago
Matthias Bussonnier
eb87e16ccb
Minor style fixes
10 years ago
Jonathan Frederic
b5c4e98fe8
Get the serverextensions stuff to work and add unit tests for it
10 years ago
Jonathan Frederic
54dd9c525a
Squash some bugs and write unit tests
...
Fix the new tests
10 years ago
Julien Rebetez
93201ddece
Update tests/README.md to point towards using notebook.jstest instead of iptest
10 years ago
Julien Rebetez
f50474d60d
Add test for attachments garbage collection
10 years ago
Julien Rebetez
51cab51f1c
Add Copy/Paste cell attachments test
10 years ago
Julien Rebetez
6cc468db52
Add tests for attachments insert menuitem
10 years ago
Thomas Kluyver
843e9a181a
Merge pull request #1136 from minrk/close-restart-channel
...
channel.closed is a method
10 years ago
Min RK
6b82621b9a
Merge pull request #1130 from takluyver/daemonic-test-server
...
Mark thread for test server as daemonic
10 years ago
Min RK
ba161b06dd
teardown zmq Context explicitly at the end of each test group
...
Increases the chances of noticing when we aren't cleaning up our sockets properly.
10 years ago
Thomas Kluyver
ce3dd80391
Mark thread as daemon in a way that Python 2 supports
10 years ago
Thomas Kluyver
c1a2a26551
Mark thread for test server as daemonic
...
I don't understand how, but I suspect that the threaded server is
somehow involved in the hangs we see after the tests complete. This
marks it as daemonic so that if it somehow escapes it won't keep the
test process alive.
10 years ago
Jonathan Frederic
68cd52bd22
Enable deprecated import of auth/main
10 years ago
Jonathan Frederic
dd57cded75
Fix the new deprecated names test
10 years ago
Jonathan Frederic
4b0aa51ce7
Don't load main files - they should never be referenced anyways,
...
they break things by resetting global page state.
Also put URL in string
10 years ago
Jonathan Frederic
8dba4eccdd
Add unit tests for deprecated requirejs API
10 years ago
Brian Lange
a1acd448ed
Replace 'subtract' with '-' in existing tests
10 years ago
Matthias Bussonnier
b520b57f2f
Merge pull request #1049 from parleur/nested_svg
...
Nested svg
10 years ago
Min RK
4d64519f12
Merge pull request #969 from minrk/undelete-stack
...
multiple-undo for cell deletion
10 years ago
Pierre Gerold
f8d2af1632
draft for nested svg test, not working
10 years ago
Thomas Kluyver
15581d9567
Ensure user site packages is on PYTHONPATH for notebook test server
10 years ago
Min RK
5eec6a5951
fix multi-cell undelete ordering
...
and test multi-cell undelete at both the top and bottom of the notebook
10 years ago
Min RK
f0cb481cb2
add select_cells test utility
...
selects [included,excluded) semi-open range, like Python conventions.
10 years ago
Min RK
89b75c21e2
multiple-undo for cell deletion
...
use a stack for undelete_backup instead of a singleton
avoids data loss on multiple undelete
10 years ago
Matthias Bussonnier
9ab90bd835
fix regex
10 years ago
Sylvain Corlay
859e1c77b6
Test based on css selection
11 years ago