/** * 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, UtamBasePageObject as _UtamBasePageObject } from '@utam/core'; import _Card from 'salesforce-pageobjects/lightning/pageObjects/card'; import _Icon from 'salesforce-pageobjects/lightning/pageObjects/icon'; import _Button from 'salesforce-pageobjects/lightning/pageObjects/button'; /** * Component that displays an error notification inside a Lightning Card with options to refresh or close the tab. * Selector: setup-agentic-setup-error * generated from JSON dist/setup/agenticSetupError.utam.json * @version 2026-03-09T13:56:36.974Z * @author Salesforce */ export default class AgenticSetupError extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if the error notification container is present and visible * @return boolean */ isErrorNotificationVisible(): Promise; /** * Check if the error icon container is present and visible * @return boolean */ isErrorIconContainerVisible(): Promise; /** * Get the error message text from the notification * @return string */ getErrorText(): Promise; /** * Check if the button container is present and visible * @return boolean */ isButtonContainerVisible(): Promise; /** * Represents the Lightning Card that contains the error notification */ getErrorCard(): Promise<_Card>; /** * Represents the Lightning Icon used to display the error icon */ getErrorIcon(): Promise<_Icon>; /** * Represents the Refresh button that triggers a tab refresh */ getRefreshButton(): Promise<_Button>; /** * Represents the Close button that triggers a tab close */ getCloseButton(): Promise<_Button>; }