mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-22 07:01:09 +02:00
* refactor crumbs * add subdirectory library route and hierarchical nav * update library breadcrumbs; * fix role popup menus * add getter to library model for full path * cleanup model getters * add changelog * add bug fix note * add transition after deleting * fix function definition * update adapter test * add test coverage * fix crumb typo
13 lines
490 B
TypeScript
13 lines
490 B
TypeScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
export const LDAP_SELECTORS = {
|
|
roleItem: (type: string, name: string) => `[data-test-role="${type} ${name}"]`,
|
|
libraryItem: (name: string) => `[data-test-library="${name}"]`,
|
|
roleMenu: (type: string, name: string) => `[data-test-popup-menu-trigger="${type} ${name}"]`,
|
|
libraryMenu: (name: string) => `[data-test-popup-menu-trigger="${name}"]`,
|
|
action: (action: string) => `[data-test-${action}]`,
|
|
};
|