/** * Copyright (c) 2025, Salesforce, Inc. * All rights reserved. * For full license text, see the LICENSE file or https://utam.dev/salesforce/license */ import { Driver as _Driver, Element as _Element, Locator as _Locator, BaseUtamElement as _BaseUtamElement, UtamBaseRootPageObject as _UtamBaseRootPageObject } from '@utam/core'; import _TreeGrid from 'salesforce-pageobjects/lightning/pageObjects/treeGrid'; /** * Component that displays a tree view of items when data is ready, or shows various error or loading states based on the component's state. * Selector: src-explorer-view * generated from JSON dist/applications/explorerView.utam.json * @version 2026-03-09T13:56:34.922Z * @author Salesforce */ export default class ExplorerView extends _UtamBaseRootPageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check that explorer flex parent is present and visible * @return boolean */ isExplorerFlexParentVisible(): Promise; /** * Check that items label is present and visible * @return boolean */ isItemsLabelVisible(): Promise; /** * Check that container is present and visible * @return boolean */ isContainerVisible(): Promise; /** * Check that invalid metadata ID container is present and visible * @return boolean * @param selectorStr CSS selector parameter */ isInvalidMetadataIdContainerVisible(selectorStr: string): Promise; /** * Check that invalid metadata ID image is present and visible * @return boolean * @param selectorStr CSS selector parameter */ isInvalidMetadataIdImageVisible(selectorStr: string): Promise; /** * Check that invalid metadata ID heading is present and visible * @return boolean * @param selectorStr CSS selector parameter */ isInvalidMetadataIdHeadingVisible(selectorStr: string): Promise; /** * Check that invalid metadata ID message is present and visible * @return boolean * @param selectorStr CSS selector parameter */ isInvalidMetadataIdMessageVisible(selectorStr: string): Promise; /** * Check that service error container is present and visible * @return boolean * @param selectorStr CSS selector parameter */ isServiceErrorContainerVisible(selectorStr: string): Promise; /** * Check that service error image is present and visible * @return boolean * @param selectorStr CSS selector parameter */ isServiceErrorImageVisible(selectorStr: string): Promise; /** * Check that service error heading is present and visible * @return boolean * @param selectorStr CSS selector parameter */ isServiceErrorHeadingVisible(selectorStr: string): Promise; /** * Check that service error message is present and visible * @return boolean * @param selectorStr CSS selector parameter */ isServiceErrorMessageVisible(selectorStr: string): Promise; /** * Check that loading state container is present and visible * @return boolean * @param selectorStr CSS selector parameter */ isLoadingStateContainerVisible(selectorStr: string): Promise; /** * Check that loading state image is present and visible * @return boolean * @param selectorStr CSS selector parameter */ isLoadingStateImageVisible(selectorStr: string): Promise; /** * Check that loading state heading is present and visible * @return boolean * @param selectorStr CSS selector parameter */ isLoadingStateHeadingVisible(selectorStr: string): Promise; /** * Check that loading state message is present and visible * @return boolean * @param selectorStr CSS selector parameter */ isLoadingStateMessageVisible(selectorStr: string): Promise; /** * Returns true if element "itemsLabel" present on the page * @return boolean */ verifyItemsLabelPresence(): Promise; /** * Returns true if element "container" present on the page * @return boolean */ verifyContainerPresence(): Promise; /** * Returns true if element "invalidMetadataIdContainer" present on the page * @return boolean * @param selectorStr CSS selector parameter */ verifyInvalidMetadataIdContainerPresence(selectorStr: string): Promise; /** * Returns true if element "serviceErrorContainer" present on the page * @return boolean * @param selectorStr CSS selector parameter */ verifyServiceErrorContainerPresence(selectorStr: string): Promise; /** * Returns true if element "loadingStateContainer" present on the page * @return boolean * @param selectorStr CSS selector parameter */ verifyLoadingStateContainerPresence(selectorStr: string): Promise; /** * Get the number of tree grid rows * @return number */ getTreeGridRowsCount(): Promise; waitForItemsLabel(): Promise<(_BaseUtamElement)>; /** * Represents the container for the tree grid */ getContainer(): Promise<(_BaseUtamElement) | null>; /** * Represents the tree grid component */ getLightningTreeGrid(): Promise<_TreeGrid | null>; }