/** * 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, UtamBasePageObject as _UtamBasePageObject } from '@utam/core'; import _Spinner from 'salesforce-pageobjects/lightning/pageObjects/spinner'; /** * A component that displays a list of cases with details and provides navigation to the case or account record when clicked. * Selector: src-experience_ui_gen_canvas-/tile-cases * generated from JSON dist/experience/ui/gen/canvas/tileCases.utam.json * @version 2026-03-09T13:56:35.554Z * @author Salesforce */ export default class TileCases extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if the cases container is present and visible * @return boolean */ isCasesContainerVisible(): Promise; /** * Get the text from a case item * @return string[] * @param _caseItemsIndex index of parent element */ getCaseItemText(_caseItemsIndex: number): Promise; /** * Check if the case index is present and visible * @return boolean * @param _caseItemsIndex index of parent element */ isCaseIndexVisible(_caseItemsIndex: number): Promise; /** * Check if the case number is present and visible * @return boolean * @param _caseItemsIndex index of parent element */ isCaseNumberVisible(_caseItemsIndex: number): Promise; /** * Check if the no result message is present and visible * @return boolean */ isNoResultMessageVisible(): Promise; /** * Returns true if element "noResultMessage" present on the page * @return boolean */ verifyNoResultMessagePresence(): Promise; waitForLoadingSpinner(): Promise<_Spinner>; /** * Represents the loading spinner when cases are being fetched. */ getLoadingSpinner(): Promise<_Spinner | null>; }