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
MinRK
0da66543a0
move security js test
12 years ago
Brian E. Granger
07cdb1e195
Adding first round of security tests of is_safe.
12 years ago
Thomas Kluyver
9c5f9e3a35
Merge pull request #5265 from ellisonbg/timeout-error
...
Missing class def for TimeoutError
12 years ago
Brian E. Granger
b1c87debde
Adding comment about this fix.
12 years ago
Brian E. Granger
dd55efc45d
Missing class def for TimeoutError.
12 years ago
Brian E. Granger
af7dd15181
Removing old keyboard handling from IPython.utils.
12 years ago
Brian E. Granger
929f5bc8ea
Fixing references to IPython.keycodes.
12 years ago
Brian E. Granger
c76ab1d836
Adding basic tests for keyboard.js
12 years ago
MinRK
e02308e436
capture logging in a few tests
...
this could probably be made more general,
but these were the two places I noticed log output.
12 years ago
MinRK
386274488d
don't create notebook_dir if it doesn't exist
12 years ago
MinRK
cb25736a24
reorganize who knows what about paths
...
- add NotebookApp.notebook_dir
- add KernelManager.root_dir
- remove NotebookManager.notebook_dir, move to FileNBM.notebook_dir
Default value for KM.root_dir and fNBM.notebook_dir is NotebookApp.notebook_dir, but they can be configured separately.
SessionManager passes the API path to KernelManager,
which is responsible for turning it into the kernel's cwd.
12 years ago
Jonathan Frederic
82bbcf166d
Fixed .. typo
12 years ago
Jonathan Frederic
cecf7cf06f
Fixed radio button selector for new radio button class
12 years ago
Thomas Kluyver
d6986cf4ec
Merge pull request #4778 from minrk/install-nbextensions
...
add APIs for installing notebook extensions
12 years ago
MinRK
1ed5b184fb
test installing nbextensions with symlink
12 years ago
MinRK
8353e85e48
test check_nbextension
12 years ago
Jonathan Frederic
3d408f5241
Added a test to make sure full state was not getting sent.
12 years ago
Jonathan Frederic
fbf700e5d2
Fixed typo in new test
12 years ago
Jonathan Frederic
a173e684c6
Added test that shows the problem.
12 years ago
Brian E. Granger
38c369c0d8
Updating JS tests README.md.
12 years ago
Brian E. Granger
89c1aa2010
Merge pull request #5062 from minrk/js-test-races
...
adjust some events in nb_roundtrip
12 years ago
MinRK
e14172d851
adjust some events in nb_roundtrip
...
hopefully should address some intermittent failures due to race conditions
12 years ago
MinRK
7cb4321bfe
test unicode path in dashboard_nav
12 years ago
MinRK
f3664e1beb
support URLs and zip/tarballs in install_extension
12 years ago
MinRK
704b349302
add IPython.html.nbextensions.install_nbextension
...
for installing files into IPYTHONDIR/nbextensions
12 years ago
Jonathan Frederic
94a7a7fd3a
Whoops, put kernel.js in the wrong folder
12 years ago
Jonathan Frederic
23f2bdf734
Made the folders map 1-to-1 with those in static
12 years ago
Jonathan Frederic
2da92d4d13
Moved files out of casperjs folder
12 years ago
Jonathan Frederic
a07d24adb9
Move tests out into parent directories
12 years ago
Jonathan Frederic
063656343b
Moved notebook tests around.
12 years ago
Min RK
cd7c1e6fae
Merge pull request #5001 from ellisonbg/dashboard-dirs
...
Add directory navigation to dashboard
12 years ago
Brian E. Granger
eb9e0be218
Small refactoring of is_hidden to take root as default kwarg.
12 years ago
Brian E. Granger
009367666a
Fixing test_files tests.
12 years ago
Brian E. Granger
243392d810
Creating and testing IPython.html.utils.is_hidden.
12 years ago
Brian E. Granger
e765f894b6
Merge pull request #5023 from jdfreder/widget-arrays
...
Widgets- add ability to pack and unpack arrays on JS side.
12 years ago
Jonathan Frederic
4b9cb92247
Added support for RuntimeArray
12 years ago
Jonathan Frederic
74b2f5c542
Added debug log to see what is happening...
12 years ago
Jonathan Frederic
836742dc59
Added test for pack and unpack Model functions
12 years ago
Brian E. Granger
6ac7f6c2b4
Fixing casperjs tests to run on casperjs 1.0.x.
12 years ago
Brian E. Granger
717f031e01
Adding dashboard navigation tests for dir browsing.
12 years ago
Brian E. Granger
350705075b
Merge pull request #5012 from minrk/selection-dict
...
Make `SelectionWidget.values` a dict
12 years ago
MinRK
cc791f2a56
update selection test with null selection being invalid
12 years ago
Min RK
978a5c1bc2
Merge pull request #4952 from jdfreder/widget-tests
...
Widget test inconsistencies
add wait_for_widget
12 years ago
Matthias BUSSONNIER
bb27cd0de5
more subtle kernel indicator
...
add casper.wait_for_busy
like wait_for_idle, but busy
restore kernel notification widget
it's still used for interrupt / restart
use wait_for_busy in check_interrupt test
12 years ago
MinRK
3e1f2e22f8
Make `SelectionWidget.values` a dict
...
rename 'labels' and '_value' to 'value_names' and 'value_name'.
To specify a mapping of value names and values, use a dict.
If you specify `values=[list]`, then an OrderedDict will be used.
Assignment after construction only supports a dict.
12 years ago
Jonathan Frederic
b9e48b3d6c
Use wait_for_widget in widgets and string widget tests
12 years ago
Min RK
003c5e8eda
Merge pull request #4971 from ellisonbg/testjs-fd
...
Fixing issues with js tests
12 years ago
Jonathan Frederic
a2044fd463
Remove sleep from the following,
...
Button, float, int, multicontainer, selection widgets.
12 years ago
Brian E. Granger
aa71651468
Fixing issues with js tests.
...
* Closing old pages to prevent fd leaks.
* Making sure kernels are killed to prevent fd leaks.
* Moving towards deleting old notebooks (this is not done, but
this should be merged as is).
12 years ago
Jonathan Frederic
d68112885b
Use waitFor instead of sleeping.
12 years ago
Brian E. Granger
8445ab1899
Fixing tests from shift and ctrl enter swap.
12 years ago
MinRK
5142cc775d
remove superfluous then
12 years ago
MinRK
a6ece94e32
add utils.wait_for_idle in js tests
...
and use it in execute_cell_then, since there is not always output.
12 years ago
Brian E. Granger
7c722d4b6c
Merge pull request #4824 from minrk/sign-notebooks
...
sign notebooks
12 years ago
MinRK
ecfa10b3b3
update shutdown_notebook
...
now that get_output_cell raises if there is no such output
12 years ago
MinRK
5e60741e5c
adjustments to nb_roundtrip.js
...
A few waits, little changes to get it running with recent changes
12 years ago
MinRK
d07e03b7c9
add wait_for_output(cell, index)
...
so you can wait for at least n outputs
12 years ago
Brian E. Granger
ffe92842fc
Merge pull request #4853 from minrk/imgmd
...
fix setting image height/width from metadata
12 years ago
MinRK
3c2ff965ef
get_output_cell fails with no such output
...
rather than returning null
12 years ago
Brian E. Granger
bc7b51d1b0
Merge pull request #4374 from jdfreder/widget-msg
...
IPEP 23: Backbone.js Widgets
12 years ago
Jonathan Frederic
8312534cac
Fixed Accordion test broken by last commit
12 years ago
Jonathan Frederic
75b148d40b
Renamed widgets...
...
TextWidget, TextareaWidget, CheckboxWidget, and SelectWidget
12 years ago
MinRK
63eb905a02
try assertType instead of NotEquals, null
12 years ago
MinRK
119052f75d
first review pass on widget tests
12 years ago
Min RK
64421304c0
Merge pull request #4826 from Carreau/no-html
...
some $.html( -> $.text(
12 years ago
Matthias BUSSONNIER
e99756c6d5
mv kerneljs_test to kernel_test
12 years ago
MinRK
2cbb633cb4
test displaying images with shape metadata
12 years ago
Jonathan Frederic
dc9f81e75d
Fixed bug in selection widget tests.
12 years ago
Matthias BUSSONNIER
25e68b3a75
typo
12 years ago
Matthias BUSSONNIER
03a2cb6535
fix js formatting
12 years ago
Matthias BUSSONNIER
4ecf5c8e5b
add kernel test
12 years ago
Paul Ivanov
9b7c8b0473
make the JS test fail
12 years ago
Jonathan Frederic
9560b29beb
Removed float widget bound tests,
...
once the int widget inherits from the float, or vise-versa, the tests
will be covered by the int
12 years ago
Matthias BUSSONNIER
cbe162297f
XSS casper test
12 years ago
Jonathan Frederic
7ce9f37b17
Made tests reflect changes to widget naming scheme.
12 years ago
Jonathan Frederic
c39050e642
Fixed widget_manager instance test.
12 years ago
Matthias Bussonnier
0ec0534ce9
Merge pull request #4796 from minrk/update-components
...
update components
closes #4765
12 years ago
Jonathan Frederic
16d9fa92e8
Fix test for selection widgets
12 years ago
Jonathan Frederic
4017c7b27a
Fixed *almost* all of the test-detected bugs
12 years ago
Jonathan Frederic
c085593e2a
More fixes
12 years ago
Jonathan Frederic
d103c682c5
Many checks off the todo list, test fixes
12 years ago
Jonathan Frederic
0c8b6029a6
Remove debug print statements in container tests
12 years ago
Jonathan Frederic
d2afb9895b
Output one more for debugging
12 years ago
Jonathan Frederic
7f430db3c8
Print cell output
12 years ago
Jonathan Frederic
12760ddbe5
deleted: wigets_container.js
12 years ago
Jonathan Frederic
74fccf47b3
Revert "Added line to dump page html casperjs"
...
This reverts commit 7091ce87f7a280dde7724d92fd542b834f764e61.
12 years ago
Jonathan Frederic
c7362cb524
Added line to dump page html casperjs
12 years ago
Jonathan Frederic
2e4abaa13d
Removed console.log, unused
12 years ago
Jonathan Frederic
399f11e2b2
renamed: wigets_container.js -> widgets_container.js
12 years ago
Jonathan Frederic
c3189c1c93
Fixed JS tests to reflect Jason's changes
12 years ago