diff --git a/cypress.config.js b/cypress.config.js index e9aeb547a..1100b59b1 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -11,6 +11,7 @@ module.exports = defineConfig({ screenshotsFolder: 'test/cypress/screenshots', supportFile: 'test/cypress/support/index.js', videosFolder: 'test/cypress/videos', + downloadsFolder: 'test/cypress/downloads', video: false, specPattern: 'test/cypress/integration/**/*.spec.js', experimentalRunAllSpecs: true, diff --git a/test/cypress/.gitignore b/test/cypress/.gitignore index 8d940320e..c9793a5f2 100644 --- a/test/cypress/.gitignore +++ b/test/cypress/.gitignore @@ -1,2 +1,3 @@ reports/* screenshots/* +downloads/* \ No newline at end of file diff --git a/test/cypress/integration/invoiceOut/invoiceOutList.spec.js b/test/cypress/integration/invoiceOut/invoiceOutList.spec.js index d4e5df684..30cc8e497 100644 --- a/test/cypress/integration/invoiceOut/invoiceOutList.spec.js +++ b/test/cypress/integration/invoiceOut/invoiceOutList.spec.js @@ -6,7 +6,7 @@ describe('InvoiceOut list', () => { }; const invoiceError = { Ticket: { val: '1' }, - Serial: { val: 'T - EspaƱola rapida', type: 'select' }, + Serial: { val: 'EspaƱola rapida', type: 'select' }, }; beforeEach(() => { @@ -24,7 +24,7 @@ describe('InvoiceOut list', () => { cy.dataCy('InvoiceOutFilterAmountBtn').find('input').type('8.88{enter}'); }); - it('should download a pdf', () => { + it('should download all pdfs', () => { cy.get('.bg-header > :nth-child(1) > .q-checkbox > .q-checkbox__inner').click(); cy.dataCy('InvoiceOutDownloadPdfBtn').click(); cy.get('.bg-header > :nth-child(1) > .q-checkbox > .q-checkbox__inner').click();