"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.ToolbarCollectionErrorStateUniDriver = ToolbarCollectionErrorStateUniDriver;
var _unidriver = require("@wix/design-system/dist/testkit/unidriver");
var _RequestIdUni = _interopRequireDefault(require("../RequestId/RequestId.uni.driver"));
function ToolbarCollectionErrorStateUniDriver(base, body) {
  return {
    ...(0, _unidriver.EmptyStateUniDriver)(base, body),
    getRequestIdUniDriver: () => (0, _RequestIdUni.default)(body.$('[data-hook="request-id"]'), body),
    getButtonByDataHook: dataHook => (0, _unidriver.TextButtonUniDriver)(base.$(`[data-hook="${dataHook}"]`), body),
    getRetryButton: () => (0, _unidriver.TextButtonUniDriver)(base.$('[data-hook="collection-error-state-action-button"]'), body)
  };
}
//# sourceMappingURL=ToolbarCollectionErrorState.uni.driver.js.map