From e29f82ba8c37f742c51e99bca358ae548f709714 Mon Sep 17 00:00:00 2001 From: jorgep Date: Mon, 24 Feb 2025 16:30:43 +0100 Subject: [PATCH] fix: refs #8581 ensure listbox defaults in validateDescriptor --- test/cypress/support/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cypress/support/commands.js b/test/cypress/support/commands.js index 8ef4b3493..5fc54ecab 100755 --- a/test/cypress/support/commands.js +++ b/test/cypress/support/commands.js @@ -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);