Skip to content

A platform for community discussion. Free, open, simple.

DEV: Add another missing `await` (#18226)

Jarek Radoszec32b6131951
diff --git a/app/assets/javascripts/discourse/tests/acceptance/preferences-test.js b/app/assets/javascripts/discourse/tests/acceptance/preferences-test.js
index 1c0a2fbfeed..27f91bf1e35 100644
--- a/app/assets/javascripts/discourse/tests/acceptance/preferences-test.js
+++ b/app/assets/javascripts/discourse/tests/acceptance/preferences-test.js
@@ -233,7 +233,7 @@ acceptance("User Preferences", function (needs) {
await click(".new-security-key");
assert.ok(exists("#security-key-name"), "shows security key name input");
- fillIn("#security-key-name", "");
+ await fillIn("#security-key-name", "");
// The following tests can only run when Webauthn is enabled. This is not
// always the case, for example on a browser running on a non-standard port