/// describe('InvoiceOut manual invoice', () => { const notification = '.q-notification__message'; beforeEach(() => { cy.viewport(1920, 1080); cy.login('developer'); cy.visit(`/#/ticket/list`); cy.get('#searchbar input').type('{enter}'); }); it('should create an invoice from a ticket and go to that invoice', () => { cy.get( '[label="Customer ID"] > .q-field > .q-field__inner > .q-field__control' ).type('1101{enter}'); cy.get( '[data-q-vs-anchor=""] > :nth-child(1) > .q-checkbox > .q-checkbox__inner' ).click(); cy.get( '[style="transform: translate(-256px, 0px); margin: 80px 20px; z-index: 2;"] > div > .q-btn' ).click(); cy.get(notification).should('contains.text', 'Data saved'); cy.get('.q-virtual-scroll__content > :nth-child(1) > :nth-child(3)').click(); cy.get(':nth-child(8) > .value > .link').click(); cy.get('.header > :nth-child(3) > .q-btn__content').click(); }); });