mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
DEV: Update more asserts to qunit-dom (#29326)
regex find&replace + removing now-unused imports + manually fixing incorrect css selectors (that now got flagged 😌) + manually updating selectors that relied on jq
This commit is contained in:
@ -64,10 +64,9 @@ acceptance("Poll Builder - polls are enabled", function (needs) {
|
||||
|
||||
await displayPollBuilderButton();
|
||||
|
||||
assert.ok(
|
||||
!exists(".select-kit-row[data-value='showPollBuilder]"),
|
||||
"it hides the builder button"
|
||||
);
|
||||
assert
|
||||
.dom(".select-kit-row[data-value='showPollBuilder']")
|
||||
.doesNotExist("hides the builder button");
|
||||
});
|
||||
|
||||
test("staff - with insufficient trust level", async function (assert) {
|
||||
|
Reference in New Issue
Block a user