refactor: refs #8581 simplify file download validation in invoiceInDescriptor test
gitea/salix-front/pipeline/pr-dev This commit is unstable Details

This commit is contained in:
Jorge Penadés 2025-03-10 16:19:56 +01:00
parent 4bd5c70b44
commit 1cf7c68a56
1 changed files with 1 additions and 3 deletions

View File

@ -56,9 +56,7 @@ describe('InvoiceInDescriptor', () => {
it('should download the file properly', () => {
cy.visit('/#/invoice-in/1/summary');
cy.validateDownload(() => cy.selectDescriptorOption(5), {
type: 'image/jpeg',
});
cy.validateDownload(() => cy.selectDescriptorOption(5));
});
});