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:
parent
bd3b1cb9ac
commit
1157ff8116
|
@ -42,7 +42,7 @@ acceptance("Admin - Suspend User", function (needs) {
|
||||||
|
|
||||||
assert.equal(queryAll(".suspend-user-modal:visible").length, 1);
|
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 fillIn(".suspend-message", "this is an email reason why");
|
||||||
|
|
||||||
await click(".d-modal-cancel");
|
await click(".d-modal-cancel");
|
||||||
|
|
Loading…
Reference in New Issue