From 60bd75bdcadc1aa94dce7f9fc78510c801bf3493 Mon Sep 17 00:00:00 2001 From: Kianna <30884335+kiannaquach@users.noreply.github.com> Date: Fri, 18 Aug 2023 10:44:37 -0700 Subject: [PATCH] UI: [VAULT-19160 VAULT-19159] Dashboard card order, minor cleanup tasks, and update page header (#22413) --- .../dashboard/quick-actions-card.js | 2 +- .../components/secrets-engines-card.scss | 3 + ui/app/styles/core.scss | 1 + .../helper-classes/flexbox-and-grid.scss | 16 +- ui/app/styles/helper-classes/spacing.scss | 9 + .../components/auth-button-google.hbs | 2 +- .../dashboard/client-count-card.hbs | 108 ++++++------ .../components/dashboard/learn-more-card.hbs | 32 ++-- .../dashboard/quick-actions-card.hbs | 112 ++++++------ .../components/dashboard/replication-card.hbs | 164 +++++++++--------- .../dashboard/secrets-engines-card.hbs | 122 ++++++------- .../components/dashboard/survey-link-text.hbs | 8 + .../vault-configuration-details-card.hbs | 72 ++++---- .../dashboard/vault-version-title.hbs | 17 +- ui/app/templates/components/logo-splash.hbs | 2 +- .../mfa/mfa-login-enforcement-form.hbs | 4 +- .../components/oidc-callback-splash.hbs | 2 +- ui/app/templates/components/splash-page.hbs | 2 +- .../components/transit-key-action/verify.hbs | 8 +- ui/app/templates/vault/cluster/dashboard.hbs | 84 ++++----- .../vault/cluster/oidc-provider-ns.hbs | 2 +- .../templates/vault/cluster/oidc-provider.hbs | 2 +- .../cluster/secrets/backend/versions.hbs | 2 +- ui/app/templates/vault/cluster/unseal.hbs | 2 +- ui/app/templates/vault/error.hbs | 2 +- .../addon/components/certificate-card.hbs | 2 +- .../core/addon/components/layout-loading.hbs | 2 +- .../addon/templates/components/list-item.hbs | 6 +- .../components/replication-mode-summary.hbs | 2 +- .../addon/components/page/overview.hbs | 2 +- .../addon/components/page/pki-overview.hbs | 6 +- .../components/pki-import-pem-bundle.hbs | 8 +- .../components/pki-issuer-cross-sign.hbs | 4 +- ui/tests/acceptance/dashboard-test.js | 4 +- .../dashboard/quick-actions-card-test.js | 2 +- 35 files changed, 431 insertions(+), 387 deletions(-) create mode 100644 ui/app/styles/components/secrets-engines-card.scss create mode 100644 ui/app/templates/components/dashboard/survey-link-text.hbs diff --git a/ui/app/components/dashboard/quick-actions-card.js b/ui/app/components/dashboard/quick-actions-card.js index 6652c98d532b..8c34780a62e4 100644 --- a/ui/app/components/dashboard/quick-actions-card.js +++ b/ui/app/components/dashboard/quick-actions-card.js @@ -46,7 +46,7 @@ export default class DashboardQuickActionsCard extends Component { switch (this.selectedAction) { case 'Find KV secrets': return { - title: 'Secret Path', + title: 'Secret path', subText: 'Path of the secret you want to read, including the mount. E.g., secret/data/foo.', buttonText: 'Read secrets', model: 'secret-v2', diff --git a/ui/app/styles/components/secrets-engines-card.scss b/ui/app/styles/components/secrets-engines-card.scss new file mode 100644 index 000000000000..017f49759da8 --- /dev/null +++ b/ui/app/styles/components/secrets-engines-card.scss @@ -0,0 +1,3 @@ +.secrets-engines-card { + min-height: 480px; +} diff --git a/ui/app/styles/core.scss b/ui/app/styles/core.scss index 045e0fe2116b..1eae551a5b9c 100644 --- a/ui/app/styles/core.scss +++ b/ui/app/styles/core.scss @@ -103,6 +103,7 @@ @import './components/search-select'; @import './components/selectable-card'; @import './components/selectable-card-container'; +@import './components/secrets-engines-card'; // action-block extends selectable-card @import './components/action-block'; @import './components/shamir-modal-flow'; diff --git a/ui/app/styles/helper-classes/flexbox-and-grid.scss b/ui/app/styles/helper-classes/flexbox-and-grid.scss index 39ca8fc09cf0..668efff1a580 100644 --- a/ui/app/styles/helper-classes/flexbox-and-grid.scss +++ b/ui/app/styles/helper-classes/flexbox-and-grid.scss @@ -24,6 +24,10 @@ gap: $spacing-m; } +.has-gap-l { + gap: $spacing-l; +} + // Alignment of the items .is-flex-v-centered { display: flex; @@ -72,13 +76,17 @@ flex-basis: 100%; } -.is-flex-1 { +.is-flex-grow-1 { flex-grow: 1; &.basis-0 { flex-basis: 0; } } +.is-flex-1 { + flex: 1; +} + .is-no-flex-grow { flex-grow: 0 !important; } @@ -101,6 +109,12 @@ } } +@include until($mobile) { + .is-flex-row { + flex-flow: column wrap; + } +} + /* CSS GRID */ .is-grid { display: grid; diff --git a/ui/app/styles/helper-classes/spacing.scss b/ui/app/styles/helper-classes/spacing.scss index 22aa94b3f268..66581cd96359 100644 --- a/ui/app/styles/helper-classes/spacing.scss +++ b/ui/app/styles/helper-classes/spacing.scss @@ -95,6 +95,15 @@ margin-bottom: -$spacing-m; } +.has-top-margin-xxs { + margin: $spacing-xxs 0; +} +.has-right-margin-xxs { + margin-right: $spacing-xxs; +} +.has-left-margin-xxs { + margin-left: $spacing-xxs; +} .has-bottom-margin-xxs { margin-bottom: $spacing-xxs !important; } diff --git a/ui/app/templates/components/auth-button-google.hbs b/ui/app/templates/components/auth-button-google.hbs index 984957270c2d..c8c96ad81742 100644 --- a/ui/app/templates/components/auth-button-google.hbs +++ b/ui/app/templates/components/auth-button-google.hbs @@ -69,7 +69,7 @@ -
+
Sign in with Google
\ No newline at end of file diff --git a/ui/app/templates/components/dashboard/client-count-card.hbs b/ui/app/templates/components/dashboard/client-count-card.hbs index 2291c4f8930d..1dc918653494 100644 --- a/ui/app/templates/components/dashboard/client-count-card.hbs +++ b/ui/app/templates/components/dashboard/client-count-card.hbs @@ -1,60 +1,60 @@ -
-

- Client count -

+ +
+

+ Client count +

-
- Details + Details
-
-
+
-{{#if this.noActivityData}} - {{! This will likely not be show since the client activity api was changed to always return data. In the past it + {{#if this.noActivityData}} + {{! This will likely not be show since the client activity api was changed to always return data. In the past it would return no activity data. Adding this empty state here to match the current client count behavior }} - -{{else}} -
- {{#if this.fetchClientActivity.isRunning}} - - {{else}} - - - {{/if}} -
- - {{#unless this.fetchClientActivity.isRunning}} -
- - - Updated - {{date-format this.updatedAt "MMM dd, yyyy HH:mm:SS"}} - + + {{else}} +
+ {{#if this.fetchClientActivity.isRunning}} + + {{else}} + + + {{/if}}
- {{/unless}} -{{/if}} \ No newline at end of file + + {{#unless this.fetchClientActivity.isRunning}} +
+ + + Updated + {{date-format this.updatedAt "MMM dd, yyyy HH:mm:SS"}} + +
+ {{/unless}} + {{/if}} + \ No newline at end of file diff --git a/ui/app/templates/components/dashboard/learn-more-card.hbs b/ui/app/templates/components/dashboard/learn-more-card.hbs index c809dbcb6ce1..8a480b50c263 100644 --- a/ui/app/templates/components/dashboard/learn-more-card.hbs +++ b/ui/app/templates/components/dashboard/learn-more-card.hbs @@ -1,15 +1,17 @@ -

Learn more

-
- Explore the features of Vault and learn advance practices with the following tutorials and documentation. -
-
- {{#each this.learnMoreLinks as |learnMoreLink|}} - - {{/each}} -
\ No newline at end of file + +

Learn more

+
+ Explore the features of Vault and learn advance practices with the following tutorials and documentation. +
+
+ {{#each this.learnMoreLinks as |learnMoreLink|}} + + {{/each}} +
+
\ No newline at end of file diff --git a/ui/app/templates/components/dashboard/quick-actions-card.hbs b/ui/app/templates/components/dashboard/quick-actions-card.hbs index d019a71c79a3..315921cd8b74 100644 --- a/ui/app/templates/components/dashboard/quick-actions-card.hbs +++ b/ui/app/templates/components/dashboard/quick-actions-card.hbs @@ -1,63 +1,65 @@ -

Quick actions

- -
-

Secrets engines

- -
- -{{#if this.selectedEngine}} -

Action

- + + {{#if this.searchSelectParams.model}} +

{{this.searchSelectParams.title}}

+ + -
- -
+
+ +
+ {{/if}} + {{else}} + {{/if}} -{{else}} - -{{/if}} \ No newline at end of file + \ No newline at end of file diff --git a/ui/app/templates/components/dashboard/replication-card.hbs b/ui/app/templates/components/dashboard/replication-card.hbs index b5e8b0dadba2..a8a80ebac8ad 100644 --- a/ui/app/templates/components/dashboard/replication-card.hbs +++ b/ui/app/templates/components/dashboard/replication-card.hbs @@ -2,91 +2,93 @@ Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: BUSL-1.1 ~}} + -
-

- Replication -

+
+

+ Replication +

- - Details - -
- -{{! check if dr replication and performance replication exists }} -{{#if (or @replication.dr.clusterId @replication.performance.clusterId)}} -
- {{! check if user has access to both perf replication and dr replication }} - {{#if (and @version.hasPerfReplication @version.hasDRReplication)}} -
- - -
- {{! if user only has access to dr replication }} - {{else if @version.hasDRReplication}} - - DR Primary + + Details +
-
- - + {{! check if user has access to both perf replication and dr replication }} + {{#if (and @version.hasPerfReplication @version.hasDRReplication)}} +
+ + +
+ {{! if user only has access to dr replication }} + {{else if @version.hasDRReplication}} + + DR Primary + + +
+ + +
+ {{/if}} +
+ + + Updated + {{date-format @updatedAt "MMM dd, yyyy HH:mm:SS"}} +
+ {{else}} + +
+ Enable replication +
+
{{/if}} -
- - - Updated - {{date-format @updatedAt "MMM dd, yyyy HH:mm:SS"}} - -
-{{else}} - -
- Enable replication -
-
-{{/if}} \ No newline at end of file + \ No newline at end of file diff --git a/ui/app/templates/components/dashboard/secrets-engines-card.hbs b/ui/app/templates/components/dashboard/secrets-engines-card.hbs index 09925a501326..b8ac3f444e29 100644 --- a/ui/app/templates/components/dashboard/secrets-engines-card.hbs +++ b/ui/app/templates/components/dashboard/secrets-engines-card.hbs @@ -1,72 +1,72 @@ -

Secrets engines

- - <:body as |B|> - {{#each this.filteredSecretsEngines as |backend|}} - - -
-
- {{#if backend.icon}} - - - - - -
- {{or backend.engineType backend.path}} -
-
-
- {{/if}} - {{#if backend.path}} - {{#if backend.isSupportedBackend}} - - {{backend.path}} - - {{else}} - {{backend.path}} + +

Secrets engines

+ + <:body as |B|> + {{#each this.filteredSecretsEngines as |backend|}} + + +
+
+ {{#if backend.icon}} + + + + + +
+ {{or backend.engineType backend.path}} +
+
+
+ {{/if}} + {{#if backend.path}} + {{#if backend.isSupportedBackend}} + + {{backend.path}} + + {{else}} + {{backend.path}} + {{/if}} {{/if}} +
+ {{#if backend.accessor}} + + {{backend.accessor}} + + {{/if}} + {{#if backend.description}} +
+ {{backend.description}} +
{{/if}}
- {{#if backend.accessor}} - - {{backend.accessor}} - - {{/if}} - {{#if backend.description}} -
- {{backend.description}} -
- {{/if}} -
-
{{#if backend.isSupportedBackend}} - View - + {{/if}} -
- - - {{/each}} - - -
- -
\ No newline at end of file + + + {{/each}} + + +
+ +
+ \ No newline at end of file diff --git a/ui/app/templates/components/dashboard/survey-link-text.hbs b/ui/app/templates/components/dashboard/survey-link-text.hbs new file mode 100644 index 000000000000..43b4dbf30e56 --- /dev/null +++ b/ui/app/templates/components/dashboard/survey-link-text.hbs @@ -0,0 +1,8 @@ +
+ + Don't see what you're looking for on this page? Let us know via our + + feedback form. + + +
\ No newline at end of file diff --git a/ui/app/templates/components/dashboard/vault-configuration-details-card.hbs b/ui/app/templates/components/dashboard/vault-configuration-details-card.hbs index c59f504ad703..ca21d9e5d6fb 100644 --- a/ui/app/templates/components/dashboard/vault-configuration-details-card.hbs +++ b/ui/app/templates/components/dashboard/vault-configuration-details-card.hbs @@ -1,36 +1,38 @@ -

Configuration details

+ +

Configuration details

- - <:body as |B|> - - API_ADDR - {{or @vaultConfiguration.api_addr "None"}} - - - Default lease TTL - {{format-duration - @vaultConfiguration.default_lease_ttl - }} - - - Max lease TTL - {{format-duration @vaultConfiguration.max_lease_ttl}} - - - TLS - {{this.tlsDisabled}} - - - Log format - {{or @vaultConfiguration.log_format "None"}} - - - Log level - {{@vaultConfiguration.log_level}} - - - Storage type - {{@vaultConfiguration.storage.type}} - - - \ No newline at end of file + + <:body as |B|> + + API_ADDR + {{or @vaultConfiguration.api_addr "None"}} + + + Default lease TTL + {{format-duration + @vaultConfiguration.default_lease_ttl + }} + + + Max lease TTL + {{format-duration @vaultConfiguration.max_lease_ttl}} + + + TLS + {{this.tlsDisabled}} + + + Log format + {{or @vaultConfiguration.log_format "None"}} + + + Log level + {{@vaultConfiguration.log_level}} + + + Storage type + {{@vaultConfiguration.storage.type}} + + + +
\ No newline at end of file diff --git a/ui/app/templates/components/dashboard/vault-version-title.hbs b/ui/app/templates/components/dashboard/vault-version-title.hbs index add28e8bb702..339a64602619 100644 --- a/ui/app/templates/components/dashboard/vault-version-title.hbs +++ b/ui/app/templates/components/dashboard/vault-version-title.hbs @@ -1,8 +1,9 @@ -
-

- {{this.versionHeader}} -

- - - -
\ No newline at end of file + + +

+ {{this.versionHeader}} + +

+
+
+
\ No newline at end of file diff --git a/ui/app/templates/components/logo-splash.hbs b/ui/app/templates/components/logo-splash.hbs index ca68711456c2..633a4c31a3e7 100644 --- a/ui/app/templates/components/logo-splash.hbs +++ b/ui/app/templates/components/logo-splash.hbs @@ -3,7 +3,7 @@ SPDX-License-Identifier: BUSL-1.1 ~}} -
+
diff --git a/ui/app/templates/components/mfa/mfa-login-enforcement-form.hbs b/ui/app/templates/components/mfa/mfa-login-enforcement-form.hbs index 00ef7a50f18f..a827c3392108 100644 --- a/ui/app/templates/components/mfa/mfa-login-enforcement-form.hbs +++ b/ui/app/templates/components/mfa/mfa-login-enforcement-form.hbs @@ -58,7 +58,7 @@ /> {{#each this.targets as |target|}}
- + {{#if target.value.id}} {{target.value.name}} {{target.value.id}} @@ -85,7 +85,7 @@ @onChange={{this.onTargetSelect}} data-test-mlef-select="target-type" /> -
+
{{#if (eq this.selectedTargetType "accessor")}} +
diff --git a/ui/app/templates/components/splash-page.hbs b/ui/app/templates/components/splash-page.hbs index 53bee45936ed..844c2740f6bc 100644 --- a/ui/app/templates/components/splash-page.hbs +++ b/ui/app/templates/components/splash-page.hbs @@ -7,7 +7,7 @@ {{#if @hasAltContent}} {{yield (hash altContent=(component "splash-page/splash-content"))}} {{else}} -
+
diff --git a/ui/app/templates/components/transit-key-action/verify.hbs b/ui/app/templates/components/transit-key-action/verify.hbs index 9d71a404c69d..2f6d8809f79b 100644 --- a/ui/app/templates/components/transit-key-action/verify.hbs +++ b/ui/app/templates/components/transit-key-action/verify.hbs @@ -143,14 +143,14 @@
{{#if (or (and @verification (eq @verification "HMAC")) @hmac)}} -
-
+
+
{{else}} -
-
+
+
-
- {{#if (and @model.version.isEnterprise @model.license)}} - - - - {{/if}} +
+
+ {{#if @model.version.isEnterprise}} - {{#if (and @model.version.isEnterprise @model.isRootNamespace)}} - - - - {{/if}} +
+ {{#if @model.license}} + + {{/if}} + {{#if @model.isRootNamespace}} + + {{/if}} + +
- - - +
+ + {{#if @model.vaultConfiguration}} + + {{/if}} +
+ + +
+
- - - - -
- - - - -
- - Don't see what you're looking for on this page? Let us know via our - - feedback form - - -
+ {{else}} +
+ +
+ + +
+
+
+ + {{#if @model.vaultConfiguration}} + + {{/if}} +
+ {{/if}}
- - {{#if @model.vaultConfiguration}} - - - - {{/if}}
\ No newline at end of file diff --git a/ui/app/templates/vault/cluster/oidc-provider-ns.hbs b/ui/app/templates/vault/cluster/oidc-provider-ns.hbs index 29745a876e99..24f57426bdc0 100644 --- a/ui/app/templates/vault/cluster/oidc-provider-ns.hbs +++ b/ui/app/templates/vault/cluster/oidc-provider-ns.hbs @@ -3,7 +3,7 @@ SPDX-License-Identifier: BUSL-1.1 ~}} -
+
{{#if this.model.error}} diff --git a/ui/app/templates/vault/cluster/oidc-provider.hbs b/ui/app/templates/vault/cluster/oidc-provider.hbs index 29745a876e99..24f57426bdc0 100644 --- a/ui/app/templates/vault/cluster/oidc-provider.hbs +++ b/ui/app/templates/vault/cluster/oidc-provider.hbs @@ -3,7 +3,7 @@ SPDX-License-Identifier: BUSL-1.1 ~}} -
+
{{#if this.model.error}} diff --git a/ui/app/templates/vault/cluster/secrets/backend/versions.hbs b/ui/app/templates/vault/cluster/secrets/backend/versions.hbs index 3f891921248c..06a297fd6e99 100644 --- a/ui/app/templates/vault/cluster/secrets/backend/versions.hbs +++ b/ui/app/templates/vault/cluster/secrets/backend/versions.hbs @@ -32,7 +32,7 @@ as |Item| > -
+
Version diff --git a/ui/app/templates/vault/cluster/unseal.hbs b/ui/app/templates/vault/cluster/unseal.hbs index 92178b5c161f..ed9a02983d4b 100644 --- a/ui/app/templates/vault/cluster/unseal.hbs +++ b/ui/app/templates/vault/cluster/unseal.hbs @@ -4,7 +4,7 @@ ~}} {{#if this.showLicenseError}} -
+
+
diff --git a/ui/lib/core/addon/components/certificate-card.hbs b/ui/lib/core/addon/components/certificate-card.hbs index d667e80ef925..8834e96b9b89 100644 --- a/ui/lib/core/addon/components/certificate-card.hbs +++ b/ui/lib/core/addon/components/certificate-card.hbs @@ -12,7 +12,7 @@ -
+

{{this.format}}

diff --git a/ui/lib/core/addon/components/layout-loading.hbs b/ui/lib/core/addon/components/layout-loading.hbs index 33527c9fc6d2..5f4a19406980 100644 --- a/ui/lib/core/addon/components/layout-loading.hbs +++ b/ui/lib/core/addon/components/layout-loading.hbs @@ -3,7 +3,7 @@ SPDX-License-Identifier: BUSL-1.1 ~}} -
+
diff --git a/ui/lib/core/addon/templates/components/list-item.hbs b/ui/lib/core/addon/templates/components/list-item.hbs index e3c4434d103a..b9e98d9a75f2 100644 --- a/ui/lib/core/addon/templates/components/list-item.hbs +++ b/ui/lib/core/addon/templates/components/list-item.hbs @@ -14,11 +14,11 @@ data-test-list-item-link >
-
+
{{yield (hash content=(component "list-item/content"))}} @@ -35,7 +35,7 @@ {{else}}
-
+
{{yield (hash content=(component "list-item/content"))}}
diff --git a/ui/lib/core/addon/templates/components/replication-mode-summary.hbs b/ui/lib/core/addon/templates/components/replication-mode-summary.hbs index 427e8fe9d65e..ae94e978e086 100644 --- a/ui/lib/core/addon/templates/components/replication-mode-summary.hbs +++ b/ui/lib/core/addon/templates/components/replication-mode-summary.hbs @@ -6,7 +6,7 @@ {{#if this.isMenu}} {{! this is the status menu }}
-
+
{{#if this.replicationUnsupported}} Unsupported {{else if this.replicationEnabled}} diff --git a/ui/lib/kubernetes/addon/components/page/overview.hbs b/ui/lib/kubernetes/addon/components/page/overview.hbs index 3812c955b326..8bf1d365b580 100644 --- a/ui/lib/kubernetes/addon/components/page/overview.hbs +++ b/ui/lib/kubernetes/addon/components/page/overview.hbs @@ -25,7 +25,7 @@
-
+

Imported Issuer

-
+

Imported Key

@@ -23,7 +23,7 @@ data-test-import-pair={{concat imported.issuer "_" imported.key}} >
-
+
{{#if imported.issuer}} {{imported.issuer}} @@ -32,7 +32,7 @@ None {{/if}}
-
+
{{#if imported.key}} {{imported.key}} diff --git a/ui/lib/pki/addon/components/pki-issuer-cross-sign.hbs b/ui/lib/pki/addon/components/pki-issuer-cross-sign.hbs index bc6af6105a45..10b67f0f291c 100644 --- a/ui/lib/pki/addon/components/pki-issuer-cross-sign.hbs +++ b/ui/lib/pki/addon/components/pki-issuer-cross-sign.hbs @@ -20,7 +20,7 @@

{{#each this.inputFields as |column|}} -
+

{{column.label}} {{#if column.helpText}} @@ -40,7 +40,7 @@ /> {{#each (map-by "key" this.inputFields) as |columnAttr|}} {{#let (get crossSignRow columnAttr) as |data|}} -
+
{{#if (eq columnAttr "intermediateMount")}} {{data}} diff --git a/ui/tests/acceptance/dashboard-test.js b/ui/tests/acceptance/dashboard-test.js index 2d214c126569..6161b84e3cb2 100644 --- a/ui/tests/acceptance/dashboard-test.js +++ b/ui/tests/acceptance/dashboard-test.js @@ -114,7 +114,7 @@ module('Acceptance | landing page dashboard', function (hooks) { test('display the version number for the title', async function (assert) { await visit('/vault/dashboard'); - assert.dom('[data-test-dashboard-version-header]').hasText('Vault v1.9.0'); + assert.dom('[data-test-dashboard-version-header]').hasText('Vault v1.9.0 root'); }); module('secrets engines card', function () { @@ -144,7 +144,7 @@ module('Acceptance | landing page dashboard', function (hooks) { assert.dom('[data-test-learn-more-links] a').exists({ count: 4 }); assert .dom('[data-test-feedback-form]') - .hasText("Don't see what you're looking for on this page? Let us know via our feedback form "); + .hasText("Don't see what you're looking for on this page? Let us know via our feedback form. "); }); }); diff --git a/ui/tests/integration/components/dashboard/quick-actions-card-test.js b/ui/tests/integration/components/dashboard/quick-actions-card-test.js index b0fee22cf7f1..1f95e610480d 100644 --- a/ui/tests/integration/components/dashboard/quick-actions-card-test.js +++ b/ui/tests/integration/components/dashboard/quick-actions-card-test.js @@ -126,7 +126,7 @@ module('Integration | Component | dashboard/quick-actions-card', function (hooks await selectChoose('.search-select', 'secrets-1-test'); assert.dom('[data-test-component="empty-state"]').doesNotExist(); await fillIn('[data-test-select="action-select"]', 'Find KV secrets'); - assert.dom('[data-test-search-select-params-title]').hasText('Secret Path'); + assert.dom('[data-test-search-select-params-title]').hasText('Secret path'); assert.dom('[data-test-button="Read secrets"]').exists({ count: 1 }); }); });