mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:16:41 +08:00
FIX: tests
This commit is contained in:
parent
a8324395e9
commit
bbc7518b0f
|
@ -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"));
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user