fix: refs #8581 ensure listbox defaults in validateDescriptor
This commit is contained in:
parent
7326d08051
commit
e29f82ba8c
|
@ -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