| /** |
| * Copyright (c) HashiCorp, Inc. |
| * SPDX-License-Identifier: MPL-2.0 |
| */ |
| |
| 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] button', |
| downloadButton: '[data-test-download-button]', |
| keyEditLink: '[data-test-pki-key-edit]', |
| confirmDelete: '[data-test-confirm-button]', |
| }; |