Skip to content

Commit

Permalink
test(e2e): trigger click on .new-todo instead of footer (vuejs#7938)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSpeelman authored and hefeng committed Jan 25, 2019
1 parent 576e98f commit a4964c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/specs/todomvc.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ module.exports = {
.assert.focused('.todo:nth-child(1) .edit')
.clearValue('.todo:nth-child(1) .edit')
.setValue('.todo:nth-child(1) .edit', 'edited!')
.click('footer') // blur
.click('.new-todo') // blur
.assert.count('.todo.editing', 0)
.assert.containsText('.todo:nth-child(1) label', 'edited!')

Expand Down

0 comments on commit a4964c6

Please sign in to comment.