/** * 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 _BaseTooltipButton from 'salesforce-pageobjects/feeds/chat/pageObjects/baseTooltipButton'; /** * Component that displays feedback options with thumbs up and thumbs down buttons and allows users to submit feedback with reasons. * Selector: src-feedback-tooltip * generated from JSON dist/feeds/chat/feedbackTooltip.utam.json * @version 2026-03-09T13:56:35.638Z * @author Salesforce */ export default class FeedbackTooltip extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Simulates a click on the cancel button */ clickCancelFeedback(): Promise; /** * Simulates a click on the submit button */ clickSubmitFeedback(): Promise; /** * Checks if the feedback form is present and visible * @return boolean */ isFeedbackFormVisible(): Promise; /** * Checks if the cancel button is present and visible * @return boolean */ isCancelButtonVisible(): Promise; /** * Checks if the submit button is present and visible * @return boolean */ isSubmitButtonVisible(): Promise; waitForThumbsDownButton(): Promise<_BaseTooltipButton>; /** * Represents the thumbs up button for positive feedback. */ getThumbsUpButton(): Promise<_BaseTooltipButton>; /** * Represents the thumbs down button for negative feedback. */ getThumbsDownButton(): Promise<_BaseTooltipButton>; /** * Represents the checkboxes for selecting feedback reasons. */ getFeedbackCheckboxes(): Promise<(_BaseUtamElement)[]>; /** * Represents the textarea for providing additional feedback. */ getFeedbackTextarea(): Promise<(_BaseUtamElement) | null>; }