"use strict";

exports.__esModule = true;
exports.DisabledTooltipButtonUniDriver = DisabledTooltipButtonUniDriver;
var _unidriver = require("../../unidriver");
var _unidriver2 = require("@wix/design-system/dist/testkit/unidriver");
function DisabledTooltipButtonUniDriver(base, body, {
  dataHook
}) {
  const buttonBase = () => base.$$(`[data-hook="${dataHook}"]`).get(0);
  return {
    ...(0, _unidriver.baseUniDriverFactory)(buttonBase()),
    ...(0, _unidriver2.ButtonUniDriver)(buttonBase(), body),
    hover: () => buttonBase().hover(),
    getTooltipText: () => (0, _unidriver2.TooltipUniDriver)(base.$(`[data-hook="${dataHook}-disabled-tooltip"]`), body).getTooltipText()
  };
}
//# sourceMappingURL=DisabledTooltipButton.uni.driver.js.map