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:
Jarek Radosz
2024-10-22 11:34:23 +02:00
committed by GitHub
parent d991378218
commit b9ec9c7e4f
97 changed files with 1433 additions and 1878 deletions

View File

@ -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) {