Paul Ivanov
9b7c8b0473
make the JS test fail
2014-01-22 14:45:20 -08:00
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
2014-01-22 12:12:08 -08:00
Matthias BUSSONNIER
cbe162297f
XSS casper test
2014-01-22 08:34:47 +01:00
Jonathan Frederic
7ce9f37b17
Made tests reflect changes to widget naming scheme.
2014-01-21 16:52:37 -08:00
Jonathan Frederic
c39050e642
Fixed widget_manager instance test.
2014-01-17 16:32:58 +00:00
Matthias Bussonnier
0ec0534ce9
Merge pull request #4796 from minrk/update-components
...
update components
closes #4765
2014-01-16 09:53:07 -08:00
Jonathan Frederic
16d9fa92e8
Fix test for selection widgets
2014-01-16 10:57:19 +00:00
Jonathan Frederic
4017c7b27a
Fixed *almost* all of the test-detected bugs
2014-01-16 10:57:19 +00:00
Jonathan Frederic
c085593e2a
More fixes
2014-01-16 10:57:18 +00:00
Jonathan Frederic
d103c682c5
Many checks off the todo list, test fixes
2014-01-16 10:57:17 +00:00
Jonathan Frederic
0c8b6029a6
Remove debug print statements in container tests
2014-01-16 10:57:13 +00:00
Jonathan Frederic
d2afb9895b
Output one more for debugging
2014-01-16 10:57:13 +00:00
Jonathan Frederic
7f430db3c8
Print cell output
2014-01-16 10:57:13 +00:00
Jonathan Frederic
12760ddbe5
deleted: wigets_container.js
2014-01-16 10:57:13 +00: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
2e4abaa13d
Removed console.log, unused
2014-01-16 10:57:12 +00:00
Jonathan Frederic
399f11e2b2
renamed: wigets_container.js -> widgets_container.js
2014-01-16 10:57:12 +00:00
Jonathan Frederic
c3189c1c93
Fixed JS tests to reflect Jason's changes
2014-01-16 10:57:12 +00:00
Jonathan Frederic
f1986755ec
Removed button.close() test because it caused the test framework to hang
2014-01-16 10:57:08 +00:00
Jonathan Frederic
43bd3ae2ef
Organized tests.
2014-01-16 10:57:08 +00:00
Jonathan Frederic
8853e40905
Added throttling test
2014-01-16 10:57:08 +00:00
Jonathan Frederic
aae6970944
Added StringWidget tests
2014-01-16 10:57:08 +00:00
Jonathan Frederic
a3a8a1efb1
Added list modification test to selection widget.
2014-01-16 10:57:08 +00:00
Jonathan Frederic
401997580e
Added selection widget tests
2014-01-16 10:57:08 +00:00
Jonathan Frederic
df2c5d7d06
Removed js test utils commit and rebased with master.
...
Also add test to see if selection widgets are atleast displayed.
2014-01-16 10:57:08 +00:00
Jonathan Frederic
4ec03f00d9
Partially implemented selection widget tests
2014-01-16 10:57:08 +00:00
Jonathan Frederic
d398ab6720
Added multicontainer widget tests
2014-01-16 10:57:08 +00:00
Jonathan Frederic
35e74c41b8
Added int range and int widget tests.
2014-01-16 10:57:08 +00:00
Jonathan Frederic
2ae3e86b50
Added ImageWidget tests
2014-01-16 10:57:07 +00:00
Jonathan Frederic
b66bd65e75
Added float widget tests
2014-01-16 10:57:07 +00:00
Jonathan Frederic
a880181297
Added float range widget tests
2014-01-16 10:57:07 +00:00
Jonathan Frederic
5e01a6bb1e
Uncommented parent/child test that was failing
2014-01-16 10:57:06 +00:00
Jonathan Frederic
b020a0b129
Add container tests
2014-01-16 10:57:06 +00:00
Jonathan Frederic
1865d07928
Added bool widget value toggle tests
2014-01-16 10:57:06 +00:00
Jonathan Frederic
9a15dca291
Added test to check initial states of bool views
2014-01-16 10:57:06 +00:00
Jonathan Frederic
e2143d5a8f
Added basic bool widget tests
2014-01-16 10:57:06 +00:00
Jonathan Frederic
0b580b9f9a
Make widget tests use new casper util functions
2014-01-16 10:57:06 +00:00
Jonathan Frederic
ced0de342d
Cleaned up utilities in widget casper js tests
2014-01-16 10:57:06 +00:00
Jonathan Frederic
b53802472b
Added button tests
2014-01-16 10:57:06 +00:00
Jonathan Frederic
9d8a0f62f1
Basic test widget button.
2014-01-16 10:57:06 +00:00
Jonathan Frederic
8daa879087
Fixed casperjs widget tests
...
to match WidgetManager requirejs load changes
2014-01-16 10:56:59 +00:00
Jonathan Frederic
e169e97409
Add basic widget.js tests
2014-01-16 10:56:03 +00:00
Min RK
dc2fd94d4e
Merge pull request #4799 from ivanov/minor-jstest
...
minor js test fix
2014-01-13 18:54:55 -08:00
Paul Ivanov
03eedd52e2
minor js test fix
2014-01-13 18:53:54 -08:00
Min RK
ec77ad18b7
Merge pull request #4772 from takluyver/nbserver-files
...
Notebook server info files
2014-01-13 16:57:48 -08:00
MinRK
5e3d463dca
marked now adds ids to header tags
2014-01-13 16:25:13 -08:00
Thomas Kluyver
e932429762
Command line entry point to list running notebook servers
2014-01-13 16:22:43 -08:00
MinRK
4d03df98fc
b64 unicode literals for images
2014-01-12 21:20:39 -08:00
MinRK
38dabf49ad
test append_output with invalid data
2014-01-12 14:43:15 -08:00
Paul Ivanov
5423613ef3
add test for custom mimetypes
2014-01-12 13:54:47 -08:00
Paul Ivanov
8ab7162c07
added svg to/fromJSON tests
2014-01-12 13:54:47 -08:00
Paul Ivanov
dfb21543c6
added jpeg mimetype tests
2014-01-12 13:54:47 -08:00
Paul Ivanov
6976eac897
adding png mimetype tests
2014-01-12 13:54:47 -08:00
Paul Ivanov
9c32f78efe
tests for HTML mimetype
2014-01-12 13:54:47 -08:00
Paul Ivanov
369220042a
add test for latex to/fromJSON
2014-01-12 13:54:47 -08:00
Paul Ivanov
9be3013d31
refactor clearing and executing first cell in test
2014-01-12 13:54:47 -08:00
Paul Ivanov
f93b47ac37
more refactoring - test to/fromJSON for mimetypes
2014-01-12 13:54:46 -08:00
Paul Ivanov
744178de32
minor formatting
2014-01-12 13:54:46 -08:00
Paul Ivanov
11eabc2e40
refactor tests with more concise assertion checks
2014-01-12 13:54:46 -08:00
Paul Ivanov
25a4bb0c26
plain text and json display_data and pyout tests
2014-01-12 13:54:46 -08:00
Paul Ivanov
07823deda3
minor formatting
2014-01-12 13:54:46 -08:00
Paul Ivanov
7c262155f7
add (failling) roundtrip test case
2014-01-12 13:54:46 -08:00
Paul Ivanov
e0aab910da
minimal notebook rountrip test
2014-01-12 13:54:46 -08:00
Paul Ivanov
509f88534c
distinguish display_svg() and display() tests
2014-01-12 13:54:46 -08:00
Paul Ivanov
93831f0dfc
clear output in-between test runs
2014-01-12 13:52:13 -08:00
Paul Ivanov
2e72ab3cd6
make output code not drop non-mimetype-keyed json
2014-01-12 13:52:13 -08:00
Paul Ivanov
5fefd65d72
added test for display() calls with metadata
...
this test is currently failing
2014-01-12 13:52:13 -08:00
Brian E. Granger
d8db72564a
Merge pull request #3605 from ellisonbg/newux
...
Modal UI - a whole new world of fun....its like vim, but not!
2014-01-10 16:10:25 -08:00
Brian E. Granger
8d73a3ac05
Fixing more JS tests.
2014-01-08 21:02:12 -08:00
Paul Ivanov
e3053b0a58
Clarify waiting for notebook server to launch
2014-01-08 15:49:11 -08:00
Thomas Kluyver
9363dd1087
Simplify waiting for notebook server to die.
2014-01-08 14:31:48 -08:00
Thomas Kluyver
b0afd36408
Don't wait forever for notebook server to launch/die for tests
...
Should turn occasional hangs into straightforward errors.
2014-01-08 14:08:45 -08:00
Thomas Kluyver
3fc26c1886
Test for writing and removing server info files
2014-01-08 13:02:50 -08:00
Min RK
556627a637
Merge pull request #4656 from takluyver/nbconvert-service
...
Nbconvert HTTP service
2013-12-20 14:22:29 -08:00
Min RK
8be6c4b617
Merge pull request #4575 from minrk/encode_paths
...
make sure to encode URL components for API requests
2013-12-19 09:49:16 -08:00
MinRK
a73f00f62a
test save_notebook with escaped name
2013-12-16 14:29:36 -08:00
Thomas Kluyver
eb680ddaa6
Fix notebook tests w/ new stream capturing API.
2013-12-13 15:05:58 -08:00
Thomas Kluyver
c2644a20be
Capture server logs when running notebook tests
2013-12-13 14:46:51 -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
MinRK
157f501c60
use request.text for Python 3 (content is always bytes)
2013-11-12 15:40:05 -08:00
MinRK
a657ddd78f
test 'files/' redirects
...
1.0 notebooks with links should work in 2.0
2013-11-12 15:09:05 -08:00
Paul Ivanov
73fd15ae36
Merge pull request #4250 from pablooliveira/wrap-svg-in-iframes
...
outputarea.js: Wrap inline SVGs inside an iframe
2013-11-11 15:00:34 -08:00
MinRK
35fcbbd96f
fix js test print statement on python 3
2013-11-07 16:34:14 -08:00
Paul Ivanov
a54e50514d
added test of IPython.version to js test suite
2013-11-07 16:34:14 -08: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
4901f5fc16
don't delete casper instance on shutdown test
...
a lunch conversation with @minrk and @takluyver lead me to just make a
popup and have it be closed, instead of having to reorder the test suite
so that this test always runs last. Now it doesn't matter what order the
test suite runs in, and gives us a pattern for testing window closing
behavior should we need it elsewhere.
2013-10-29 14:58:28 -07:00
Pablo de Oliveira
b1eba452c9
Fix typo.
2013-10-29 22:19:43 +01:00
Pablo de Oliveira
bbfcbf40eb
Add casperjs test for isolated SVGs
2013-10-29 22:19:43 +01:00
Paul Ivanov
e608c6d07a
fix: allow JS test to run after shutdown test
...
shutdown notebook test closes casper browser, here we re-instatiate it
after the test
2013-10-28 13:46:55 -07:00
Paul Ivanov
80ac24683f
give travis 10 seconds to start server
2013-10-23 12:28:30 -07:00
Paul Ivanov
26b5a76841
don't use test.begin
...
the PPA we use on Travis CI doesn't have CasperJS 1.1.0-DEV yet, so
we're better off not using it for now.
2013-10-23 11:49:43 -07:00
Paul Ivanov
217b43cf87
use test.begin to give test group a name
2013-10-23 11:05:59 -07:00
Paul Ivanov
641f157fd9
add test for shutdown notebook
2013-10-23 11:05:59 -07:00
Paul Ivanov
e971d051ed
created a kernel_running method
2013-10-23 11:05:59 -07:00
Paul Ivanov
755565019d
adds test of clicking the play button
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
047f3d76cc
minor shortening
2013-10-23 11:05:59 -07:00