From 9c99c337e3ad7888a4c33461836905a8b104576b Mon Sep 17 00:00:00 2001 From: jorgep Date: Fri, 7 Mar 2025 11:18:45 +0100 Subject: [PATCH] test: refs #8581 update invoiceInDescriptor spec to validate download type for descriptor option --- .../integration/invoiceIn/invoiceInDescriptor.spec.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/cypress/integration/invoiceIn/invoiceInDescriptor.spec.js b/test/cypress/integration/invoiceIn/invoiceInDescriptor.spec.js index 0bc70447b..6e02ee1c4 100644 --- a/test/cypress/integration/invoiceIn/invoiceInDescriptor.spec.js +++ b/test/cypress/integration/invoiceIn/invoiceInDescriptor.spec.js @@ -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', + }); }); });