Commit Graph

49 Commits

Author SHA1 Message Date
Matthias Bussonnier
4e2dfe2527 Some code cleanup in javascript and python
change patern that are prone to error, like function redifinition
and other.
2014-12-27 21:39:07 +01:00
Jonathan Frederic
09b289d932 Merge pull request #7274 from Carreau/global-command
make global css change on command/edit mode
2014-12-23 18:20:19 -08:00
Matthias Bussonnier
b003b62de4 Actually test that the j-nth cell. 2014-12-23 22:29:51 +01:00
Jonathan Frederic
6e86c7645b Fix JS test new button selector 2014-12-23 12:15:06 -08:00
Bussonnier Matthias
9c959ce6b1 correct variable name 2014-12-19 15:50:48 +01:00
Bussonnier Matthias
15ab64e884 make global css change on command/edit mode 2014-12-19 15:20:16 +01:00
Jonathan Frederic
0d591619c6 Make all tests async display safe 2014-11-15 08:49:44 -08:00
Jonathan Frederic
56c5020a84 bool_test passing with slimerjs 2014-11-15 08:49:44 -08:00
Jonathan Frederic
8c149c9112 Current state with lots and lots of debugging junk 2014-11-15 08:48:35 -08:00
Jonathan Frederic
6ee932f298 Add rsvp to setupbase 2014-11-15 08:48:35 -08:00
Jonathan Frederic
26d012b3b7 Add comment clarifying new hook function,
Refined Page Error output.
2014-11-15 08:48:35 -08:00
Jonathan Frederic
17108fed3b Make errors clearer! 2014-11-15 08:48:35 -08:00
Jonathan Frederic
66caa322c5 Make Page Error output clearer 2014-11-15 08:48:35 -08:00
Jonathan Frederic
5366cef17d Fix an issue in the kernel_running function of the JS tests,
This fix allows the JS test to be ran against a remote server
with a higher than LAN latency.  This bug in our testing
framework was exposed when running `iptest js/widgets --url`
against tmpnb.
2014-10-21 16:43:30 -07:00
Jonathan Frederic
fc3178e13e Make order of operations more explicit. 2014-10-21 14:28:28 -07:00
Jonathan Frederic
c3b1bf795e Add --url option to iptest 2014-10-20 20:29:01 -07:00
Jessica B. Hamrick
37c2419c5e Rename all status_event to kernel_event 2014-10-08 11:30:32 -07:00
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