/** * 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 _CardViewList from 'salesforce-pageobjects/dev/workspace/pageObjects/cardViewList'; /** * Component that displays a list of recent projects with a header and a "View All" link. It also handles an error state by displaying an error message. * Selector: dev_workspace-home-page-list * generated from JSON dist/dev/workspace/homePageList.utam.json * @version 2026-03-09T13:56:35.180Z * @author Salesforce */ export default class HomePageList extends _UtamBaseRootPageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Retrieves the title text of the header area * @return string */ getTitleText(): Promise; /** * Clicks on the View All link in the header area */ clickViewAllLink(): Promise; /** * Checks if the error message box is visible * @return boolean */ isErrorBoxVisible(): Promise; /** * Retrieves the text from the error message box * @return string */ getErrorBoxText(): Promise; /** * Returns true if element "errorBox" present on the page * @return boolean */ verifyErrorBoxPresence(): Promise; waitForCardViewList(): Promise<_CardViewList>; getRoot(): Promise<(_BaseUtamElement)>; /** * Represents the custom component that displays a list of project cards */ getCardViewList(): Promise<_CardViewList>; }