From 13cd6abc5223954c6af229c2ef89c57365473e91 Mon Sep 17 00:00:00 2001 From: Alan Wang <948467222@qq.com> Date: Tue, 5 Jan 2021 18:05:29 +0800 Subject: [PATCH] fix: fix todomvc case failed in windows and some linux os (#1908) fix #1899 --- test/e2e/todomvc.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/todomvc.spec.js b/test/e2e/todomvc.spec.js index 5a61ab705..b7f3050d3 100644 --- a/test/e2e/todomvc.spec.js +++ b/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!')