diff --git a/IPython/html/tests/casperjs/test_cases/dashboard_nav.js b/IPython/html/tests/casperjs/js/dashboard_nav.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/dashboard_nav.js
rename to IPython/html/tests/casperjs/js/dashboard_nav.js
diff --git a/IPython/html/tests/casperjs/test_cases/kernel.js b/IPython/html/tests/casperjs/js/kernel.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/kernel.js
rename to IPython/html/tests/casperjs/js/kernel.js
diff --git a/IPython/html/tests/casperjs/test_cases/misc.js b/IPython/html/tests/casperjs/js/misc.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/misc.js
rename to IPython/html/tests/casperjs/js/misc.js
diff --git a/IPython/html/tests/casperjs/test_cases/notebook/arrow_keys.js b/IPython/html/tests/casperjs/notebook/arrow_keys.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/notebook/arrow_keys.js
rename to IPython/html/tests/casperjs/notebook/arrow_keys.js
diff --git a/IPython/html/tests/casperjs/test_cases/notebook/display_image.js b/IPython/html/tests/casperjs/notebook/display_image.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/notebook/display_image.js
rename to IPython/html/tests/casperjs/notebook/display_image.js
diff --git a/IPython/html/tests/casperjs/test_cases/notebook/empty_arrow_keys.js b/IPython/html/tests/casperjs/notebook/empty_arrow_keys.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/notebook/empty_arrow_keys.js
rename to IPython/html/tests/casperjs/notebook/empty_arrow_keys.js
diff --git a/IPython/html/tests/casperjs/test_cases/notebook/execute_code.js b/IPython/html/tests/casperjs/notebook/execute_code.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/notebook/execute_code.js
rename to IPython/html/tests/casperjs/notebook/execute_code.js
diff --git a/IPython/html/tests/casperjs/test_cases/notebook/inject_js.js b/IPython/html/tests/casperjs/notebook/inject_js.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/notebook/inject_js.js
rename to IPython/html/tests/casperjs/notebook/inject_js.js
diff --git a/IPython/html/tests/casperjs/test_cases/notebook/interrupt.js b/IPython/html/tests/casperjs/notebook/interrupt.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/notebook/interrupt.js
rename to IPython/html/tests/casperjs/notebook/interrupt.js
diff --git a/IPython/html/tests/casperjs/test_cases/notebook/isolated_svg.js b/IPython/html/tests/casperjs/notebook/isolated_svg.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/notebook/isolated_svg.js
rename to IPython/html/tests/casperjs/notebook/isolated_svg.js
diff --git a/IPython/html/tests/casperjs/test_cases/notebook/markdown.js b/IPython/html/tests/casperjs/notebook/markdown.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/notebook/markdown.js
rename to IPython/html/tests/casperjs/notebook/markdown.js
diff --git a/IPython/html/tests/casperjs/test_cases/notebook/merge_cells.js b/IPython/html/tests/casperjs/notebook/merge_cells.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/notebook/merge_cells.js
rename to IPython/html/tests/casperjs/notebook/merge_cells.js
diff --git a/IPython/html/tests/casperjs/test_cases/notebook/roundtrip.js b/IPython/html/tests/casperjs/notebook/roundtrip.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/notebook/roundtrip.js
rename to IPython/html/tests/casperjs/notebook/roundtrip.js
diff --git a/IPython/html/tests/casperjs/test_cases/notebook/safe_append_output.js b/IPython/html/tests/casperjs/notebook/safe_append_output.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/notebook/safe_append_output.js
rename to IPython/html/tests/casperjs/notebook/safe_append_output.js
diff --git a/IPython/html/tests/casperjs/test_cases/notebook/save.js b/IPython/html/tests/casperjs/notebook/save.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/notebook/save.js
rename to IPython/html/tests/casperjs/notebook/save.js
diff --git a/IPython/html/tests/casperjs/test_cases/notebook/shutdown.js b/IPython/html/tests/casperjs/notebook/shutdown.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/notebook/shutdown.js
rename to IPython/html/tests/casperjs/notebook/shutdown.js
diff --git a/IPython/html/tests/casperjs/test_cases/notebook/tooltip.js b/IPython/html/tests/casperjs/notebook/tooltip.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/notebook/tooltip.js
rename to IPython/html/tests/casperjs/notebook/tooltip.js
diff --git a/IPython/html/tests/casperjs/test_cases/widgets/widget.js b/IPython/html/tests/casperjs/widgets/widget.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/widgets/widget.js
rename to IPython/html/tests/casperjs/widgets/widget.js
diff --git a/IPython/html/tests/casperjs/test_cases/widgets/widget_bool.js b/IPython/html/tests/casperjs/widgets/widget_bool.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/widgets/widget_bool.js
rename to IPython/html/tests/casperjs/widgets/widget_bool.js
diff --git a/IPython/html/tests/casperjs/test_cases/widgets/widget_button.js b/IPython/html/tests/casperjs/widgets/widget_button.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/widgets/widget_button.js
rename to IPython/html/tests/casperjs/widgets/widget_button.js
diff --git a/IPython/html/tests/casperjs/test_cases/widgets/widget_container.js b/IPython/html/tests/casperjs/widgets/widget_container.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/widgets/widget_container.js
rename to IPython/html/tests/casperjs/widgets/widget_container.js
diff --git a/IPython/html/tests/casperjs/test_cases/widgets/widget_float.js b/IPython/html/tests/casperjs/widgets/widget_float.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/widgets/widget_float.js
rename to IPython/html/tests/casperjs/widgets/widget_float.js
diff --git a/IPython/html/tests/casperjs/test_cases/widgets/widget_image.js b/IPython/html/tests/casperjs/widgets/widget_image.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/widgets/widget_image.js
rename to IPython/html/tests/casperjs/widgets/widget_image.js
diff --git a/IPython/html/tests/casperjs/test_cases/widgets/widget_int.js b/IPython/html/tests/casperjs/widgets/widget_int.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/widgets/widget_int.js
rename to IPython/html/tests/casperjs/widgets/widget_int.js
diff --git a/IPython/html/tests/casperjs/test_cases/widgets/widget_multicontainer.js b/IPython/html/tests/casperjs/widgets/widget_multicontainer.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/widgets/widget_multicontainer.js
rename to IPython/html/tests/casperjs/widgets/widget_multicontainer.js
diff --git a/IPython/html/tests/casperjs/test_cases/widgets/widget_selection.js b/IPython/html/tests/casperjs/widgets/widget_selection.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/widgets/widget_selection.js
rename to IPython/html/tests/casperjs/widgets/widget_selection.js
diff --git a/IPython/html/tests/casperjs/test_cases/widgets/widget_string.js b/IPython/html/tests/casperjs/widgets/widget_string.js
similarity index 100%
rename from IPython/html/tests/casperjs/test_cases/widgets/widget_string.js
rename to IPython/html/tests/casperjs/widgets/widget_string.js