diff --git a/test/cypress/integration/invoiceIn/invoiceInDescriptor.spec.js b/test/cypress/integration/invoiceIn/invoiceInDescriptor.spec.js index f2d9a3497..ca0b309e9 100644 --- a/test/cypress/integration/invoiceIn/invoiceInDescriptor.spec.js +++ b/test/cypress/integration/invoiceIn/invoiceInDescriptor.spec.js @@ -5,18 +5,15 @@ describe('InvoiceInDescriptor', () => { '.q-card:nth-child(3) .vn-label-value:nth-child(5) > .value > span'; it('should booking and unbooking the invoice properly', () => { + cy.viewport(1280, 720); cy.login('developer'); - cy.visit(`/#/invoice-in/1/summary?limit=10`); + cy.visit('/#/invoice-in/1/summary'); - cy.openLeftMenu(); cy.openActionsDescriptor(); cy.get(firstDescritorOpt).click(); cy.get(dialogBtns).eq(1).click(); - cy.get('.fullscreen').first().click(); cy.get(isBookedField).should('have.attr', 'title', 'true'); - cy.openLeftMenu(); - cy.openActionsDescriptor(); cy.get(firstDescritorOpt).click(); cy.get(dialogBtns).eq(1).click(); cy.get(isBookedField).should('have.attr', 'title', 'false');