DEV: Change class name
This commit is contained in:
parent
73b336c36d
commit
15e322bd01
|
@ -16,7 +16,6 @@ export default apiInitializer("0.11.1", (api) => {
|
|||
const openPopupBtn = document.createElement("button");
|
||||
openPopupBtn.classList.add(
|
||||
"open-popup-link",
|
||||
"btn-edit-md-table",
|
||||
"btn-default",
|
||||
"btn",
|
||||
"btn-icon-text"
|
||||
|
|
|
@ -64,12 +64,9 @@ acceptance("Table Builder - Edit Table", function (needs) {
|
|||
test("Can see edit button on post with table", async function (assert) {
|
||||
await visit("/t/960");
|
||||
await focus(document.querySelector(".cooked .md-table"));
|
||||
assert.ok(exists("button.btn-edit-md-table"), "Edit Table button exists");
|
||||
assert.ok(
|
||||
visible("button.btn-edit-md-table"),
|
||||
"Edit Table button is visible"
|
||||
);
|
||||
await click("button.btn-edit-md-table");
|
||||
assert.ok(exists("button.btn-edit-table"), "Edit Table button exists");
|
||||
assert.ok(visible("button.btn-edit-table"), "Edit Table button is visible");
|
||||
await click("button.btn-edit-table");
|
||||
assert.ok(
|
||||
exists(".insert-table-modal-modal"),
|
||||
"Table Builder modal exists"
|
||||
|
|
Loading…
Reference in New Issue