DEV: Replace bootbox confirm dialog (#142)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user