+ {{#if @model.canReadSecretData}}
+
+ {{else}}
+
+ {{/if}}
{{#if this.isCreateNewVersionFromOldVersion}}
diff --git a/ui/app/templates/components/secret-edit-metadata.hbs b/ui/app/templates/components/secret-edit-metadata.hbs
index 3613883a90..24392d4ae3 100644
--- a/ui/app/templates/components/secret-edit-metadata.hbs
+++ b/ui/app/templates/components/secret-edit-metadata.hbs
@@ -37,6 +37,7 @@
type="submit"
disabled={{this.validationErrorCount}}
class="button is-primary"
+ data-test-save-metadata
>
Save
diff --git a/ui/app/templates/vault/cluster/secrets/backend/metadata.hbs b/ui/app/templates/vault/cluster/secrets/backend/metadata.hbs
index 476e45126f..bd1dc5a803 100644
--- a/ui/app/templates/vault/cluster/secrets/backend/metadata.hbs
+++ b/ui/app/templates/vault/cluster/secrets/backend/metadata.hbs
@@ -55,7 +55,11 @@
@title="No custom metadata"
@bottomBorder={{true}}
@message="This data is version-agnostic and is usually used to describe the secret being stored.">
-
+
Add metadata
diff --git a/ui/lib/core/addon/templates/components/info-table-row.hbs b/ui/lib/core/addon/templates/components/info-table-row.hbs
index 4bdb0696af..7fcf080181 100644
--- a/ui/lib/core/addon/templates/components/info-table-row.hbs
+++ b/ui/lib/core/addon/templates/components/info-table-row.hbs
@@ -11,7 +11,7 @@
{{/if}}
-
+
{{#if (has-block)}}
{{yield}}
{{else if valueIsBoolean}}
@@ -21,6 +21,7 @@
class="icon-true"
@size="l"
@glyph="check-circle-outline"
+ data-test-boolean-true
/> Yes
{{else}}