vault/ui/tests/pages/components/search-select.js
Angel Garbarino 2cf10b3b0e
Remove deprecated "mulitple" from page object (#25629)
* remove multiple and any unused page selectors

* fix issues
2024-02-27 10:26:11 -07:00

20 lines
739 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
import { isPresent, collection, text, clickable } from 'ember-cli-page-object';
export default {
hasTrigger: isPresent('.ember-power-select-trigger'),
hasLabel: isPresent('[data-test-field-label]'),
labelText: text('[data-test-field-label]'),
options: collection('.ember-power-select-option'),
selectedOptions: collection('[data-test-selected-option]'),
deleteButtons: collection('[data-test-selected-list-button="delete"]'),
selectedOptionText: text('[aria-current=true]'),
selectOption: clickable('[aria-current=true]'),
hasStringList: isPresent('[data-test-string-list-input]'),
smallOptionIds: collection('[data-test-smaller-id]'),
};