From 1157ff8116ba5e5d11db589e1b6cb930d2c86c4d Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Thu, 19 Nov 2020 12:29:55 -0500 Subject: [PATCH] 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) --- .../discourse/tests/acceptance/admin-suspend-user-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/tests/acceptance/admin-suspend-user-test.js b/app/assets/javascripts/discourse/tests/acceptance/admin-suspend-user-test.js index a18b723e908..af8f6d58349 100644 --- a/app/assets/javascripts/discourse/tests/acceptance/admin-suspend-user-test.js +++ b/app/assets/javascripts/discourse/tests/acceptance/admin-suspend-user-test.js @@ -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");