From 89a4ca78c14d1a6e54ef414bb666bfa5563a513f Mon Sep 17 00:00:00 2001 From: Pau Navarro Date: Tue, 20 Dec 2022 11:53:49 +0100 Subject: [PATCH] fix test --- tests/cypress/integration/workerList.spec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/cypress/integration/workerList.spec.js b/tests/cypress/integration/workerList.spec.js index d0dd936b2..9f3d62448 100644 --- a/tests/cypress/integration/workerList.spec.js +++ b/tests/cypress/integration/workerList.spec.js @@ -1,7 +1,7 @@ describe('WorkerList', () => { beforeEach(() => { - cy.viewport(1280, 720) - cy.login('developer') + cy.viewport(1280, 720); + cy.login('developer'); cy.visit('/#/worker/list'); }); @@ -13,8 +13,8 @@ describe('WorkerList', () => { it('should open the worker summary', () => { cy.get('div[class="q-item__section column q-item__section--side justify-center q-pa-md"]').eq(0).click(); - cy.get('div[class="header bg-primary q-pa-sm q-mb-md"').should('have.text', '1110 - Jessica'); + cy.get('div[class="header bg-primary q-pa-sm q-mb-md"').should('have.text', '1110 - Jessica Jones'); cy.get('div[class="q-item__label q-item__label--header text-h6"]').eq(0).should('have.text', 'Basic data'); cy.get('div[class="q-item__label q-item__label--header text-h6"]').eq(1).should('have.text', 'User data'); }); -}); \ No newline at end of file +});