salix-front/test/cypress/integration/invoiceOut/invoiceOutNegativeBases.spe...

19 lines
659 B
JavaScript
Raw Normal View History

/// <reference types="cypress" />
describe('InvoiceOut manual invoice path', () => {
const notification = '.q-notification__message';
beforeEach(() => {
cy.viewport(1920, 1080);
cy.login('developer');
cy.visit(`/#/invoice-out/negative-bases`);
});
it('should filter and download as CSV', () => {
cy.get(
':nth-child(7) > .full-width > :nth-child(1) > .column > div.q-px-xs > .q-field > .q-field__inner > .q-field__control'
).type('23{enter}');
cy.get('#subToolbar > .q-btn').click();
cy.get(notification).should('contains.text', 'CSV downloaded successfully');
});
});