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");
|
const openPopupBtn = document.createElement("button");
|
||||||
openPopupBtn.classList.add(
|
openPopupBtn.classList.add(
|
||||||
"open-popup-link",
|
"open-popup-link",
|
||||||
"btn-edit-md-table",
|
|
||||||
"btn-default",
|
"btn-default",
|
||||||
"btn",
|
"btn",
|
||||||
"btn-icon-text"
|
"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) {
|
test("Can see edit button on post with table", async function (assert) {
|
||||||
await visit("/t/960");
|
await visit("/t/960");
|
||||||
await focus(document.querySelector(".cooked .md-table"));
|
await focus(document.querySelector(".cooked .md-table"));
|
||||||
assert.ok(exists("button.btn-edit-md-table"), "Edit Table button exists");
|
assert.ok(exists("button.btn-edit-table"), "Edit Table button exists");
|
||||||
assert.ok(
|
assert.ok(visible("button.btn-edit-table"), "Edit Table button is visible");
|
||||||
visible("button.btn-edit-md-table"),
|
await click("button.btn-edit-table");
|
||||||
"Edit Table button is visible"
|
|
||||||
);
|
|
||||||
await click("button.btn-edit-md-table");
|
|
||||||
assert.ok(
|
assert.ok(
|
||||||
exists(".insert-table-modal-modal"),
|
exists(".insert-table-modal-modal"),
|
||||||
"Table Builder modal exists"
|
"Table Builder modal exists"
|
||||||
|
|
Loading…
Reference in New Issue