mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-20 14:11:07 +02:00
* replace confirm-action dropdown with button+modal * add modal frame to sidebar * fix weird paragraph indent * pass button text as arg * add warning color to rotate modals * update seal action and config ssh * cleanup confirm action * edit form * add dropdown arg * put back seal text * put back confirm button text * fix toolbar stylinggp * popup member group * move up title * finish popup- components * keymgmt * fix modal button logic * remaining app template components * add period for angel * vault cluster items * add button text assertion * remaining instances * remove arg for passing confirm text * contextual confirm action components * delete old components * update docs * ammend dropdown loading states, add getter for confirm button color * address feedback * remove @disabled arg and add @disabledMessage * add changelog; * mfa tests * update test selectors * lol cleanup selectors * start confirm action tests WIP * move dropdown class directly to component * add default color of isInDropdown * final cleanup * add tests * remove @buttonColor as arg for dropdown * update confirm action tests * updae modals with disabled message * refactor provider edit test
27 lines
953 B
JavaScript
27 lines
953 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
export const SELECTORS = {
|
|
// key index
|
|
importKey: '[data-test-pki-key-import]',
|
|
generateKey: '[data-test-pki-key-generate]',
|
|
keyId: '[data-test-key="id"]',
|
|
keyName: '[data-test-key="name"]',
|
|
popupMenuTrigger: '[data-test-popup-menu-trigger]',
|
|
popupMenuDetails: '[data-test-key-menu-link="details"]',
|
|
popupMenuEdit: '[data-test-key-menu-link="edit"]',
|
|
// key details
|
|
title: '[data-test-key-details-title]',
|
|
keyIdValue: '[data-test-value-div="Key ID"]',
|
|
keyNameValue: '[data-test-value-div="Key name"]',
|
|
keyTypeValue: '[data-test-value-div="Key type"]',
|
|
keyBitsValue: '[data-test-value-div="Key bits"]',
|
|
keyDeleteButton: '[data-test-pki-key-delete]',
|
|
downloadButton: '[data-test-download-button]',
|
|
keyEditLink: '[data-test-pki-key-edit]',
|
|
confirmDelete: '[data-test-confirm-button]',
|
|
nextStepsAlert: '[data-test-pki-key-next-steps]',
|
|
};
|