diff --git a/cypress/support/settings.ts b/cypress/support/settings.ts index ec07df93aa..63c91ddda0 100644 --- a/cypress/support/settings.ts +++ b/cypress/support/settings.ts @@ -111,8 +111,8 @@ Cypress.Commands.add("setSettingValue", ( level: SettingLevel, value: any, ): Chainable => { - return cy.getSettingsStore().then(async (store: typeof SettingsStore) => { - return store.setValue(name, roomId, level, value); + return cy.getSettingsStore().then((store: typeof SettingsStore) => { + return cy.wrap(store.setValue(name, roomId, level, value)); }); });