/** * 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 _BaseCombobox from 'salesforce-pageobjects/lightning/pageObjects/baseCombobox'; import _Helptext from 'salesforce-pageobjects/lightning/pageObjects/helptext'; /** * Selector: lightning-grouped-combobox * Represents the lightning-grouped-combobox Lightning web component. Retrieve the lightning-base-combobox component. * Get the label text or check if it's a required field. * generated from JSON dist/lightning/groupedCombobox.utam.json * @version 2026-03-09T13:56:36.096Z * @author Salesforce */ export default class GroupedCombobox extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Get help message * @return string */ getHelpMessageText(): Promise; /** * Get grouped combobox main label text * @return string */ getLabelText(): Promise; /** * Get filter label text * @return string|null */ getFilterLabelText(): Promise; /** * Checks if the combobox is required * @return boolean */ isRequired(): Promise; /** * Type a text into the combobox input * @return none */ typeText(text: string): Promise; /** * Gets the input text * @return string */ getInputText(): Promise; /** * Performs click action on the combobox list item based on the text value * @return none */ pickItemByLabel(text: string): Promise; /** * Gets the label of the item selected in the input * @return string */ getInputPillLabel(): Promise; /** * Checks if groupedCombobox is disabled * @return boolean */ isDisabled(): Promise; /** * Delete pill by index (starts at 1). * @return none */ deletePill(index: number): Promise; /** * Delete all the selected records from the pill container. * @return none */ deleteAllPills(): Promise; /** * Get all the pill labels from the pill container. * @return string[] */ getAllPillLabels(): Promise; /** * Clears the selection (inputPill). * @return none */ clearSelection(): Promise; /** * Expands the filter combobox. * @return none */ expandFilterCombobox(): Promise; /** * Selects an item in the filter combobox by value. * @return none */ selectItemInFilterComboboxByValue(text: string): Promise; /** * Determine if the filter combobox is present in the DOM or not. * @return boolean */ isFilteredComboboxPresent(): Promise; getHelptext(): Promise<_Helptext>; getBaseCombobox(): Promise<_BaseCombobox>; getFilteredCombo(): Promise<_BaseCombobox | null>; }