From 426820b8f988f0bdbc12c826434d791f0df52a03 Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Thu, 21 Mar 2019 04:08:22 +0100 Subject: [PATCH] test(e2e): fix --- cypress/integration/vuex-edit.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cypress/integration/vuex-edit.js b/cypress/integration/vuex-edit.js index 86a53e472..1f3bc21ed 100644 --- a/cypress/integration/vuex-edit.js +++ b/cypress/integration/vuex-edit.js @@ -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 }) @@ -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 }) @@ -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()