Skip to content

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

FIX: tests

Jeff Wongbbc7518b0f4e
diff --git a/app/assets/javascripts/discourse/tests/acceptance/flag-post-test.js b/app/assets/javascripts/discourse/tests/acceptance/flag-post-test.js
index 7413af87a54..918ad39475a 100644
--- a/app/assets/javascripts/discourse/tests/acceptance/flag-post-test.js
+++ b/app/assets/javascripts/discourse/tests/acceptance/flag-post-test.js
@@ -123,7 +123,7 @@ acceptance("flagging", function (needs) {
await silenceUntilCombobox.expand();
await silenceUntilCombobox.selectRowByValue("tomorrow");
assert.ok(exists(".modal-body"));
- await fillIn(".silence-reason", "for breaking the rules");
+ await fillIn("input.silence-reason", "for breaking the rules");
await click(".perform-penalize");
assert.ok(!exists(".modal-body"));
@@ -139,7 +139,7 @@ acceptance("flagging", function (needs) {
const silenceUntilCombobox = selectKit(".silence-until .combobox");
await silenceUntilCombobox.expand();
await silenceUntilCombobox.selectRowByValue("tomorrow");
- await fillIn(".silence-reason", "for breaking the rules");
+ await fillIn("input.silence-reason", "for breaking the rules");
await click(".d-modal-cancel");
assert.ok(exists(".dialog-body"));