test: refs #8581 update invoiceInDescriptor spec to validate download type for descriptor option
This commit is contained in:
parent
bd53d2014f
commit
9c99c337e3
|
@ -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.visit('/#/invoice-in/1/summary');
|
||||||
cy.validateDownload(() => cy.selectDescriptorOption(5));
|
cy.validateDownload(() => cy.selectDescriptorOption(5), {
|
||||||
|
type: 'image/jpeg',
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue