@wix/design-system
Version:
@wix/design-system
46 lines • 2.07 kB
TypeScript
import { UniDriver } from '@wix/wix-ui-test-utils/unidriver';
declare const cardGalleryItemDriverFactory: (base: UniDriver, body: UniDriver) => {
/** Gets the cards title. */
getTitle: () => Promise<string | null>;
/** Gets the badge node element. */
getBadge: () => Promise<Node | null>;
/** Gets the cards subtitle. */
getSubtitle: () => Promise<string | null>;
/** Gets the background image URL. */
getBackgroundImageUrl: () => Promise<string | null>;
/** Clicks on the primary action. */
click: () => Promise<void>;
/** Clicks on the container. */
clickOnContainer: () => Promise<void>;
/** Clicks on the footer. */
clickFooter: () => Promise<void>;
/** Gets the primary action label. */
getPrimaryActionLabel: () => Promise<string>;
/** Checks whether the primary action is clickable. */
isPrimaryActionDisabled: () => Promise<boolean>;
/** Clicks on the primary action button. */
clickOnPrimaryAction: () => Promise<void>;
/** Gets the secondary action label. l*/
getSecondaryActionLabel: () => Promise<string>;
/** Clicks on the secondary action. */
clickOnSecondaryAction: () => Promise<void>;
/** Gets the the settingsMenu node. */
getSettingsMenu: () => Promise<Node | null>;
/** Gets the background image element. */
getBackgroundImageNode: () => Promise<Element | null>;
/** Hovers the component. */
hover: () => Promise<void>;
/** Indicates drag handle exists */
dragHandleExists: () => Promise<boolean>;
clickDragHandle: () => Promise<void>;
hoverDragHandle: () => Promise<void>;
isDragHandleTooltipEnabled: () => Promise<boolean>;
getDragHandleTooltipContent: () => Promise<string | null>;
getCustomFooter: () => Promise<Node>;
exists: () => Promise<boolean>;
element: () => Promise<any>;
base: UniDriver;
};
export type CardGalleryItemUniDriver = ReturnType<typeof cardGalleryItemDriverFactory>;
export default cardGalleryItemDriverFactory;
//# sourceMappingURL=CardGalleryItem.uni.driver.d.ts.map