vault/ui/tests/helpers/tools-selectors.ts
claire bontempo 1f64e6e9ca
UI: Allow repeat data wrapping for wrap tool (#27289)
* update selectors

* add tests

* add tests

* add explanations to true only args

* allow token wrap to wrap again

* update test wording

* add wrap specific modules to tools acceptance test

* add changelog

* remove selectedAction

* trim args and update tests
2024-06-03 17:20:09 -07:00

12 lines
340 B
TypeScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
export const TOOLS_SELECTORS = {
submit: '[data-test-tools-submit]',
toolsInput: (attr: string) => `[data-test-tools-input="${attr}"]`,
tab: (item: string) => `[data-test-tab="${item}"]`,
button: (action: string) => `[data-test-button="${action}"]`,
};