소스 검색

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

Kia King Ishii 4 년 전
부모
커밋
90163284ab
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)
     expect(await isFocused('.todo:nth-child(1) .edit')).toBe(true)
     await clearValue('.todo:nth-child(1) .edit')
     await clearValue('.todo:nth-child(1) .edit')
     await setValue('.todo:nth-child(1) .edit', 'edited!')
     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 count('.todo.editing')).toBe(0)
     expect(await text('.todo:nth-child(1) label')).toBe('edited!')
     expect(await text('.todo:nth-child(1) label')).toBe('edited!')