From 142c39c8f4401727daa7fe8c9c3c85913d07951c Mon Sep 17 00:00:00 2001 From: alexm Date: Thu, 13 Mar 2025 08:20:01 +0100 Subject: [PATCH] refactor: update client ID input selector and remove viewport setting --- test/cypress/integration/invoiceOut/invoiceOutList.spec.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/cypress/integration/invoiceOut/invoiceOutList.spec.js b/test/cypress/integration/invoiceOut/invoiceOutList.spec.js index d3a84d226..b8b42fa4b 100644 --- a/test/cypress/integration/invoiceOut/invoiceOutList.spec.js +++ b/test/cypress/integration/invoiceOut/invoiceOutList.spec.js @@ -13,7 +13,6 @@ describe('InvoiceOut list', () => { ':nth-child(1) > .text-right > [data-cy="tableAction-0"] > .q-btn__content > .q-icon'; beforeEach(() => { - cy.viewport(1920, 1080); cy.login('developer'); cy.visit(`/#/invoice-out/list`); cy.typeSearchbar('{enter}'); @@ -41,7 +40,7 @@ describe('InvoiceOut list', () => { }); it('should filter the results by client ID, then check the first result is correct', () => { - cy.dataCy('Customer ID_input').type('1103'); + cy.dataCy('Client id_input').type('1103'); cy.get(filterBtn).click(); cy.get(firstRowDescriptor).click(); cy.get('.q-item > .q-item__label').should('include.text', '1103');