Browse Source

test: todomvc case failed in windows and some linux os (#1899)

Kia King Ishii 4 years ago
parent
commit
90163284ab
1 changed files with 1 additions and 1 deletions
  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!')