refactor: refs #8581 simplify file download validation in invoiceInDescriptor test
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
This commit is contained in:
parent
4bd5c70b44
commit
1cf7c68a56
|
@ -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));
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue