diff --git a/ui/app/components/database-connection.hbs b/ui/app/components/database-connection.hbs
index 3554a1a00e..2b5d94c9b2 100644
--- a/ui/app/components/database-connection.hbs
+++ b/ui/app/components/database-connection.hbs
@@ -143,7 +143,10 @@
{{/each-in}}
{{/each}}
{{else}}
-
+
+
+
+
{{/if}}
@@ -154,7 +157,10 @@
{{else if (eq @model.isAvailablePlugin false)}}
-
-
-
-
+
+
+
+ Not supported in the UI
+ This database type cannot be viewed in the UI. You will have to use the API or CLI to perform actions here.
+
+
+
+
+
+
{{else}}
{{#each @model.showAttrs as |attr|}}
{{#let attr.options.defaultShown as |defaultDisplay|}}
diff --git a/ui/app/components/database-role-edit.hbs b/ui/app/components/database-role-edit.hbs
index 17cf745a7a..b30ec1daaf 100644
--- a/ui/app/components/database-role-edit.hbs
+++ b/ui/app/components/database-role-edit.hbs
@@ -141,10 +141,10 @@
@modelValidations={{this.modelValidations}}
/>
{{else}}
-
+
+
+
+
{{/if}}
diff --git a/ui/app/components/database-role-setting-form.hbs b/ui/app/components/database-role-setting-form.hbs
index da674ca69e..5c4090fe5b 100644
--- a/ui/app/components/database-role-setting-form.hbs
+++ b/ui/app/components/database-role-setting-form.hbs
@@ -37,7 +37,10 @@
{{/each}}
{{else}}
-
+
+
+
+
{{/if}}
{{! template-lint-configure simple-unless "warn" }}
@@ -51,10 +54,13 @@
{{/each}}
{{else}}
-
+
+
+
+
{{/if}}
{{/unless}}
\ No newline at end of file
diff --git a/ui/app/components/generate-credentials-database.hbs b/ui/app/components/generate-credentials-database.hbs
index 14bb19abe8..716288c210 100644
--- a/ui/app/components/generate-credentials-database.hbs
+++ b/ui/app/components/generate-credentials-database.hbs
@@ -12,20 +12,23 @@
{{! If no role type, that means both static and dynamic requests returned an error }}
{{#unless @roleType}}
-
-
+
-
+
+
+
+
+
{{/unless}}
{{#if (and (not @model.errorMessage) (eq @roleType "dynamic"))}}
diff --git a/ui/tests/integration/components/database-role-setting-form-test.js b/ui/tests/integration/components/database-role-setting-form-test.js
index 9ded81a9d2..fac274e1cd 100644
--- a/ui/tests/integration/components/database-role-setting-form-test.js
+++ b/ui/tests/integration/components/database-role-setting-form-test.js
@@ -9,6 +9,7 @@ import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
import hbs from 'htmlbars-inline-precompile';
import { setRunOptions } from 'ember-a11y-testing/test-support';
+import { GENERAL } from 'vault/tests/helpers/general-selectors';
const testCases = [
{
@@ -96,7 +97,7 @@ module('Integration | Component | database-role-setting-form', function (hooks)
},
});
await render(hbs``);
- assert.dom('[data-test-component="empty-state"]').exists({ count: 2 }, 'Two empty states exist');
+ assert.dom(GENERAL.emptyStateTitle).exists({ count: 2 }, 'Two empty states exist');
});
test('it shows appropriate fields based on roleType and db plugin', async function (assert) {