#8581 invoiceIn e2e #1452
|
@ -431,7 +431,7 @@ Cypress.Commands.add('clickButtonWithText', (buttonText) => {
|
|||
});
|
||||
|
||||
Cypress.Commands.add('validateDescriptor', (toCheck = {}) => {
|
||||
const { title, listbox } = toCheck;
|
||||
const { title, listbox = {} } = toCheck;
|
||||
|
||||
if (title) cy.dataCy('cardDescriptor_title').contains(title);
|
||||
|
||||
|
|
Loading…
Reference in New Issue