"use strict";

exports.__esModule = true;
exports.MarketingCardUniDriver = MarketingCardUniDriver;
var _unidriver = require("@wix/design-system/dist/testkit/unidriver");
var _unidriver2 = require("../../unidriver");
function MarketingCardUniDriver(base, body) {
  const marketingLayout = (0, _unidriver.MarketingLayoutUniDriver)(base, body);
  const subtitle = (0, _unidriver.TextUniDriver)(base.$('[data-hook="suggestions-card-subtitle"]'), body);
  const learnMore = (0, _unidriver.TextButtonUniDriver)(base.$('[data-hook="suggestions-card-learn-more"]'), body);
  const ctaButton = (0, _unidriver.ButtonUniDriver)(base.$('[data-hook="suggestions-card-button"]'), body);
  const badge = (0, _unidriver.BadgeUniDriver)(base.$('[data-hook="suggestion-card-badge"]'), body);
  const image = (0, _unidriver.ImageUniDriver)(base.$('[data-hook="suggestions-card-image"]'), body);
  return {
    ...(0, _unidriver2.baseUniDriverFactory)(base),
    getTitleText: () => marketingLayout.getTitleText(),
    description: {
      subtitle,
      learnMore
    },
    ctaButton,
    badge,
    image
  };
}
//# sourceMappingURL=MarketingCard.uni.driver.js.map