mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-23 15:41:07 +02:00
* rename wrap test * refactor tool hash component * whoops fix component syntax * random refactor * rewrap component * unwrap component * lookup refactor * wrap refactor * update selectors * delete tool action form component * co-locate templates * Revert "co-locate templates" This reverts commit c52bb9875284a4ee78c773c794f4fe572ae7a7f4. * fix component jsdoc syntax * rename tracked property * rename rewrap token input selector * remove parseint now that input is typed as a number * nvm convert to number * co-locate templates * move to tools/ folder * add flash message to test
12 lines
347 B
TypeScript
12 lines
347 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`,
|
|
button: (action: string) => `[data-test-button="${action}"]`,
|
|
};
|