UI: VAULT-13135 Add copyable issuer id row to issuer details (#19054)
* VAULT-13135 Add copyable issuer id row to issuer details * Fix failing test
This commit is contained in:
parent
ec2af04ec6
commit
c1a337269f
|
@ -13,6 +13,7 @@ const issuerUrls = ['issuingCertificates', 'crlDistributionPoints', 'ocspServers
|
|||
'caChain',
|
||||
'commonName',
|
||||
'issuerName',
|
||||
'issuerId',
|
||||
'serialNumber',
|
||||
'keyId',
|
||||
'uriSans',
|
||||
|
|
|
@ -117,6 +117,7 @@
|
|||
@value={{get @issuer attr.name}}
|
||||
@formatDate={{if attr.options.formatDate "MMM d yyyy HH:mm:ss a zzzz"}}
|
||||
@alwaysRender={{true}}
|
||||
@addCopyButton={{(eq attr.name "issuerId")}}
|
||||
/>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
|
|
|
@ -427,7 +427,7 @@ module('Acceptance | pki workflow', function (hooks) {
|
|||
assert.dom(SELECTORS.issuerDetails.title).hasText('View issuer certificate');
|
||||
assert
|
||||
.dom(`${SELECTORS.issuerDetails.defaultGroup} ${SELECTORS.issuerDetails.row}`)
|
||||
.exists({ count: 10 }, 'Renders 10 info table items under default group');
|
||||
.exists({ count: 11 }, 'Renders 10 info table items under default group');
|
||||
assert
|
||||
.dom(`${SELECTORS.issuerDetails.urlsGroup} ${SELECTORS.issuerDetails.row}`)
|
||||
.exists({ count: 3 }, 'Renders 4 info table items under URLs group');
|
||||
|
|
Loading…
Reference in New Issue