FIX: tests

This commit is contained in:
Jeff Wong 2023-09-05 16:15:45 -07:00
parent 24431f47a3
commit ebbd0a3bc3
1 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ acceptance("flagging", function (needs) {
await silenceUntilCombobox.expand(); await silenceUntilCombobox.expand();
await silenceUntilCombobox.selectRowByValue("tomorrow"); await silenceUntilCombobox.selectRowByValue("tomorrow");
assert.ok(exists(".modal-body")); 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"); await click(".perform-penalize");
assert.ok(!exists(".modal-body")); assert.ok(!exists(".modal-body"));
@ -139,7 +139,7 @@ acceptance("flagging", function (needs) {
const silenceUntilCombobox = selectKit(".silence-until .combobox"); const silenceUntilCombobox = selectKit(".silence-until .combobox");
await silenceUntilCombobox.expand(); await silenceUntilCombobox.expand();
await silenceUntilCombobox.selectRowByValue("tomorrow"); 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"); await click(".d-modal-cancel");
assert.ok(exists(".dialog-body")); assert.ok(exists(".dialog-body"));