diff --git a/test/cypress/integration/worker/workerCreate.spec.js b/test/cypress/integration/worker/workerCreate.spec.js index 6ace6a7f3..26ce899c8 100644 --- a/test/cypress/integration/worker/workerCreate.spec.js +++ b/test/cypress/integration/worker/workerCreate.spec.js @@ -5,10 +5,10 @@ describe('WorkerCreate', () => { const internal = { Fi: { val: '78457139E' }, - 'Web user': { val: 'defaulterworker' }, - Name: { val: 'DEFAULT' }, - 'Last name': { val: 'WORKER' }, - 'Personal email': { val: 'defaultWorker@mydomain.com' }, + 'Web user': { val: 'manolo' }, + Name: { val: 'Manolo' }, + 'Last name': { val: 'Hurtado' }, + 'Personal email': { val: 'manolo@mydomain.com' }, Street: { val: 'S/ DEFAULTWORKERSTREET' }, Location: { val: 1, type: 'select' }, Phone: { val: '123456789' }, diff --git a/test/cypress/integration/worker/workerList.spec.js b/test/cypress/integration/worker/workerList.spec.js index 1e9292626..9808fd157 100644 --- a/test/cypress/integration/worker/workerList.spec.js +++ b/test/cypress/integration/worker/workerList.spec.js @@ -8,13 +8,13 @@ describe('WorkerList', () => { }); it('should load workers', () => { - cy.get(workerFieldNames).eq(0).should('have.text', 'jessicajones'); - cy.get(workerFieldNames).eq(1).should('have.text', 'brucebanner'); - cy.get(workerFieldNames).eq(2).should('have.text', 'charlesxavier'); + cy.get(workerFieldNames).eq(2).should('have.text', 'jessicajones'); + cy.get(workerFieldNames).eq(3).should('have.text', 'brucebanner'); + cy.get(workerFieldNames).eq(4).should('have.text', 'charlesxavier'); }); it('should open the worker summary', () => { - cy.openListSummary(0); + cy.openListSummary(2); cy.get('.summaryHeader div').should('have.text', '1110 - Jessica Jones'); cy.get('.summary .header-link') .eq(0)