Commit Graph

32 Commits

Author SHA1 Message Date
Jessica B. Hamrick
29e6885b60 Test for autorestart and failed autorestart 2014-10-08 11:30:32 -07:00
Jessica B. Hamrick
f2ad4fc176 Better way to wait inbetween tests 2014-10-08 11:30:32 -07:00
Jessica B. Hamrick
c43e06bbc4 Add test for kernel_dead.Session 2014-10-08 11:30:31 -07:00
Jessica B. Hamrick
42e863db8c Remove debugging statements 2014-10-08 11:30:31 -07:00
Jessica B. Hamrick
8d4c9e7f30 Add tests for events 2014-10-08 11:30:31 -07:00
Jessica B. Hamrick
9f1574eb6c User correct check for whether kernel is running in tests 2014-10-08 11:30:29 -07:00
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.
2014-10-06 16:04:44 -07:00
Jessica B. Hamrick
60b18ad23e Fix ReferenceError in js tests, fixes #6542 2014-10-01 00:04:33 -07:00
Paul Ivanov
b67aac5aef Merge pull request #6119 from minrk/global-events
return global events from require(['base/js/events']).
2014-07-24 12:23:14 -07:00
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)
2014-07-23 15:51:03 -07:00
MinRK
957fb42680 use global events in js tests 2014-07-23 11:06:03 -07:00
MinRK
374518c583 don’t use events !== undefined to signal page ready
it will always be defined
2014-07-23 11:05:06 -07:00
Thomas Kluyver
97c24d2920 Delete session rather than killing kernel in test cleanup 2014-07-10 23:54:32 -05:00
Jonathan Frederic
669db572f2 Fix some dialog keyboard_manager problems 2014-07-10 15:47:23 -05:00
Jonathan Frederic
2d7a4a7879 Some JS test fixes 2014-07-10 15:47:23 -05:00
jon
19cf386a20 Address comments 2014-06-06 11:12:46 -07:00
Jonathan Frederic
55cf33605f Fixed typo in util.js,
resulted from moving is_cell_rendered into util.js
2014-06-04 13:15:55 -07:00
Jonathan Frederic
f6e7312b5b Add slimerjs flag to test engine. 2014-06-04 13:12:20 -07:00
Jonathan Frederic
edbaff8400 Moved is_cell_rendered into base 2014-06-04 13:12:20 -07:00
Jonathan Frederic
359d7342d2 Make a nice assert function for properly testing locale specific colors. 2014-06-04 13:12:20 -07:00
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
2014-06-04 12:10:29 -07:00
Paul Ivanov
9631028c1e add tests for cell_type preserving insertion 2014-05-20 18:53:32 -07:00
Jonathan Frederic
7c6c0b22b8 Pythonize me captin'
Made the method comments more pythonic by moving them
within the method definitions.
2014-03-20 16:11:01 -07:00
Jonathan Frederic
147f35d899 demsemicolons 2014-03-20 16:11:01 -07:00
Jonathan Frederic
a8783c45cb Add comments 2014-03-20 16:11:01 -07:00
Jonathan Frederic
1b46a777fb Removed trigger keydown from keyboard.js,
also added a bunch of missing semicolons (jshint)
2014-03-20 16:11:01 -07:00
Jonathan Frederic
0262b724fc Move validate notebook state into utils 2014-03-20 16:11:01 -07:00
Jonathan Frederic
b9872db82b HUGE speed improvements to dual mode tests 2014-03-20 16:11:01 -07:00
Jonathan Frederic
a7dcdddd54 Fixed problem with split tests,
added new function that sets the codemirror instance cursor coords
2014-03-20 16:11:01 -07:00
Jonathan Frederic
daf40e9ec5 Moved util functions into util.js 2014-03-20 16:11:01 -07:00
Jonathan Frederic
6efa0a4dae Added get_cell_text 2014-03-20 16:11:00 -07:00
Jonathan Frederic
2da92d4d13 Moved files out of casperjs folder 2014-02-07 21:06:58 -08:00