test: refs #8581 update invoiceInDescriptor spec to validate download type for descriptor option

This commit is contained in:
Jorge Penadés 2025-03-07 11:18:45 +01:00
parent bd53d2014f
commit 9c99c337e3
1 changed files with 4 additions and 2 deletions

View File

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