refactor: refs #8219 modified list test, created cypress download folder and added to gitignore
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
ec40dc6171
commit
9fa2a77c96
|
@ -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,
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
reports/*
|
||||
screenshots/*
|
||||
downloads/*
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue