UNPKG

@umbraco/playwright-testhelpers

Version:

Test helpers for making playwright tests for Umbraco solutions

506 lines (505 loc) 30.2 kB
import { Page, Locator } from "@playwright/test"; import { UiBaseLocators } from "./UiBaseLocators"; export declare class LibraryUiHelper extends UiBaseLocators { private readonly elementNameTxt; private readonly saveAndPublishBtn; private readonly publishBtn; private readonly unpublishBtn; private readonly actionMenuForElementBtn; private readonly textstringTxt; private readonly infoTab; private readonly linkElement; private readonly historyItems; private readonly generalItem; private readonly elementState; private readonly createdDate; private readonly editElementTypeBtn; private readonly addTemplateBtn; private readonly id; private readonly cultureAndHostnamesBtn; private readonly cultureLanguageDropdownBox; private readonly addNewHostnameBtn; private readonly hostnameTxt; private readonly hostnameLanguageDropdownBox; private readonly deleteHostnameBtn; private readonly reloadChildrenThreeDotsBtn; private readonly elementTree; private readonly richTextAreaTxt; private readonly textAreaTxt; private readonly plusIconBtn; private readonly enterTagTxt; private readonly menuItemTree; private readonly hostnameComboBox; private readonly confirmToUnpublishBtn; private readonly saveModalBtn; private readonly dropdown; private readonly setADateTxt; private readonly chooseMediaPickerBtn; private readonly chooseMemberPickerBtn; private readonly numericTxt; private readonly resetFocalPointBtn; private readonly addMultiURLPickerBtn; private readonly linkTxt; private readonly anchorQuerystringTxt; private readonly linkTitleTxt; private readonly tagItems; private readonly removeFilesBtn; private readonly toggleBtn; private readonly toggleInput; private readonly elementTypeWorkspace; private readonly addMultipleTextStringBtn; private readonly multipleTextStringValueTxt; private readonly sliderInput; private readonly tabItems; private readonly elementWorkspace; private readonly selectAVariantBtn; private readonly variantAddModeBtn; private readonly saveAndCloseBtn; private readonly enterNameInContainerTxt; private readonly elementCollectionView; private readonly nameBtn; private readonly elementCollectionViewTableRow; private readonly publishSelectedListItems; private readonly unpublishSelectedListItems; private readonly duplicateToSelectedListItems; private readonly moveToSelectedListItems; private readonly trashSelectedListItems; private readonly modalElement; private readonly trashBtn; private readonly elementElementCollectionView; private readonly elementGridView; private readonly elementFolderCollectionView; private readonly elementTreeItem; private readonly elementLanguageSelect; private readonly elementLanguageSelectPopover; private readonly elementReadOnly; private readonly elementWorkspaceEditor; private readonly exactTrashBtn; private readonly emptyRecycleBinBtn; private readonly confirmEmptyRecycleBinBtn; private readonly duplicateToBtn; private readonly moveToBtn; private readonly duplicateBtn; private readonly elementTreeRefreshBtn; private readonly sortChildrenBtn; private readonly rollbackBtn; private readonly rollbackContainerBtn; private readonly publicAccessBtn; private readonly uuiCheckbox; private readonly sortBtn; private readonly containerSaveBtn; private readonly groupBasedProtectionBtn; private readonly chooseMemberGroupBtn; private readonly selectLoginPageElement; private readonly selectErrorPageElement; private readonly rollbackItem; private readonly actionsMenu; private readonly linkToElementBtn; private readonly linkToMediaBtn; private readonly linkToManualBtn; private readonly umbElementCollection; private readonly elementTableColumnName; private readonly addBlockElementBtn; private readonly formValidationMessage; private readonly blockName; private readonly addBlockSettingsTabBtn; private readonly editBlockEntryBtn; private readonly copyBlockEntryBtn; private readonly deleteBlockEntryBtn; private readonly blockGridEntry; private readonly blockListEntry; private readonly tipTapPropertyEditor; private readonly tipTapEditor; private readonly uploadedSvgThumbnail; private readonly linkPickerModal; private readonly pasteFromClipboardBtn; private readonly pasteBtn; private readonly closeBtn; private readonly workspaceEditTab; private readonly workspaceEditProperties; private readonly exactCopyBtn; private readonly openActionsMenu; private readonly replaceExactBtn; private readonly clipboardEntryPicker; private readonly blockWorkspaceEditTab; private readonly insertBlockBtn; private readonly blockWorkspace; private readonly saveElementBtn; private readonly splitView; private readonly tiptapInput; private readonly rteBlockInline; private readonly modalCreateBtn; private readonly modalUpdateBtn; private readonly rteBlock; private readonly workspaceActionMenu; private readonly workspaceActionMenuItem; private readonly viewMoreOptionsBtn; private readonly schedulePublishBtn; private readonly schedulePublishModalBtn; private readonly elementScheduleModal; private readonly publishAtFormLayout; private readonly unpublishAtFormLayout; private readonly publishAtValidationMessage; private readonly unpublishAtValidationMessage; private readonly lastPublished; private readonly publishAt; private readonly blockGridAreasContainer; private readonly blockGridBlock; private readonly blockGridEntries; private readonly inlineCreateBtn; private readonly removeAt; private readonly selectAllCheckbox; private readonly confirmToPublishBtn; private readonly tiptapStatusbarWordCount; private readonly tiptapStatusbarElementPath; private readonly publishWithDescendantsBtn; private readonly elementPublishWithDescendantsModal; private readonly includeUnpublishedDescendantsToggle; private readonly publishWithDescendantsModalBtn; private readonly elementVariantLanguagePicker; private readonly elementVariantLanguageItem; private readonly styleSelectBtn; private readonly cascadingMenuContainer; private readonly modalFormValidationMessage; private readonly treePickerSearchTxt; private readonly mediaPickerSearchTxt; private readonly memberPickerSearchTxt; private readonly elementCreateOptionsModal; private readonly refListBlock; private readonly propertyActionMenu; private readonly elementCollectionViewCustomRows; private readonly collectionMenu; private readonly entityPickerTree; private readonly hostNameItem; private readonly languageToggle; private readonly elementVariantDropdown; private readonly blockProperty; private readonly linkPickerAddBtn; private readonly linkPickerCloseBtn; private readonly linkPickerTargetToggle; private readonly confirmToResetBtn; private readonly saveModal; private readonly expandSegmentBtn; private readonly elementBtn; private readonly elementFolderBtn; private readonly entityActionsBundle; private readonly referencesWorkspaceInfoApp; private readonly noReferencesText; private readonly referencesItemsInInfoTab; constructor(page: Page); enterElementName(name: string): Promise<void>; clickSaveAndPublishButton(): Promise<void>; isSuccessStateVisibleForSaveAndPublishButton(isVisible?: boolean): Promise<void>; clickPublishButton(): Promise<void>; clickUnpublishButton(): Promise<void>; clickReloadChildrenThreeDotsButton(): Promise<void>; clickActionsMenuAtRoot(): Promise<void>; goToElementWithName(elementName: string): Promise<void>; clickActionsMenuForElement(name: string): Promise<void>; openElementCaretButtonForName(name: string): Promise<void>; clickCaretButtonForElementName(name: string): Promise<void>; waitForModalVisible(): Promise<void>; waitForModalHidden(): Promise<void>; clickSaveButtonForElement(): Promise<void>; enterTextstring(text: string): Promise<void>; isTextstringPropertyVisible(isVisible?: boolean): Promise<void>; doesElementTreeHaveName(elementName: string): Promise<void>; enterRichTextArea(value: string): Promise<void>; enterTextArea(value: string): Promise<void>; clickConfirmToUnpublishButton(): Promise<void>; clickInfoTab(): Promise<void>; doesElementHaveLink(link: string): Promise<void>; doesHistoryHaveText(text: string): Promise<void>; doesElementStateHaveText(text: string): Promise<void>; doesCreatedDateHaveText(text: string): Promise<void>; doesIdHaveText(text: string): Promise<void>; clickEditElementTypeButton(): Promise<void>; clickAddTemplateButton(): Promise<void>; clickSaveButtonAndWaitForElementToBeCreated(): Promise<string | undefined>; clickSaveModalButtonAndWaitForElementToBeCreated(): Promise<string | undefined>; clickSaveModalButtonAndWaitForElementToBeUpdated(): Promise<string | undefined>; clickSaveAndPublishButtonAndWaitForElementToBeCreated(): Promise<string | undefined>; clickConfirmToPublishButtonAndWaitForElementToBeCreated(): Promise<string | undefined>; clickSaveButtonAndWaitForElementToBeUpdated(): Promise<string | undefined>; clickSaveAndPublishButtonAndWaitForElementToBeUpdated(): Promise<string | undefined>; clickSaveAndPublishButtonAndWaitForElementToBePublished(): Promise<string | undefined>; private clickContainerSaveButton; clickContainerSaveButtonAndWaitForElementToBeUpdated(): Promise<string | undefined>; clickContainerSaveAndPublishButtonAndWaitForElementToBePublished(): Promise<string | undefined>; clickElementTypeByName(elementTypeName: string): Promise<void>; clickTemplateByName(templateName: string): Promise<void>; isElementTypeModalVisible(elementTypeName: string): Promise<void>; isTemplateModalVisible(templateName: string): Promise<void>; clickEditTemplateByName(templateName: string): Promise<void>; changeTemplate(oldTemplate: string, newTemplate: string): Promise<void>; isTemplateNameDisabled(templateName: string): Promise<void>; clickCultureAndHostnamesButton(): Promise<void>; clickAddNewHostnameButton(): Promise<void>; selectCultureLanguageOption(option: string): Promise<void>; selectHostnameLanguageOption(option: string, index?: number): Promise<void>; enterDomain(value: string, index?: number): Promise<void>; clickDeleteHostnameButton(): Promise<void>; clickSaveModalButton(): Promise<void>; chooseElementType(elementTypeName: string): Promise<void>; clickApprovedColorByValue(value: string): Promise<void>; chooseCheckboxListOption(optionValue: string): Promise<void>; addElementPicker(elementName: string): Promise<void>; isOpenButtonVisibleInElementPicker(elementPickerName: string, isVisible?: boolean): Promise<void>; clickElementPickerOpenButton(elementPickerName: string): Promise<void>; isNodeOpenForElementPicker(elementPickerName: string): Promise<void>; isElementNameVisible(elementName: string, isVisible?: boolean): Promise<void>; isElementInTreeVisible(name: string, isVisible?: boolean): Promise<void>; isChildElementInTreeVisible(parentName: string, childName: string, isVisible?: boolean): Promise<void>; removeElementPicker(elementPickerName: string): Promise<void>; chooseDropdownOption(optionValues: string[]): Promise<void>; enterADate(date: string): Promise<void>; clickChooseMediaPickerButton(): Promise<void>; clickChooseButtonAndSelectMediaWithName(mediaName: string): Promise<void>; clickChooseButtonAndSelectMediaWithKey(mediaKey: string): Promise<void>; removeMediaPickerByName(mediaPickerName: string): Promise<void>; isMediaNameVisible(mediaName: string, isVisible?: boolean): Promise<void>; clickResetFocalPointButton(): Promise<void>; setFocalPoint(widthPercentage?: number, heightPercentage?: number): Promise<void>; clickChooseMemberPickerButton(): Promise<void>; selectMemberByName(memberName: string): Promise<void>; removeMemberPickerByName(memberName: string): Promise<void>; enterNumeric(number: number): Promise<void>; chooseRadioboxOption(optionValue: string): Promise<void>; clickPlusIconButton(): Promise<void>; enterTag(tagName: string): Promise<void>; removeTagByName(tagName: string): Promise<void>; clickAddMultiURLPickerButton(): Promise<void>; selectLinkByName(linkName: string): Promise<void>; enterLink(value: string, toPress?: boolean): Promise<void>; enterAnchorOrQuerystring(value: string, toPress?: boolean): Promise<void>; enterLinkTitle(value: string, toPress?: boolean): Promise<void>; removeUrlPickerByName(linkName: string): Promise<void>; clickEditUrlPickerButtonByName(linkName: string): Promise<void>; clickRemoveFilesButton(): Promise<void>; clickToggleButton(): Promise<void>; doesToggleHaveLabel(label: string): Promise<void>; clickAddMultipleTextStringButton(): Promise<void>; enterMultipleTextStringValue(value: string): Promise<void>; addMultipleTextStringItem(value: string): Promise<void>; enterCodeEditorValue(value: string): Promise<void>; enterMarkdownEditorValue(value: string): Promise<void>; changeSliderValue(value: string): Promise<void>; isElementTypeNameVisible(elementName: string, isVisible?: boolean): Promise<void>; doesModalHaveText(text: string): Promise<void>; isTabNameVisible(tabName: string): Promise<void>; clickTabWithName(tabName: string): Promise<void>; doesElementHaveName(name: string): Promise<void>; doesElementTableColumnNameValuesMatch(expectedValues: string[]): Promise<void>; clickSelectVariantButton(): Promise<void>; clickExpendSegmentButton(elementName: string): Promise<void>; clickVariantAddModeButtonForLanguageName(language: string): Promise<void>; clickSaveAndCloseButton(): Promise<void>; clickCreateElementWithName(name: string): Promise<void>; enterNameInContainer(name: string): Promise<void>; goToElementInElementCollectionViewWithName(elementName: string): Promise<void>; doesElementCollectionViewHaveNoItemsInList(): Promise<void>; doesElementListHaveNoItemsInList(): Promise<void>; clickNameButtonInElementCollectionView(): Promise<void>; doesFirstItemInElementCollectionViewHaveName(name: string): Promise<void>; doesElementCollectionViewContainCount(count: number): Promise<void>; selectElementWithNameInElementCollectionView(name: string): Promise<void>; clickPublishSelectedListItems(): Promise<void>; clickUnpublishSelectedListItems(): Promise<void>; clickDuplicateToSelectedListItems(): Promise<void>; clickMoveToSelectedListItems(): Promise<void>; clickTrashSelectedListItems(): Promise<void>; selectElementWithNameAtRoot(name: string): Promise<void>; clickTrashButton(): Promise<void>; clickExactTrashButton(): Promise<void>; isElementElementCollectionViewVisible(isVisible?: boolean): Promise<void>; isElementFolderCollectionViewVisible(isVisible?: boolean): Promise<void>; isElementGridViewVisible(isVisible?: boolean): Promise<void>; changeElementSectionLanguage(newLanguageName: string): Promise<void>; doesElementSectionHaveLanguageSelected(languageName: string): Promise<void>; isElementReadOnly(isVisible?: boolean): Promise<void>; isElementNameInputEditable(isEditable?: boolean): Promise<void>; isActionsMenuForRecycleBinVisible(isVisible?: boolean): Promise<void>; isActionsMenuForRootVisible(isVisible?: boolean): Promise<void>; clickEmptyRecycleBinButton(): Promise<void>; clickConfirmEmptyRecycleBinButton(): Promise<void>; isElementPropertyEditable(propertyName: string, isEditable?: boolean): Promise<void>; doesElementPropertyHaveValue(propertyName: string, value: string): Promise<void>; clickContentTab(): Promise<void>; isElementTreeEmpty(): Promise<void>; doesElementWorkspaceContainName(name: string): Promise<void>; doesElementWorkspaceHaveText(text: string): Promise<void>; clickDuplicateToButton(): Promise<void>; clickDuplicateButton(): Promise<void>; clickMoveToButton(): Promise<void>; moveToElementWithName(parentNames: string[], moveTo: string): Promise<void>; isCaretButtonVisibleForElementName(elementName: string, isVisible?: boolean): Promise<void>; reloadElementTree(): Promise<void>; clickSortChildrenButton(): Promise<void>; clickRollbackButton(): Promise<void>; clickRollbackContainerButton(): Promise<void>; clickLatestRollBackItem(): Promise<void>; clickPublicAccessButton(): Promise<void>; addGroupBasedPublicAccess(memberGroupName: string, elementName: string): Promise<void>; sortChildrenDragAndDrop(dragFromSelector: Locator, dragToSelector: Locator, verticalOffset?: number, horizontalOffset?: number, steps?: number): Promise<void>; clickSortButton(): Promise<void>; doesIndexElementInTreeContainName(parentName: string, childName: string, index: number): Promise<void>; selectMemberGroup(memberGroupName: string): Promise<void>; isPermissionInActionsMenuVisible(permissionName: string, isVisible?: boolean): Promise<void>; clickElementLinkButton(): Promise<void>; clickMediaLinkButton(): Promise<void>; clickManualLinkButton(): Promise<void>; clickAddBlockElementButton(): Promise<void>; clickAddBlockWithNameButton(name: string): Promise<void>; clickCreateInModal(headline: string, options?: { waitForClose?: 'target' | 'any'; }): Promise<void>; isAddBlockElementButtonVisible(isVisible?: boolean): Promise<void>; isAddBlockElementButtonWithLabelVisible(blockName: string, label: string, isVisible?: boolean): Promise<void>; doesFormValidationMessageContainText(text: string): Promise<void>; doesBlockElementHaveName(name: string): Promise<void>; clickAddBlockSettingsTabButton(): Promise<void>; clickEditBlockGridBlockButton(): Promise<void>; clickDeleteBlockGridBlockButton(): Promise<void>; clickEditBlockListBlockButton(): Promise<void>; clickDeleteBlockListBlockButton(): Promise<void>; clickCopyBlockListBlockButton(groupName: string, propertyName: string, blockName: string, index?: number): Promise<void>; clickCopyBlockGridBlockButton(groupName: string, propertyName: string, blockName: string, index?: number): Promise<void>; clickPasteFromClipboardButtonForProperty(groupName: string, propertyName: string): Promise<void>; clickActionsMenuForProperty(groupName: string, propertyName: string): Promise<void>; clickAddBlockGridElementWithName(elementTypeName: string): Promise<void>; clickEditBlockListEntryWithName(blockListElementName: string): Promise<void>; clickEditBlockGridEntryWithName(blockGridElementName: string): Promise<void>; goToRTEBlockWithName(groupName: string, propertyName: string, blockName: string, index?: number): Promise<void>; clickSelectBlockElementWithName(elementTypeName: string): Promise<void>; clickSelectBlockElementInAreaWithName(elementTypeName: string): Promise<void>; clickBlockElementWithName(elementTypeName: string): Promise<void>; enterPropertyValue(propertyName: string, value: string): Promise<void>; doesBlockContainBlockInAreaWithName(blockWithAreaName: string, areaName: string, blockInAreaName: string, index?: number): Promise<void>; doesBlockContainBlockCountInArea(blockWithAreaName: string, areaName: string, blocksInAreaCount: number, index?: number): Promise<void>; doesBlockContainCountOfBlockInArea(blockWithAreaName: string, areaName: string, blockInAreaName: string, count: number, index?: number): Promise<void>; getBlockAtRootDataElementKey(blockName: string, index?: number): Promise<string | null>; getBlockAreaKeyFromParentBlockDataElementKey(parentKey: string, index?: number): Promise<string | null>; getBlockDataElementKeyInArea(parentBlockName: string, areaName: string, blockName: string, parentIndex?: number, childIndex?: number): Promise<string | null>; removeBlockFromArea(parentBlockName: string, areaName: string, blockName: string, parentIndex?: number, childIndex?: number): Promise<void>; doesBlockAreaContainColumnSpan(blockWithAreaName: string, areaName: string, columnSpan: number, index?: number): Promise<void>; doesBlockAreaContainRowSpan(blockWithAreaName: string, areaName: string, rowSpan: number, index?: number): Promise<void>; clickInlineAddToAreaButton(parentBlockName: string, areaName: string, parentIndex?: number, buttonIndex?: number): Promise<void>; addBlockToAreasWithExistingBlock(blockWithAreaName: string, areaName: string, parentIndex?: number, addToIndex?: number): Promise<void>; doesBlockGridBlockWithAreaContainCreateLabel(blockWithAreaName: string, createLabel: string, index?: number): Promise<void>; doesPropertyContainValue(propertyName: string, value: string): Promise<void>; clickCreateButtonForModalWithElementTypeNameAndGroupName(headlineName: string, groupName: string): Promise<void>; clickUpdateButtonForModalWithElementTypeNameAndGroupName(headlineName: string, groupName: string): Promise<void>; clickExactCopyButton(): Promise<void>; clickExactReplaceButton(): Promise<void>; doesClipboardHaveCopiedBlockWithName(elementName: string, propertyName: string, blockName: string, index?: number): Promise<void>; doesClipboardHaveCopiedBlocks(elementName: string, propertyName: string, index?: number): Promise<void>; doesClipboardContainCopiedBlocksCount(count: number): Promise<void>; selectClipboardEntryWithName(elementName: string, propertyName: string, blockName: string, index?: number): Promise<void>; selectClipboardEntriesWithName(elementName: string, propertyName: string, index?: number): Promise<void>; goToBlockGridBlockWithName(groupName: string, propertyName: string, blockName: string, index?: number): Promise<void>; goToBlockListBlockWithName(groupName: string, propertyName: string, blockName: string, index?: number): Promise<void>; doesBlockEditorBlockWithNameContainValue(groupName: string, propertyName: string, inputType: string | undefined, value: any): Promise<void>; clickCloseButton(): Promise<void>; clickPasteButton(): Promise<void>; doesBlockListPropertyHaveBlockAmount(groupName: string, propertyName: string, amount: number): Promise<void>; doesBlockGridPropertyHaveBlockAmount(groupName: string, propertyName: string, amount: number): Promise<void>; doesPropertyContainValidationMessage(groupName: string, propertyName: string, message: string): Promise<void>; clickInsertBlockButton(): Promise<void>; enterRTETipTapEditor(value: string): Promise<void>; typeRTETipTapEditorValue(value: string, toClearFirst?: boolean): Promise<void>; clickCreateBlockModalButtonAndWaitForModalToClose(): Promise<void>; clickUpdateBlockModalButtonAndWaitForModalToClose(): Promise<void>; enterRTETipTapEditorWithName(name: string, value: string): Promise<void>; clickTipTapToolbarIconWithTitle(iconTitle: string): Promise<void>; doesUploadedSvgThumbnailHaveSrc(imageSrc: string): Promise<void>; doesRichTextEditorBlockContainLabel(richTextEditorAlias: string, label: string): Promise<void>; doesBlockEditorModalContainEditorSize(editorSize: string, elementName: string): Promise<void>; doesBlockEditorModalContainInline(richTextEditorAlias: string, elementName: string): Promise<void>; doesBlockHaveBackgroundColor(elementName: string, backgroundColor: string): Promise<void>; doesBlockHaveIconColor(elementName: string, backgroundColor: string): Promise<void>; addElementDomain(domainName: string, languageName: string): Promise<void>; clickViewMoreOptionsButton(): Promise<void>; clickSchedulePublishButton(): Promise<void>; clickSchedulePublishModalButton(): Promise<void>; enterPublishTime(time: string, index?: number): Promise<void>; enterUnpublishTime(time: string, index?: number): Promise<void>; doesPublishAtValidationMessageContainText(text: string): Promise<void>; doesUnpublishAtValidationMessageContainText(text: string): Promise<void>; doesLastPublishedContainText(text: string): Promise<void>; doesPublishAtContainText(text: string): Promise<void>; doesRemoveAtContainText(text: string): Promise<void>; clickSelectAllCheckbox(): Promise<void>; doesSchedulePublishModalButtonContainDisabledTag(hasDisabledTag?: boolean): Promise<void>; clickInlineBlockCaretButtonForName(blockEditorName: string, index?: number): Promise<void>; doesTiptapHaveWordCount(count: number): Promise<void>; doesTiptapHaveCharacterCount(count: number): Promise<void>; clickTiptapWordCountButton(): Promise<void>; doesElementPathHaveText(text: string): Promise<void>; clickConfirmToPublishButton(): Promise<void>; clickPublishWithDescendantsButton(): Promise<void>; clickIncludeUnpublishedDescendantsToggle(): Promise<void>; clickPublishWithDescendantsModalButton(): Promise<void>; doesElementVariantLanguageItemHaveCount(count: number): Promise<void>; doesElementVariantLanguageItemHaveName(name: string): Promise<void>; clickSchedulePublishLanguageButton(languageName: string): Promise<void>; clickBlockCardWithName(name: string, toForce?: boolean): Promise<void>; clickStyleSelectButton(): Promise<void>; clickCascadingMenuItemWithName(name: string): Promise<void>; hoverCascadingMenuItemWithName(name: string): Promise<void>; selectAllRTETipTapEditorText(): Promise<void>; clearTipTapEditor(): Promise<void>; clickBlockElementInRTEWithName(elementTypeName: string): Promise<void>; doesModalFormValidationMessageContainText(text: string): Promise<void>; enterSearchKeywordInTreePickerModal(keyword: string): Promise<void>; enterSearchKeywordInMediaPickerModal(keyword: string): Promise<void>; enterSearchKeywordInMemberPickerModal(keyword: string): Promise<void>; isElementNameReadOnly(): Promise<void>; isBlockCustomViewVisible(blockCustomViewLocator: string, isVisible?: boolean): Promise<void>; isSingleBlockElementVisible(isVisible?: boolean): Promise<void>; doesBlockCustomViewHaveValue(customBlockViewLocator: string, valueText: string): Promise<void>; clickPropertyActionWithName(name: string): Promise<void>; isElementWithNameVisibleInList(elementName: string, isVisible?: boolean): Promise<void>; selectElementBlueprintWithName(blueprintName: string): Promise<void>; doesElementModalHaveText(text: string): Promise<void>; doesElementCollectionViewItemsHaveCount(pageSize: number): Promise<void>; isElementCollectionViewItemWithNameVisible(itemName: string, index?: number): Promise<void>; clickPaginationNextButton(): Promise<void>; chooseCollectionMenuItemWithName(name: string): Promise<void>; chooseTreeMenuItemWithName(name: string, parentNames?: string[]): Promise<void>; isChooseButtonVisible(isVisible?: boolean): Promise<void>; clickElementNotificationOptionWithName(name: string): Promise<void>; switchLanguage(languageName: string): Promise<void>; clickAddBlockListElementWithName(blockName: string): Promise<void>; isAddBlockListElementWithNameDisabled(blockName: string): Promise<void>; isAddBlockListElementWithNameVisible(blockName: string): Promise<void>; enterBlockPropertyValue(propertyName: string, value: string): Promise<void>; isBlockPropertyEditable(propertyName: string, isEditable?: boolean): Promise<void>; isInlineBlockPropertyVisible(propertyName: string, isVisible?: boolean): Promise<void>; isInlineBlockPropertyVisibleForBlockWithName(blockName: string, propertyName: string, isVisible?: boolean, index?: number): Promise<void>; enterInlineBlockPropertyValue(propertyName: string, value: string, index?: number): Promise<void>; doesInlineBlockPropertyHaveValue(propertyName: string, value: string, index?: number): Promise<void>; clickConfirmTrashButtonAndWaitForElementToBeTrashed(): Promise<string | undefined>; clickConfirmEmptyRecycleBinButtonAndWaitForRecycleBinToBeEmptied(): Promise<string | undefined>; clickConfirmToPublishButtonAndWaitForElementToBePublished(): Promise<string | undefined>; isLinkPickerAddButtonEnabled(): Promise<void>; isLinkPickerAddButtonDisabled(): Promise<void>; clickLinkPickerCloseButton(): Promise<void>; clickLinkPickerAddButton(): Promise<void>; clickLinkPickerTargetToggle(): Promise<void>; clickConfirmToResetButton(): Promise<void>; doesTextStringHaveExpectedValue(expectedValue: string): Promise<void>; doesTextAreaHaveExpectedValue(expectedValue: string): Promise<void>; clickElementButton(): Promise<void>; clickElementFolderButton(): Promise<void>; clickCreateFolderButtonAndWaitForElementFolderToBeCreated(): Promise<string | undefined>; clickConfirmCreateFolderButtonAndWaitForElementFolderToBeCreated(): Promise<string | undefined>; clickConfirmRenameFolderButtonAndWaitForElementFolderToBeRenamed(): Promise<string | undefined>; clickConfirmTrashButtonAndWaitForElementFolderToBeTrashed(): Promise<string | undefined>; clickConfirmToUnpublishButtonAndWaitForElementToBeUnpublished(): Promise<string | undefined>; clickDeleteButtonForTrashedElememtWithName(elementName: string): Promise<void>; clickConfirmToDeleteButtonAndWaitForElementToBeDeleted(): Promise<string | undefined>; clickEntityActionOnElementWithName(elementName: string): Promise<void>; isEntityActionForElementWithNameHidden(elementName: string): Promise<void>; isNoReferencesTextVisible(): Promise<void>; doesReferencesItemsInInfoTabHaveCount(count: number): Promise<void>; }