diff --git a/IPython/html/tests/casperjs/util.js b/IPython/html/tests/casperjs/util.js
index 130f7ea..b711e9c 100644
--- a/IPython/html/tests/casperjs/util.js
+++ b/IPython/html/tests/casperjs/util.js
@@ -38,7 +38,10 @@ casper.notebookTest = function(test) {
this.openNewNotebook();
this.then(test);
this.shutdownCurrentKernel();
- this.deleteCurrentNotebook();
+ //XXX: the implementation of deleteCurrentNotebook is currently broken
+ // it's not a big deal, since the notebook directory will be deleted on
+ // cleanup, but we should add tests for deleting the notebook separately
+ //this.deleteCurrentNotebook();
// Run the browser automation.
this.run(function() {