mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
DEV: migrate tests to async/await
This commit is contained in:
@ -58,9 +58,12 @@ QUnit.test("update some fields", async assert => {
|
||||
await savePreferences();
|
||||
|
||||
click(".preferences-nav .nav-notifications a");
|
||||
selectKit(".control-group.notifications .combo-box.duration")
|
||||
.expand()
|
||||
.selectRowByValue(1440);
|
||||
await selectKit(
|
||||
".control-group.notifications .combo-box.duration"
|
||||
).expand();
|
||||
await selectKit(
|
||||
".control-group.notifications .combo-box.duration"
|
||||
).selectRowByValue(1440);
|
||||
await savePreferences();
|
||||
|
||||
click(".preferences-nav .nav-categories a");
|
||||
|
Reference in New Issue
Block a user