Wrap cypress set settings promise (#9287)
parent
4bfb1e7b2f
commit
e7e7041653
|
@ -111,8 +111,8 @@ Cypress.Commands.add("setSettingValue", (
|
|||
level: SettingLevel,
|
||||
value: any,
|
||||
): Chainable<void> => {
|
||||
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));
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue