import { EmptyStateUniDriver, TextButtonUniDriver, } from '@wix/design-system/dist/testkit/unidriver';
import RequestIdUniDriver from '../RequestId/RequestId.uni.driver';
export function ToolbarCollectionErrorStateUniDriver(base, body) {
    return {
        ...EmptyStateUniDriver(base, body),
        getRequestIdUniDriver: () => RequestIdUniDriver(body.$('[data-hook="request-id"]'), body),
        getButtonByDataHook: (dataHook) => TextButtonUniDriver(base.$(`[data-hook="${dataHook}"]`), body),
        getRetryButton: () => TextButtonUniDriver(base.$('[data-hook="collection-error-state-action-button"]'), body),
    };
}
//# sourceMappingURL=ToolbarCollectionErrorState.uni.driver.js.map