import {
  createQuickActionsTestkit
} from "./../../../../ricos-common-plugins/quick-actions/testkit.js";
import { dataHook } from "./../../../../wix-rich-content-common/index.js";
import { ADD_PLUGIN_FLOATING_TOOLBAR } from "../../../modals/FloatingPluginMenu/index.js";
const createSideToolbarTestkit = (getBase) => {
  const getPlusButton = () => getBase().$(dataHook(ADD_PLUGIN_FLOATING_TOOLBAR));
  return {
    plusButton: {
      clickPlusButton: async () => {
        await getPlusButton().click();
      },
      exists: async () => {
        return getPlusButton().exists();
      },
      waitForElement: async () => {
        const el = getPlusButton();
        await el.wait();
        return el;
      },
      getPlusButtonStyle: async () => {
        return await getPlusButton().attr("style");
      }
    },
    ...createQuickActionsTestkit(getBase)
  };
};
export {
  createSideToolbarTestkit
};
//# sourceMappingURL=side.testkit.js.map
