瀏覽代碼

fix markdown e2e test

Evan You 10 年之前
父節點
當前提交
99bf444a40
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      test/e2e/markdown.js

+ 3 - 2
test/e2e/markdown.js

@@ -16,12 +16,13 @@ casper.test.begin('markdown', 5, function (test) {
       'textarea',
       '## yo\n\n' +
       '- test\n' +
-      '- hi\n\n'
+      '- hi\n\n',
+      { keepFocus: true }
     )
     // keyUp(13)
   })
   .then(function () {
-    // assert the output is not updarted yet because of
+    // assert the output is not updated yet because of
     // debounce
     test.assertEval(function () {
       return document.querySelector('#editor div')