DEV: Change class name

This commit is contained in:
Keegan George 2022-10-12 15:00:22 -07:00
parent 73b336c36d
commit 15e322bd01
No known key found for this signature in database
GPG Key ID: 91B40E38537AC000
2 changed files with 3 additions and 7 deletions

View File

@ -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"

View File

@ -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"