Matthias Bussonnier
f8fe41dd67
add test warning shadow
11 years ago
Matthias Bussonnier
7ae250bbeb
Merge pull request #6693 from minrk/please-no-jsonp
...
set contentType='application/json'
11 years ago
MinRK
95355e6ff2
Merge pull request #6624
...
closes #6656
closes #6399
11 years ago
MinRK
7c2083aa60
test saving with problematic cell contents
11 years ago
Jessica B. Hamrick
8896b538b5
Add regression tests for live notebook
11 years ago
MinRK
9e425bf94b
move binary msg test to services/serialize
11 years ago
MinRK
11f5775103
test binary websocket messages
...
only runs on slimerjs for now
11 years ago
MinRK
3de7e9bd74
test websocket-friendly binary message roundtrip
...
Python-side
11 years ago
Jessica B. Hamrick
37c2419c5e
Rename all status_event to kernel_event
11 years ago
Jessica B. Hamrick
e5a5bdcdd3
Handle and test for failed restart in session.js
11 years ago
Jessica B. Hamrick
29e6885b60
Test for autorestart and failed autorestart
11 years ago
Jessica B. Hamrick
f2ad4fc176
Better way to wait inbetween tests
11 years ago
Jessica B. Hamrick
fe2402f99d
Increase wait time between tests
11 years ago
Jessica B. Hamrick
7f8b95a661
Add status_ready.Kernel event and rename status_started to status_created
11 years ago
Jessica B. Hamrick
c43e06bbc4
Add test for kernel_dead.Session
11 years ago
Jessica B. Hamrick
42e863db8c
Remove debugging statements
11 years ago
Jessica B. Hamrick
01ba501b88
Fix event tests
11 years ago
Jessica B. Hamrick
8d4c9e7f30
Add tests for events
11 years ago
Jessica B. Hamrick
b9cf034d51
Add some more kernel tests
11 years ago
Jessica B. Hamrick
befe8eb720
Update session tests
11 years ago
Jessica B. Hamrick
99f686918b
Fix kernel and session tests
11 years ago
Jessica B. Hamrick
9f1574eb6c
User correct check for whether kernel is running in tests
11 years ago
Mateusz Paprocki
ff5b4c6874
Test IPython.utils.fixConsole() (really ansispan())
11 years ago
Jonathan Frederic
d2df98ce1a
Fix conflict with d1305d7510cc3
11 years ago
Manuel Riel
a490488f62
remove commented-out code
11 years ago
Manuel Riel
67f2322a8c
simplify bin-file test
11 years ago
Manuel Riel
0e95bd9eda
remove unused import in test_files.py
11 years ago
Thomas Kluyver
95b857b679
Merge pull request #6637 from minrk/notice-python-error
...
Check for Python errors in js tests
11 years ago
Jonathan Frederic
60531c917f
Merge pull request #6481 from jdfreder/intvalidatefix
...
Fix bug in bounded int/float logic.
11 years ago
MinRK
845c7b4700
Check for Python errors in js tests
...
When running a cell in the js tests,
this checks for any errors and treats them as a failure.
Helps avoid confusion caused by silently ignoring failures in Python code.
11 years ago
Manuel Riel
28d4444def
2 checks for python2 and python3)
11 years ago
Manuel Riel
bb8e33d70d
fix bin-file test in ipython3
11 years ago
Manuel Riel
775ea55206
another shot at bin-tests on python3
11 years ago
Manuel Riel
c6d548fbeb
correctly handle base64 and json, improve bin-file test
11 years ago
Manuel Riel
dc352a334b
Use \xFF in bin file test
11 years ago
Manuel Riel
2268268a9d
add tests for file download via ContentsManager
11 years ago
Matthias Bussonnier
0d9db64180
Merge pull request #6582 from jdfreder/symmetric_state
...
Symmetric widget get/set_state
11 years ago
Min RK
28edb94897
Merge pull request #6488 from jhamrick/lock-cells
...
Proof of concept for preventing cell deletion via metadata
11 years ago
Jessica B. Hamrick
60b18ad23e
Fix ReferenceError in js tests, fixes #6542
11 years ago
Jonathan Frederic
852ec2ab69
s/_handle_receive_state/set_state in tests too
11 years ago
Jessica B. Hamrick
6f49f4b78e
Add tests for notification area and widgets
11 years ago
Jessica B. Hamrick
756d4063c3
Fix tests
11 years ago
Jessica B. Hamrick
a018cb4299
Add tests for undeletable cells
11 years ago
Jonathan Frederic
aec576a5f2
Fix infinite loop typo
11 years ago
Brian E. Granger
4ec1a3b41e
Merge pull request #6235 from jdfreder/addclass
...
Remove add/remove_class and set/get_css.
12 years ago
Jonathan Frederic
aa04d40a8d
Added test
12 years ago
Jonathan Frederic
02d7039a00
Cleaned up hbox and vbox widget div styles,
...
removed 5px margin
12 years ago
Matthias Bussonnier
97e99d0661
Merge pull request #6412 from takluyver/sessions-rest-api-fix
...
Sessions rest api fix
12 years ago
MinRK
6cee444630
make default cell type configurable
...
- adds IPython.notebook.default_cell_type
- default is 'code' (matching IPython 2.0)
- special heuristic values include:
- 'selected': default to selected cell (current master behavior)
- 'above': default to cell above
- 'below': default to cell below
12 years ago
Thomas Kluyver
4c4af25734
Fix failure message for tests
12 years ago
MinRK
58ecfc2376
catch any exception while waiting to connect
...
requests 2.4 changed the exception type for a failed connection
12 years ago
Jonathan Frederic
cb9014e42c
Fixed rebase bugs and other bugs.
12 years ago
Jonathan Frederic
1797243f7a
Fix tests
12 years ago
MinRK
fb0421107c
minor fixes in dashboard tests
...
events and regular expressions weren't quite right, which could cause occasional test failures.
12 years ago
Brian E. Granger
4b22230896
Merge pull request #6305 from minrk/switch-kernel-close-ws
...
JS: close WebSockets when killing kernels
12 years ago
Jonathan Frederic
a12b302597
renamed: widget_container.js -> widget_box.js
12 years ago
Jonathan Frederic
0aca365718
Address Sylvain's comments.
12 years ago
MinRK
e3696996be
JS: close WebSockets when killing kernels
...
by calling Kernel.stop_channels() in Session.delete and Kernel.kill
12 years ago
Jonathan Frederic
d985ee86c6
s/Container/Box
12 years ago
Jonathan Frederic
ba3033971e
Renamed *Widget to *,
...
depracted old names.
12 years ago
Jonathan Frederic
ba0a805404
Merge pull request #6226 from jasongrout/css-top-default
...
Remove $el_to_style from the widget javascript code; '' now defaults to this.$el
12 years ago
MinRK
6cce477e07
rename notebooks service to contents service
...
minimal functional changes, committing because tests are passing.
12 years ago
Paul Ivanov
fd53a306c4
Merge pull request #6197 from ivanov/set-text-rendered
...
changing text of cell should reset rendered status
12 years ago
Jonathan Frederic
083671a572
Fix js-tests for new default selector logic.
12 years ago
Jonathan Frederic
ee64b60e69
Don't screenshot in the ImageWidget test,
...
instead verify that the base64 makes it to the page and
assume that the browser knows how render it correctly.
12 years ago
Paul Ivanov
b67aac5aef
Merge pull request #6119 from minrk/global-events
...
return global events from require(['base/js/events']).
12 years ago
Paul Ivanov
781702febf
test: changing text of cell resets rendered status
12 years ago
Thomas Kluyver
d9850e1ab4
Merge pull request #6144 from minrk/show-js-errors
...
add some debugging output to js tests
12 years ago
MinRK
41e482d47a
fix interrupt test revealed by new output
...
the shortcut test wasn’t running at all,
due to a ReferenceError.
There was no indication of this fact
because javascript is awesome like that.
12 years ago
MinRK
1f0646f893
add some debugging output to js tests
...
- display errors in evaluate / browser code
- capture and display console.log if a test fails (like nose)
12 years ago
MinRK
957fb42680
use global events in js tests
12 years ago
MinRK
374518c583
don’t use events !== undefined to signal page ready
...
it will always be defined
12 years ago
MinRK
a643de41d8
test coalesced output in js
12 years ago
Thomas Kluyver
97c24d2920
Delete session rather than killing kernel in test cleanup
12 years ago
Thomas Kluyver
6efbe46b73
Update JS for kernels and sessions APIs
12 years ago
Jonathan Frederic
2478fac032
More requirejs fixes
12 years ago
Jonathan Frederic
669db572f2
Fix some dialog keyboard_manager problems
12 years ago
Jonathan Frederic
2d7a4a7879
Some JS test fixes
12 years ago
Jonathan Frederic
63f136af2b
Fixed test to reflect new Bootstrap3 toggle button behavior.
12 years ago
Jonathan Frederic
22812d36b3
Use waits instead of sleeps.
12 years ago
Jonathan Frederic
5acb525c43
Wait for keyboard help fadein and fadeout.
12 years ago
Brian E. Granger
eab07229ef
Merge pull request #5617 from jdfreder/bootstrap3
...
Migrate from Bootstrap 2 to Bootstrap 3
12 years ago
Thomas Kluyver
82e2ea7e47
Merge pull request #5323 from jdfreder/slimerjs
...
Add support for Firefox JS testing
12 years ago
Jonathan Frederic
329a387f4f
Fix automation errors.
12 years ago
Jonathan Frederic
d88daf1bb7
Ran jdfreder/bootstrap2to3
12 years ago
jon
19cf386a20
Address comments
12 years ago
Jonathan Frederic
55cf33605f
Fixed typo in util.js,
...
resulted from moving is_cell_rendered into util.js
12 years ago
Jonathan Frederic
f6e7312b5b
Add slimerjs flag to test engine.
12 years ago
Jonathan Frederic
edbaff8400
Moved is_cell_rendered into base
12 years ago
Jonathan Frederic
359d7342d2
Make a nice assert function for properly testing locale specific colors.
12 years ago
Jonathan Frederic
7dfa8fbe79
Some cleanup
12 years ago
Jonathan Frederic
04c66666e9
Fix for xvfb SlimerJS environment.
12 years ago
Jonathan Frederic
f23f970e4c
Make int widget tests play nicely with slimer
12 years ago
Jonathan Frederic
fb6bb02b26
Make notebook tests play nicely with SlimerJS
...
- notebook/dualmode_markdown.js
- notebook/safe_append_output.js
12 years ago
Jonathan Frederic
85e1dafe6c
Fix isolated svg color tests so 'rgb()' colors are accepted
12 years ago
Jonathan Frederic
578e3c562a
Fixed image test for slimerjs
12 years ago
Jonathan Frederic
99a0013525
Adde slimerjs support to JS tests
...
This commit contains 16 more, squashed commits:
Added slimerjs flag
Fixed some bugs with flag code
Figured out how to add arg correctly
Cleanup
Improvements to the test framework for FF
Log to see if slimmer is actually running
Added print in controller to debug
Added full logging to casperjs
Remove the special logging logic since it was caussing a failure
remove notebook.dirty = false line in favor of
overwritting onbeforeunload.
Capture output for slimerjs
Fixed iptestcontroller rebase issues
Fixed rebase issues.
Wait for notebook to load completely before testing
Fixed stdout capture for slimerjs tests.
Clean-up comments in util.js
Added slimerjs to Travis
Fixed indent .travis.yml
Comment out slimerjslauncher env var.
Removed zmq flag which doesn't work there anyways,
it was added by me in a recent commit
Fixed travis yaml,
broken because of rebase
12 years ago
Jonathan Frederic
f6da79e1e1
Update JS markdown tests.
12 years ago
Paul Ivanov
9631028c1e
add tests for cell_type preserving insertion
12 years ago
MinRK
378223e791
fix safe_append_output test
12 years ago
MinRK
de0b7f140c
move pyout/execute_result and pyerr/error transforms to to/fromJSON
...
like the mime-type maps
12 years ago
MinRK
38c76aa913
pyout -> execute_result
...
nbformat and nbconvert are not affected
12 years ago
MinRK
f530562929
wait until dead *before* cleaning up the temp dir
12 years ago
Jessica B. Hamrick
2ce77e945f
Add javascript tests for placeholder feature
12 years ago
Thomas Kluyver
982aab67ba
Merge pull request #5290 from jdfreder/dual_tests
...
Add dual mode JS tests
12 years ago
Min RK
b294bf7059
Merge pull request #5404 from jdfreder/accordion
...
Fix broken accordion widget
12 years ago
Jonathan Frederic
db2e16f2e1
Added a test
12 years ago
Jonathan Frederic
e235b47472
Make test name match actually file name
12 years ago
Jonathan Frederic
744f057cab
get_text() before returning results
12 years ago
Jonathan Frederic
af03114ef6
s/set_cell_text/set_cells_text
12 years ago
Jonathan Frederic
42fa583172
Fix split shortcut
12 years ago
Jonathan Frederic
b80e11d3ce
Plus to minus shortcuts rebase fixes
12 years ago
Jonathan Frederic
9c6d904f71
Set cursor pos in edit mode before attempting to jump cells.
12 years ago
Jonathan Frederic
ca71afc5ea
Note to self
12 years ago
Jonathan Frederic
1754e3291a
Call trigger_keydown in merge_cells_api test
12 years ago
Jonathan Frederic
7c6c0b22b8
Pythonize me captin'
...
Made the method comments more pythonic by moving them
within the method definitions.
12 years ago
Jonathan Frederic
baa28a0b81
Final fixes?
12 years ago
Jonathan Frederic
ae2b0800cf
Partial fix of problems b/c keydown move
12 years ago
Jonathan Frederic
147f35d899
demsemicolons
12 years ago
Jonathan Frederic
a8783c45cb
Add comments
12 years ago
Jonathan Frederic
1b46a777fb
Removed trigger keydown from keyboard.js,
...
also added a bunch of missing semicolons (jshint)
12 years ago
Jonathan Frederic
1f4db77aec
Cleaned up test names and locations.
12 years ago
Jonathan Frederic
0262b724fc
Move validate notebook state into utils
12 years ago
Jonathan Frederic
b9872db82b
HUGE speed improvements to dual mode tests
12 years ago
Jonathan Frederic
a7dcdddd54
Fixed problem with split tests,
...
added new function that sets the codemirror instance cursor coords
12 years ago
Jonathan Frederic
daf40e9ec5
Moved util functions into util.js
12 years ago
Jonathan Frederic
c73bef017d
Added split merge tests
12 years ago
Jonathan Frederic
23ca387dd7
cutcopyandpaste
12 years ago
Jonathan Frederic
6efa0a4dae
Added get_cell_text
12 years ago
Jonathan Frederic
ddc2161817
Added ctrl+(j&k), a, and b tests
12 years ago
Jonathan Frederic
26e3d14f81
Fixed state type for new markdown cell
12 years ago
Jonathan Frederic
1094299934
Added up/down and markdown tests
12 years ago
Jonathan Frederic
13908b60a4
Fixed typo in dd test
12 years ago
Jonathan Frederic
e647e13162
Add dd tests
12 years ago
Jonathan Frederic
4f6884f985
Add test for cell type modifier keyboard shortcuts
12 years ago
Jonathan Frederic
55773dd95a
Made *+enter tests more complicated.
12 years ago
Jonathan Frederic
9bd0ac19bf
sep. fucntions to move to util.js
12 years ago
Jonathan Frederic
2b800d3360
Add '_only' to only cell methods
12 years ago
Jonathan Frederic
241b62a37a
Move code into is_cell_editor_focused
12 years ago
Jonathan Frederic
86fef90a8c
Make a few more methods public,
...
in preparation to move them into the base utils.js
12 years ago
Jonathan Frederic
c43044d514
s/_is_cell_on/is_cell_on
12 years ago
Jonathan Frederic
6a834223da
s/_is_cell_editor_focused/is_cell_editor_focused
12 years ago
Jonathan Frederic
45bbcc949e
s/key_press/trigger_keydown
12 years ago
Jonathan Frederic
0f5f3a27f5
Add dual mode JS tests
12 years ago
Paul Ivanov
4cf1717980
use - for shortcut separators
12 years ago
MinRK
d4780c2cfc
remove security.is_safe
12 years ago
MinRK
4d35660f3c
sanitize CSS
...
rather than removing it entirely
12 years ago
MinRK
d7b1e8b45b
test style
12 years ago
MinRK
a7dc526b2b
testing for sanitize
12 years ago
MinRK
4b01948200
check trust of data-attributes in sanitization
12 years ago