Commit Graph

297 Commits

Author SHA1 Message Date
Jonathan Frederic
083671a572 Fix js-tests for new default selector logic. 2014-07-30 12:10:56 -07:00
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.
2014-07-25 11:21:52 -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
Thomas Kluyver
d9850e1ab4 Merge pull request #6144 from minrk/show-js-errors
add some debugging output to js tests
2014-07-23 16:20:01 -07:00
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.
2014-07-23 15:51:03 -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
MinRK
a643de41d8 test coalesced output in js 2014-07-22 15:21:15 -07:00
Thomas Kluyver
97c24d2920 Delete session rather than killing kernel in test cleanup 2014-07-10 23:54:32 -05:00
Thomas Kluyver
6efbe46b73 Update JS for kernels and sessions APIs 2014-07-10 23:54:31 -05:00
Jonathan Frederic
2478fac032 More requirejs fixes 2014-07-10 15:47:23 -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
Jonathan Frederic
63f136af2b Fixed test to reflect new Bootstrap3 toggle button behavior. 2014-06-10 17:32:17 -07:00
Jonathan Frederic
22812d36b3 Use waits instead of sleeps. 2014-06-10 17:23:21 -07:00
Jonathan Frederic
5acb525c43 Wait for keyboard help fadein and fadeout. 2014-06-10 16:36:02 -07:00
Brian E. Granger
eab07229ef Merge pull request #5617 from jdfreder/bootstrap3
Migrate from Bootstrap 2 to Bootstrap 3
2014-06-10 10:51:50 -07:00
Thomas Kluyver
82e2ea7e47 Merge pull request #5323 from jdfreder/slimerjs
Add support for Firefox JS testing
2014-06-09 15:02:14 -07:00
Jonathan Frederic
329a387f4f Fix automation errors. 2014-06-09 12:05:37 -07:00
Jonathan Frederic
d88daf1bb7 Ran jdfreder/bootstrap2to3 2014-06-09 12:05:37 -07: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
7dfa8fbe79 Some cleanup 2014-06-04 13:12:20 -07:00
Jonathan Frederic
04c66666e9 Fix for xvfb SlimerJS environment. 2014-06-04 13:12:20 -07:00
Jonathan Frederic
f23f970e4c Make int widget tests play nicely with slimer 2014-06-04 12:10:29 -07:00
Jonathan Frederic
fb6bb02b26 Make notebook tests play nicely with SlimerJS
- notebook/dualmode_markdown.js
- notebook/safe_append_output.js
2014-06-04 12:10:29 -07:00
Jonathan Frederic
85e1dafe6c Fix isolated svg color tests so 'rgb()' colors are accepted 2014-06-04 12:10:29 -07:00
Jonathan Frederic
578e3c562a Fixed image test for slimerjs 2014-06-04 12:10:29 -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
Jonathan Frederic
f6da79e1e1 Update JS markdown tests. 2014-06-04 10:35:58 -07:00
Paul Ivanov
9631028c1e add tests for cell_type preserving insertion 2014-05-20 18:53:32 -07:00
MinRK
378223e791 fix safe_append_output test 2014-05-06 22:41:24 -07:00
MinRK
de0b7f140c move pyout/execute_result and pyerr/error transforms to to/fromJSON
like the mime-type maps
2014-05-06 22:41:24 -07:00
MinRK
38c76aa913 pyout -> execute_result
nbformat and nbconvert are not affected
2014-05-06 22:39:01 -07:00
MinRK
f530562929 wait until dead *before* cleaning up the temp dir 2014-05-02 11:00:39 -07:00
Jessica B. Hamrick
2ce77e945f Add javascript tests for placeholder feature 2014-04-17 16:51:02 -04:00
Thomas Kluyver
982aab67ba Merge pull request #5290 from jdfreder/dual_tests
Add dual mode JS tests
2014-03-27 15:03:14 -07:00
Min RK
b294bf7059 Merge pull request #5404 from jdfreder/accordion
Fix broken accordion widget
2014-03-24 18:08:17 -07:00
Jonathan Frederic
db2e16f2e1 Added a test 2014-03-24 17:00:43 -07:00
Jonathan Frederic
e235b47472 Make test name match actually file name 2014-03-24 15:32:38 -07:00
Jonathan Frederic
744f057cab get_text() before returning results 2014-03-20 16:22:54 -07:00
Jonathan Frederic
af03114ef6 s/set_cell_text/set_cells_text 2014-03-20 16:15:24 -07:00
Jonathan Frederic
42fa583172 Fix split shortcut 2014-03-20 16:12:42 -07:00
Jonathan Frederic
b80e11d3ce Plus to minus shortcuts rebase fixes 2014-03-20 16:11:02 -07:00
Jonathan Frederic
9c6d904f71 Set cursor pos in edit mode before attempting to jump cells. 2014-03-20 16:11:02 -07:00
Jonathan Frederic
ca71afc5ea Note to self 2014-03-20 16:11:02 -07:00