///
import { UniDriver } from '@wix/wix-ui-test-utils/unidriver';
import { SledPage } from '../../sledPage';
export declare function CardsGridUniDriver(base: UniDriver, body: UniDriver): {
/**
* Wait until root element to exist
* @param timeout - time to wait until bailing
*/
wait: (timeout?: number) => Promise;
/** Wait for the initial fetch loader to be shown */
waitInitialLoader: (timeout?: number) => Promise;
/** Wait for the initial fetch loader to be removed */
waitInitialLoaderRemoved: (timeout?: number) => Promise;
/** Indicates whether initial loader is in loading status */
isInitialLoaderLoading: () => Promise;
/** Indicates whether initial loader exists */
initialLoaderExists: () => Promise;
/** Wait for the infinite scroll loader to be shown */
waitInfiniteScrollLoader: (timeout?: number) => Promise;
infiniteScrollSkeletonCount: () => Promise;
/** Indicates whether infinite scroll loader exists */
infiniteScrollLoaderExists: () => Promise;
/** Indicates whether table refresh loader exists */
refreshLoaderExists: () => Promise;
refreshLoaderSkeletonCount: () => Promise;
getErrorStateByDataHook: (dataHook?: string) => {
getButtonByDataHook: (dataHook: string) => import("@wix/design-system/dist/types/TextButton/TextButton.uni.driver").TextButtonUniDriver;
getRetryButton: () => import("@wix/design-system/dist/types/TextButton/TextButton.uni.driver").TextButtonUniDriver;
getTitleText: () => Promise;
getSubtitleText: () => Promise;
hasTheme: (themeName: import("@wix/design-system").EmptyStateTheme) => Promise;
getImageUrl: () => (name: string) => Promise;
getImageContainerClassName: () => Promise;
imageNodeExists: () => Promise;
childrenContentExists: () => Promise;
hasAlign: (align: import("@wix/design-system").EmptyStateAlign) => Promise;
exists: () => Promise;
element: () => Promise;
click: () => Promise;
};
/** Get initial error state before table renders */
getCardErrorStateByDataHook: (dataHook?: string) => {
getButtonByDataHook: (dataHook: string) => import("@wix/design-system/dist/types/TextButton/TextButton.uni.driver").TextButtonUniDriver;
getRetryButton: () => import("@wix/design-system/dist/types/TextButton/TextButton.uni.driver").TextButtonUniDriver;
getTitleText: () => Promise;
getSubtitleText: () => Promise;
hasTheme: (themeName: import("@wix/design-system").EmptyStateTheme) => Promise;
getImageUrl: () => (name: string) => Promise;
getImageContainerClassName: () => Promise;
imageNodeExists: () => Promise;
childrenContentExists: () => Promise;
hasAlign: (align: import("@wix/design-system").EmptyStateAlign) => Promise;
exists: () => Promise;
element: () => Promise;
click: () => Promise;
};
/** Get empty state within the table that by a specific data hook */
getEmptyStateByDataHook: (dataHook?: string) => {
getNewItemButton: () => import("@wix/design-system/dist/types/TextButton/TextButton.uni.driver").TextButtonUniDriver;
getImageAddItem: () => import("@wix/design-system/dist/types/Image/Image.uni.driver").ImageUniDriver;
wait: (timeout?: number | undefined) => Promise;
getClearFiltersButton: () => import("@wix/design-system/dist/types/TextButton/TextButton.uni.driver").TextButtonUniDriver;
getImageGlassArt: () => import("@wix/design-system/dist/types/Image/Image.uni.driver").ImageUniDriver;
getTitleText: () => Promise;
getSubtitleText: () => Promise;
hasTheme: (themeName: import("@wix/design-system").EmptyStateTheme) => Promise;
getImageUrl: () => (name: string) => Promise;
getImageContainerClassName: () => Promise;
imageNodeExists: () => Promise;
childrenContentExists: () => Promise;
hasAlign: (align: import("@wix/design-system").EmptyStateAlign) => Promise;
exists: () => Promise;
element: () => Promise;
click: () => Promise;
};
/** Get the number of actually rendered grid cards */
getRenderedItemsCount: () => Promise;
getVirtualizedRowsCount: () => Promise;
initialLoaderSkeletonCount: () => Promise;
/** Get the number rendered grid cards available on the client */
getLastRenderedItemIndex: () => Promise;
getLastRenderedItem: () => Promise<{
getTitle: () => Promise;
getBadge: () => Promise;
getSubtitle: () => Promise;
getBackgroundImageUrl: () => Promise;
click: () => Promise;
clickFooter: () => Promise;
getPrimaryActionLabel: () => Promise;
isPrimaryActionDisabled: () => Promise;
clickOnPrimaryAction: () => Promise;
getSecondaryActionLabel: () => Promise;
clickOnSecondaryAction: () => Promise;
getSettingsMenu: () => Promise;
getBackgroundImageNode: () => Promise;
hover: () => Promise;
dragHandleExists: () => Promise;
clickDragHandle: () => Promise;
hoverDragHandle: () => Promise;
isDragHandleTooltipEnabled: () => Promise;
getDragHandleTooltipContent: () => Promise;
exists: () => Promise;
element: () => Promise;
} | null>;
/** Get the CardGalleryItem by index */
getCardGalleryItemByIndex: (index: number) => {
getTitle: () => Promise;
getBadge: () => Promise;
getSubtitle: () => Promise;
getBackgroundImageUrl: () => Promise;
click: () => Promise;
clickFooter: () => Promise;
getPrimaryActionLabel: () => Promise;
isPrimaryActionDisabled: () => Promise;
clickOnPrimaryAction: () => Promise;
getSecondaryActionLabel: () => Promise;
clickOnSecondaryAction: () => Promise;
getSettingsMenu: () => Promise;
getBackgroundImageNode: () => Promise;
hover: () => Promise;
dragHandleExists: () => Promise;
clickDragHandle: () => Promise;
hoverDragHandle: () => Promise;
isDragHandleTooltipEnabled: () => Promise;
getDragHandleTooltipContent: () => Promise;
exists: () => Promise;
element: () => Promise;
};
/** Wait CardGalleryItem by index */
waitCardGalleryItemByIndex: (index: number, timeout?: number) => Promise;
/** Get the CardGalleryItem's PopoverMenu by index */
getCardGalleryItemPopoverMenuByIndex: (index: number) => Promise<{
clickTriggerElement: () => Promise;
exists(): Promise;
getTriggerElement(dataHook: string): UniDriver;
clickAtChild: (index: number) => Promise;
clickAtChildByDataHook: (dataHook: string) => Promise;
isMenuOpen(): Promise;
childrenCount(): Promise;
itemContentAt: (id: number) => Promise;
getContentElement: () => Promise;
element: () => Promise;
click: () => Promise;
}>;
getCardDefaultEmptyState: (dataHook?: string) => {
getNewItemButton: () => import("@wix/design-system/dist/types/TextButton/TextButton.uni.driver").TextButtonUniDriver;
getImageAddItem: () => import("@wix/design-system/dist/types/Image/Image.uni.driver").ImageUniDriver;
wait: (timeout?: number | undefined) => Promise;
getClearFiltersButton: () => import("@wix/design-system/dist/types/TextButton/TextButton.uni.driver").TextButtonUniDriver;
getImageGlassArt: () => import("@wix/design-system/dist/types/Image/Image.uni.driver").ImageUniDriver;
getTitleText: () => Promise;
getSubtitleText: () => Promise;
hasTheme: (themeName: import("@wix/design-system").EmptyStateTheme) => Promise;
getImageUrl: () => (name: string) => Promise;
getImageContainerClassName: () => Promise;
imageNodeExists: () => Promise;
childrenContentExists: () => Promise;
hasAlign: (align: import("@wix/design-system").EmptyStateAlign) => Promise;
exists: () => Promise;
element: () => Promise;
click: () => Promise;
};
getActionModal: () => import("@wix/design-system/dist/types/MessageModalLayout/MessageModalLayout.uni.driver").MessageModalLayoutUniDriver;
/** Get the `` driver for the `renderAddItem` */
getAddItem: () => {
getText: () => Promise;
textExists: () => Promise;
getTooltipContent: () => Promise;
getSubtitle: () => Promise;
isFocused: () => Promise;
focus: () => Promise;
blur: () => Promise;
exists: () => Promise;
element: () => Promise;
click: () => Promise;
};
getToolbar: () => {
getToolbarFiltersItemsCount: () => Promise;
wait: (timeout?: number | undefined) => Promise;
getSearchText: () => Promise;
enterSearchText: (value: string) => Promise;
getSearchMaxLength: () => Promise;
clearSearchText: () => Promise;
searchInputExists: () => Promise;
clickClearSearchText: () => Promise;
isToolbarWithFilters: () => Promise;
skeletonExists: () => Promise;
getViewsDropdown: () => {
_input: () => UniDriver;
exists: () => Promise;
initialLoaderExists: () => Promise;
getSelected: () => Promise;
getInputValue: () => Promise;
getInputReadOnly: () => Promise;
isInputFocused: () => Promise;
getSelectedId: () => Promise;
hasTotal: () => Promise;
open: () => Promise;
enterText: (value: string) => Promise;
clickInputClearButton: () => Promise;
inputClearButtonExists: () => Promise;
getViewsCount: () => Promise;
getViewsContent: () => Promise;
getViewsPopoverContent: () => Promise;
getOptionsLength: () => Promise;
getOptions: () => Promise;
isOpen: () => Promise;
getPlaceholderText: () => Promise;
getViewListItemById: (id: string) => {
click: () => Promise;
select: () => Promise;
hasCheckbox(): Promise;
getPrefix(): Promise;
getTitle(): Promise;
getSubtitle(): Promise;
getSuffix(): Promise;
exists: () => Promise;
element: () => Promise;
};
getViewListItemAt: (index: number) => {
click: () => Promise;
select: () => Promise;
hasCheckbox(): Promise;
getPrefix(): Promise;
getTitle(): Promise;
getSubtitle(): Promise;
getSuffix(): Promise;
exists: () => Promise;
element: () => Promise;
};
getCategoryListItemById: (id: string) => import("@wix/design-system/dist/types/ListItemSection/ListItemSection.uni.driver").ListItemSectionUniDriver;
getCategoryListItemAt: (index: number) => import("@wix/design-system/dist/types/ListItemSection/ListItemSection.uni.driver").ListItemSectionUniDriver;
getAllItemsView: () => import("@wix/design-system/dist/types/ListItemSection/ListItemSection.uni.driver").ListItemSectionUniDriver;
getCategoriesCount: () => Promise;
getCategoriesContent: () => Promise;
isViewPendingChanges: () => Promise;
isDefaultView: () => Promise;
click: () => Promise;
element: () => Promise;
};
openViewsDropdown: () => Promise;
getViewListItemAt: (index: number) => {
click: () => Promise;
select: () => Promise;
hasCheckbox(): Promise;
getPrefix(): Promise;
getTitle(): Promise;
getSubtitle(): Promise;
getSuffix(): Promise;
exists: () => Promise;
element: () => Promise;
};
getViewListItemById: (id: string) => {
click: () => Promise;
select: () => Promise;
hasCheckbox(): Promise;
getPrefix(): Promise;
getTitle(): Promise;
getSubtitle(): Promise;
getSuffix(): Promise;
exists: () => Promise;
element: () => Promise;
};
getSaveViewModal: () => {
exists: () => Promise;
getTitle: () => Promise;
getSubTitle: () => Promise;
getSaveButtonText: () => Promise;
isSaveButtonDisabled: () => Promise;
clickSaveButton: () => Promise;
getCancelButtonText: () => Promise;
clickCancelButton: () => Promise;
clickCloseButton: () => Promise;
viewNameFormFieldExists: () => Promise;
getViewNameInputValue: () => Promise;
getViewNameFormFieldTitle: () => Promise;
getViewNameInputPlaceholder: () => Promise;
fillViewNameInput: (value: string) => Promise;
getViewNameInputStatusMessage: () => Promise;
getViewNameHasErrorStatus: () => Promise;
click: () => Promise;
element: () => Promise;
};
getRenameViewModal: () => {
exists: () => Promise;
getTitle: () => Promise;
getSubTitle: () => Promise;
getSaveButtonText: () => Promise;
isSaveButtonDisabled: () => Promise;
clickSaveButton: () => Promise;
getCancelButtonText: () => Promise;
clickCancelButton: () => Promise;
clickCloseButton: () => Promise;
viewNameFormFieldExists: () => Promise;
getViewNameInputValue: () => Promise;
getViewNameFormFieldTitle: () => Promise;
getViewNameInputPlaceholder: () => Promise;
fillViewNameInput: (value: string) => Promise;
getViewNameInputStatusMessage: () => Promise;
getViewNameHasErrorStatus: () => Promise;
click: () => Promise;
element: () => Promise;
};
clickClearAllFilters: () => Promise;
getFilterAppliedText: () => Promise;
getClearAllFiltersButton: () => import("@wix/design-system/dist/types/TextButton/TextButton.uni.driver").TextButtonUniDriver;
selectFilterOptions: (filterName: string, ids: string[], options?: {
closeDropdown?: boolean | undefined;
} | undefined) => Promise;
selectFilterOption: (filterName: string, id: string) => Promise;
selectFilterRandomOptions: (filterName: string, count: number, options?: {
closeDropdown?: boolean | undefined;
} | undefined) => Promise;
getFilterDropdownOptionsCount: (filterName: string) => Promise;
getFilterDropdownAvailableOptionsIds: (filterName: string) => Promise;
getFilterInputPlaceholder: (filterName: string) => Promise;
isFilterInNoSearchResultsState: (filterName: string) => Promise;
getFilterEmptyStateText: (filterName: string) => Promise;
enterFilterText: (filterName: string, value: string) => Promise;
selectPanelFilterOptions: (filterName: string, ids: string[], options?: {
closePanel?: boolean | undefined;
closeAccordionItem?: boolean | undefined;
closeDropdown?: boolean | undefined;
} | undefined) => Promise;
selectPanelFilterRandomOptions: (filterName: string, count: number, options?: {
closePanel?: boolean | undefined;
closeAccordionItem?: boolean | undefined;
closeDropdown?: boolean | undefined;
} | undefined) => Promise;
checkPanelFilterInlineCheckboxes: (filterName: string, ids: string[], options?: {
closePanel?: boolean | undefined;
closeAccordionItem?: boolean | undefined;
}) => Promise;
choosePanelFilterDateRange: (filterName: string, options?: {
closePanel?: boolean | undefined;
closeAccordionItem?: boolean | undefined;
dates?: Date[] | undefined;
}) => Promise<{
from: import("@wix/design-system/dist/types/DatePicker/DatePicker.uni.driver").DatePickerUniDriver;
to: import("@wix/design-system/dist/types/DatePicker/DatePicker.uni.driver").DatePickerUniDriver;
}>;
clickFilterInPanel: (filterName: string) => Promise;
isFiltersPanelOpen: () => Promise;
getSwitchButton: () => {
clickTableButton: () => Promise;
clickGridButton: () => Promise;
selectChild: (hook: string | number) => Promise;
isSelected: (hook: string | number) => Promise;
getSize: () => Promise<"small" | "medium">;
exists: () => Promise;
element: () => Promise