mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 08:37:16 +08:00
DEV: Use qunit-dom's isDisabled
/isEnabled
(#29675)
This commit is contained in:
@ -201,7 +201,7 @@ module("Poll | Component | poll", function (hooks) {
|
||||
});
|
||||
await render(hbs`<Poll @post={{this.post}} @poll={{this.poll}} />`);
|
||||
|
||||
assert.dom(".poll-buttons .cast-votes:disabled").exists();
|
||||
assert.dom(".poll-buttons .cast-votes").isDisabled();
|
||||
|
||||
await click(
|
||||
"li[data-poll-option-id='1f972d1df351de3ce35a787c89faad29'] button"
|
||||
|
Reference in New Issue
Block a user