Min RK
978a5c1bc2
Merge pull request #4952 from jdfreder/widget-tests
...
Widget test inconsistencies
add wait_for_widget
2014-02-04 12:14:31 -08:00
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
2014-02-04 11:40:39 +01:00
Jonathan Frederic
a2044fd463
Remove sleep from the following,
...
Button, float, int, multicontainer, selection widgets.
2014-01-31 11:48:51 -08:00
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).
2014-01-31 10:42:23 -08:00
MinRK
5142cc775d
remove superfluous then
2014-01-29 18:06:50 -08:00
MinRK
a6ece94e32
add utils.wait_for_idle in js tests
...
and use it in execute_cell_then, since there is not always output.
2014-01-29 17:33:06 -08:00
MinRK
d07e03b7c9
add wait_for_output(cell, index)
...
so you can wait for at least n outputs
2014-01-29 14:37:00 -08:00
MinRK
3c2ff965ef
get_output_cell fails with no such output
...
rather than returning null
2014-01-28 18:44:50 -08:00
Jonathan Frederic
74fccf47b3
Revert "Added line to dump page html casperjs"
...
This reverts commit 7091ce87f7a280dde7724d92fd542b834f764e61.
2014-01-16 10:57:13 +00:00
Jonathan Frederic
c7362cb524
Added line to dump page html casperjs
2014-01-16 10:57:12 +00:00
Jonathan Frederic
ced0de342d
Cleaned up utilities in widget casper js tests
2014-01-16 10:57:06 +00:00
Paul Ivanov
5423613ef3
add test for custom mimetypes
2014-01-12 13:54:47 -08:00
Jonathan Frederic
81af3b1781
Fixed bug where cell was not getting inserted because index is optional.
2013-12-04 22:10:14 +00:00
Jonathan Frederic
c38ee4700d
Added new utility functions to the casper.js testing utils.
2013-12-04 22:09:44 +00:00
Paul Ivanov
2ab51dc1a5
yet another JS race condition fix
...
this should greatly reduce the number of timeouts seen in the JS tests
2013-11-01 19:10:45 -07:00
Paul Ivanov
80ac24683f
give travis 10 seconds to start server
2013-10-23 12:28:30 -07:00
Paul Ivanov
e971d051ed
created a kernel_running method
2013-10-23 11:05:59 -07:00
Paul Ivanov
baf90fd755
add checks for new cell added using shift-enter
2013-10-23 11:05:59 -07:00
Paul Ivanov
89f2ed95f9
refactor of get_output_cell
2013-10-23 11:05:59 -07:00
Paul Ivanov
df2118297b
wait_for_output utility function
2013-10-23 11:05:58 -07:00
Paul Ivanov
23a7eb325d
make sure kernel started running
2013-10-23 11:05:58 -07:00
Paul Ivanov
e8fba5dd6d
try to shutdown at the end of every notebook run
...
this line causes noise in the test suite, but if we just ignore it,
we'll never get to the bottom of it. It seems to only happen when
running 'iptest js', and *not* when running the 'casperjs test' command
directly, with a notebookserver that was launched manually.
2013-10-23 11:05:58 -07:00
Paul Ivanov
7e7ac7ec9e
don't shutdown kernel after every test
2013-10-23 11:05:58 -07:00
Paul Ivanov
ebf1320e64
use dashboard to simulate clicking new notebook
2013-10-23 11:05:58 -07:00
Paul Ivanov
f2e0315152
pep8 style function names
2013-10-23 11:04:56 -07:00
Paul Ivanov
0ea7d1e394
more informative message on server timeout
2013-10-23 11:03:12 -07:00
Paul Ivanov
3725218069
updated js tests README, --port= now optional
2013-10-23 11:03:12 -07:00
Paul Ivanov
c6c5066162
don't try to delete notebooks
...
this method wasn't currently working, and though we should put a working
method there as a utility, it isn't strictly necessary, since the whole
directory will be deleted
2013-10-23 11:03:12 -07:00
Paul Ivanov
5f4c695aab
start and use notebook server for js test suite
2013-10-23 11:03:12 -07:00
Paul Ivanov
6d7758271e
make casperjs test suite pass again
2013-10-23 11:03:11 -07:00
Paul Ivanov
928e846ea8
jstest moved to new place, closes #3125
2013-10-23 11:03:11 -07:00