Skip to content

Commit

Permalink
test(e2e): fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Mar 21, 2019
1 parent dd67b4d commit 426820b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cypress/integration/vuex-edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ suite('vuex edit', () => {

it('should edit state nested field', () => {
// using the decrease button
cy.get('.data-field > .children > .data-field').eq(3)
cy.get('.data-field > .children > .data-field').eq(4)
.find('.actions .vue-ui-button').eq(1)
.click({ force: true })
.click({ force: true })
Expand All @@ -87,7 +87,7 @@ suite('vuex edit', () => {
})

// using the increase button
cy.get('.data-field > .children > .data-field').eq(3)
cy.get('.data-field > .children > .data-field').eq(4)
.find('.actions .vue-ui-button').eq(2)
.click({ force: true })
.click({ force: true })
Expand All @@ -98,7 +98,7 @@ suite('vuex edit', () => {
})

// using the input
cy.get('.data-field > .children > .data-field').eq(3)
cy.get('.data-field > .children > .data-field').eq(4)
.find('.actions .vue-ui-button').eq(0).click({ force: true })
cy.get('.edit-input').eq(1).type('12')
cy.get('.edit-overlay > .actions > :nth-child(2) > .content > .vue-ui-icon').click()
Expand Down

0 comments on commit 426820b

Please sign in to comment.