/** * 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, EditableUtamElement as _EditableUtamElement, ActionableUtamElement as _ActionableUtamElement, UtamBasePageObject as _UtamBasePageObject } from '@utam/core'; /** * Component that enables users to provide feedback on content by selecting 'like' or 'dislike'. It includes a popover form for 'dislike' feedback with reasons and an optional text area for additional information. * Selector: src-feedback-tooltip * generated from JSON dist/runtime_copilot_base/messageActions.utam.json * @version 2026-03-09T13:56:37.283Z * @author Salesforce */ export default class MessageActions extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Click the thumbs up button */ clickThumbsUp(): Promise; /** * Click the thumbs down button */ clickThumbsDown(): Promise; /** * Click the close button on the feedback popover */ clickCloseFeedback(): Promise; /** * Get the text from all tooltips * @return string[] */ getTooltipContents(): Promise; /** * Click the submit button on the feedback form */ clickSubmitButton(): Promise; /** * Click the cancel button on the feedback form */ clickCancelButton(): Promise; /** * Clear and enter text in the more info textarea */ enterMoreInfoText(text: string): Promise; /** * Get the text from the more info textarea * @return string */ getMoreInfoText(): Promise; /** * Check if the more info textarea is visible * @return boolean */ isMoreInfoTextAreaVisible(): Promise; /** * Returns true if element "moreInfoTextArea" present on the page * @return boolean */ verifyMoreInfoTextAreaPresence(): Promise; }