2023-03-15 16:00:52 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
|
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
|
|
*/
|
|
|
|
|
2022-12-08 22:22:33 +00:00
|
|
|
export const SELECTORS = {
|
|
|
|
keyCreateButton: '[data-test-pki-key-save]',
|
|
|
|
keyCancelButton: '[data-test-pki-key-cancel]',
|
|
|
|
keyNameInput: '[data-test-input="keyName"]',
|
|
|
|
typeInput: '[data-test-input="type"]',
|
|
|
|
keyTypeInput: '[data-test-input="keyType"]',
|
|
|
|
keyBitsInput: '[data-test-input="keyBits"]',
|
2022-12-15 22:42:18 +00:00
|
|
|
validationError: '[data-test-pki-key-validation-error]',
|
|
|
|
fieldErrorByName: (name) => `[data-test-field-validation="${name}"]`,
|
2022-12-08 22:22:33 +00:00
|
|
|
};
|