/** * 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 _ExecutiveSummarySection from 'salesforce-pageobjects/app_dev_agent/pageObjects/executiveSummarySection'; import _UseCasesSection from 'salesforce-pageobjects/app_dev_agent/pageObjects/useCasesSection'; import _CustomSectionsSection from 'salesforce-pageobjects/app_dev_agent/pageObjects/customSectionsSection'; import _Icon from 'salesforce-pageobjects/lightning/pageObjects/icon'; /** * Component that displays a requirements document with sections such as executive summary, use cases, and custom sections, and includes a loading state. * Selector: app_dev_agent-requirements-document * generated from JSON dist/app_dev_agent/requirementsDocument.utam.json * @version 2026-03-09T13:56:34.882Z * @author Salesforce */ export default class RequirementsDocument extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check that the root container is present and visible * @return boolean */ isMarkdownCardVisible(): Promise; /** * Check that the loader (icon) is present and visible * @return boolean */ isLoaderVisible(): Promise; /** * Check that the loading message is present and visible * @return boolean */ isLoadingMessageVisible(): Promise; /** * Retrieve the text content of the loading message * @return string */ getLoadingMessageText(): Promise; /** * Check that the separators are present and visible * @return boolean[] */ areSeparatorsPresent(): Promise; /** * Check that at least one separator is visible * @return boolean[] */ isSeparatorVisible(): Promise; /** * Returns true if element "loadingMessage" present on the page * @return boolean */ verifyLoadingMessagePresence(): Promise; /** * Returns true if element "markdownSeperators" present on the page * @return boolean[] */ verifyMarkdownSeperatorsPresence(): Promise; waitForExecutiveSummarySection(): Promise<_ExecutiveSummarySection>; waitForUseCasesSection(): Promise<_UseCasesSection>; waitForCustomSectionsSection(): Promise<_CustomSectionsSection>; /** * Represents the loading icon displayed during the loading state */ getLoadingIcon(): Promise<_Icon | null>; /** * Represents the executive summary section of the document */ getExecutiveSummarySection(): Promise<_ExecutiveSummarySection | null>; /** * Represents the use cases section of the document */ getUseCasesSection(): Promise<_UseCasesSection | null>; /** * Represents the custom sections section of the document */ getCustomSectionsSection(): Promise<_CustomSectionsSection | null>; }