Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit e7e7041

Browse files
authored
Wrap cypress set settings promise (#9287)
1 parent 4bfb1e7 commit e7e7041

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cypress/support/settings.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ Cypress.Commands.add("setSettingValue", (
111111
level: SettingLevel,
112112
value: any,
113113
): Chainable<void> => {
114-
return cy.getSettingsStore().then(async (store: typeof SettingsStore) => {
115-
return store.setValue(name, roomId, level, value);
114+
return cy.getSettingsStore().then((store: typeof SettingsStore) => {
115+
return cy.wrap(store.setValue(name, roomId, level, value));
116116
});
117117
});
118118

0 commit comments

Comments
 (0)