1
0
mirror of synced 2026-08-05 14:47:06 +00:00

DEV: Replace bootbox confirm dialog (#142)

This commit is contained in:
Jan Cernik
2022-10-27 10:16:00 -03:00
committed by GitHub
parent 5047583d95
commit 7b8a1a3960
2 changed files with 14 additions and 17 deletions
@@ -205,10 +205,10 @@ acceptance("Chat Integration", function (needs) {
);
await click(".channel-header .delete-channel");
assert.ok(exists("div.bootbox"), "modal is displayed");
await click("div.bootbox .btn-primary");
assert.ok(exists("div.dialog-content"), "modal is displayed");
await click("div.dialog-content .btn-danger");
assert.notOk(exists("div.bootbox"), "modal has closed");
assert.notOk(exists("div.dialog-content"), "modal has closed");
});
test("Delete rule works", async function (assert) {