mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 02:57:59 +00:00
* replaced each instance of MaskedInput in PKI with CertificateCard * modify tests for pki-generate-csr * add test for pki-issuer-details. modify test for pki-certificate-details * added test for pki-key-details. modified test for pki-sign-intermediate-form * update 2 test helper files and modify test for pki-issuer-rotate-root * update test for certificate-card-test.js, update test for the kubernetes configuration-test.js * modify pki-action-forms-test.js to no longer look for masked input. expand test for pki-issuer-details-test.js to check for all issuer details * change CertificateCard to show different format types (PEM, DER, nothing) depending on the value provided. update 2 test files to account for this. * change CertificateCard arg name from @certficateValue to @data to be more inclusive of different uses of CertificateCard (i.e when used for a private key, not a certificate). add description to certificate-card.js * change naming for attr.options.masked to attr.options.displayCard to reflect the change from MaskedInput to CertificateCard * add changelog * change attribute to isCertificate to better fit the title of the component CertificateCard. edit pki-certificate-details.hbs to get rid of extraneous code
18 lines
775 B
JavaScript
18 lines
775 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
export const SELECTORS = {
|
|
caChain: '[data-test-value-div="CA chain"] [data-test-certificate-card]',
|
|
certificate: '[data-test-value-div="Certificate"] [data-test-certificate-card]',
|
|
commonName: '[data-test-row-value="Common name"]',
|
|
csr: '[data-test-value-div="CSR"] [data-test-certificate-card]',
|
|
expiryDate: '[data-test-row-value="Expiration date"]',
|
|
issueDate: '[data-test-row-value="Issue date"]',
|
|
issuingCa: '[data-test-value-div="Issuing CA"] [data-test-certificate-card]',
|
|
privateKey: '[data-test-value-div="Private key"] [data-test-certificate-card]',
|
|
revocationTime: '[data-test-row-value="Revocation time"]',
|
|
serialNumber: '[data-test-row-value="Serial number"]',
|
|
};
|