mirror of
https://github.com/discourse/discourse.git
synced 2026-08-13 06:25:11 -05:00
FIX: There are two elements with a suspend-reason class
We only want to fill in the text one. (This is an Ember CLI fix)
This commit is contained in:
@@ -42,7 +42,7 @@ acceptance("Admin - Suspend User", function (needs) {
|
||||
|
||||
assert.equal(queryAll(".suspend-user-modal:visible").length, 1);
|
||||
|
||||
await fillIn(".suspend-reason", "for breaking the rules");
|
||||
await fillIn("input.suspend-reason", "for breaking the rules");
|
||||
await fillIn(".suspend-message", "this is an email reason why");
|
||||
|
||||
await click(".d-modal-cancel");
|
||||
|
||||
Reference in New Issue
Block a user