#8581 invoiceIn e2e #1452
|
@ -545,7 +545,7 @@ Cypress.Commands.add('validateCheckbox', (selector, expectedVal = 'true') => {
|
|||
Cypress.Commands.add('validateDownload', (trigger, opts = {}) => {
|
||||
const {
|
||||
url = /api\/dms\/\d+\/downloadFile\?access_token=.+/,
|
||||
type = 'text/plain',
|
||||
type = 'text/plain, jpeg/image',
|
||||
alias = 'download',
|
||||
} = opts;
|
||||
cy.intercept('GET', url).as(alias);
|
||||
|
|
Loading…
Reference in New Issue