mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-04 21:17:55 +08:00
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
Block a user