Просмотр исходного кода

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

fix #1899
Alan Wang 4 лет назад
Родитель
Сommit
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!')