Wrap cypress set settings promise (#9287)
This commit is contained in:
parent
4bfb1e7b2f
commit
e7e7041653
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue