mirror of https://github.com/vuejs/vue.git
test(e2e): trigger click on .new-todo instead of footer (#7938)
This commit is contained in:
parent
c21b89ebed
commit
d280937045
|
|
@ -119,7 +119,7 @@ module.exports = {
|
||||||
.assert.focused('.todo:nth-child(1) .edit')
|
.assert.focused('.todo:nth-child(1) .edit')
|
||||||
.clearValue('.todo:nth-child(1) .edit')
|
.clearValue('.todo:nth-child(1) .edit')
|
||||||
.setValue('.todo:nth-child(1) .edit', 'edited!')
|
.setValue('.todo:nth-child(1) .edit', 'edited!')
|
||||||
.click('footer') // blur
|
.click('.new-todo') // blur
|
||||||
.assert.count('.todo.editing', 0)
|
.assert.count('.todo.editing', 0)
|
||||||
.assert.containsText('.todo:nth-child(1) label', 'edited!')
|
.assert.containsText('.todo:nth-child(1) label', 'edited!')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue