浏览代码

fix: fix todomvc case failed in windows and some linux os (#1908)

fix #1899
Alan Wang 4 年之前
父节点
当前提交
13cd6abc52
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/e2e/todomvc.spec.js

+ 1 - 1
test/e2e/todomvc.spec.js

@@ -120,7 +120,7 @@ describe('e2e/todomvc', () => {
     expect(await isFocused('.todo:nth-child(1) .edit')).toBe(true)
     await clearValue('.todo:nth-child(1) .edit')
     await setValue('.todo:nth-child(1) .edit', 'edited!')
-    await click('footer') // blur
+    await click('.todo-count') // blur
     expect(await count('.todo.editing')).toBe(0)
     expect(await text('.todo:nth-child(1) label')).toBe('edited!')