From ec32b6131951babdfde55ad320ad3939fb2302d1 Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Mon, 12 Sep 2022 14:03:39 +0200 Subject: [PATCH] DEV: Add another missing `await` (#18226) --- .../javascripts/discourse/tests/acceptance/preferences-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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