mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-05 20:36:26 +02:00
* adds playwright * adds playwright auth setup and kv tests * removes generated gh action for playwright * removes testem ignore paths * consolidates kv e2e workflows into single test * adds missing ids to key shares and threshold inputs * updates ariaLabel arg to attribute in enabled and disabled plugin card components * adds script to start vault with config for playwright tests * updates playwright setup to initialize and unseal vault and create user for testing rather than using root token * adds policies for e2e tests * updates e2e init setup to use web repl for creating token * moves kv e2e test under superuser directory * updates playwright config to create projects for multiple user types Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
33 lines
1.1 KiB
Handlebars
33 lines
1.1 KiB
Handlebars
{{!
|
|
Copyright IBM Corp. 2016, 2025
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
}}
|
|
|
|
{{#let this.isDisabled as |isDisabled|}}
|
|
<Hds::Card::Container
|
|
class="selectable-engine-card
|
|
{{if isDisabled 'disabled'}}
|
|
has-top-padding-l has-bottom-padding-s has-side-padding-8 has-text-centered small-card overflow-wrap"
|
|
@level={{if isDisabled "base" "mid"}}
|
|
@background={{if isDisabled "neutral-secondary" "neutral-primary"}}
|
|
@hasBorder={{true}}
|
|
aria-label="{{@type.displayName}} - {{if isDisabled 'disabled' 'enabled'}} engine type"
|
|
tabindex="0"
|
|
{{on "click" this.handleSelection}}
|
|
{{on "keydown" this.handleKeyDown}}
|
|
data-test-card-container={{@type.type}}
|
|
>
|
|
{{#if @type.glyph}}
|
|
<Icon @name={{@type.glyph}} @size="24" class="has-bottom-margin-xs" />
|
|
{{/if}}
|
|
<Hds::Text::Body @tag="h3" @size="300">
|
|
{{@type.displayName}}
|
|
</Hds::Text::Body>
|
|
{{#if this.showDeprecationBadge}}
|
|
<Hds::Badge @text={{capitalize @type.deprecationStatus}} @size="small" />
|
|
{{/if}}
|
|
{{#if this.showEnterpriseBadge}}
|
|
<Hds::Badge @text="Enterprise" @size="small" />
|
|
{{/if}}
|
|
</Hds::Card::Container>
|
|
{{/let}} |