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 aJean committed Aug 19, 2020
1 parent 4dd99db commit 75b1e30
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 75b1e30

Please sign in to comment.