test(e2e): trigger click on .new-todo instead of footer (#7938)

This commit is contained in:
Tim 2018-08-20 22:52:06 +01:00 committed by Evan You
parent c21b89ebed
commit d280937045

View File

@ -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!')