blob: 712353b0c80d66a287c7755b9edca9ae2a3349b7 [file] [log] [blame]
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`AppHeader.vue should render correctly 1`] = `
<div>
<header
id="page-header"
>
<a
class="link-skip-nav btn btn-light"
href="#main-content"
role="link"
>
appHeader.skipToContent
</a>
<b-navbar
aria-label="appHeader.applicationHeader"
type="dark"
>
<b-button
aria-hidden="true"
class="nav-trigger"
id="app-header-trigger"
title="Open navigation"
type="button"
variant="link"
>
<!---->
<svg
aria-hidden="true"
focusable="false"
height="20"
preserveAspectRatio="xMidYMid meet"
style="will-change: transform;"
viewBox="0 0 20 20"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M2 14.8h16V16H2zm0-3.6h16v1.2H2zm0-3.6h16v1.2H2zM2 4h16v1.2H2z"
/>
</svg>
</b-button>
<b-navbar-nav>
<b-nav-item
data-test-id="appHeader-container-overview"
to="/"
>
<img
alt="undefined logo"
class="header-logo"
src="@/assets/images/logo-header.svg"
/>
</b-nav-item>
</b-navbar-nav>
<b-navbar-nav
class="ml-auto helper-menu"
>
<b-nav-item
data-test-id="appHeader-container-health"
to="/health/event-logs"
>
<span
class="status-icon secondary"
>
<svg
aria-hidden="true"
focusable="false"
height="20"
preserveAspectRatio="xMidYMid meet"
style="will-change: transform;"
viewBox="0 0 20 20"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm3.5 13.5l-8-8 1-1 8 8-1 1z"
/>
<path
d="M13.5 14.5l-8-8 1-1 8 8-1 1z"
data-icon-path="inner-path"
opacity="0"
/>
</svg>
</span>
appHeader.health
</b-nav-item>
<b-nav-item
data-test-id="appHeader-container-power"
to="/control/server-power-operations"
>
<span
class="status-icon secondary"
>
<svg
aria-hidden="true"
focusable="false"
height="20"
preserveAspectRatio="xMidYMid meet"
style="will-change: transform;"
viewBox="0 0 20 20"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm3.5 13.5l-8-8 1-1 8 8-1 1z"
/>
<path
d="M13.5 14.5l-8-8 1-1 8 8-1 1z"
data-icon-path="inner-path"
opacity="0"
/>
</svg>
</span>
appHeader.power
</b-nav-item>
<li
class="nav-item"
>
<b-button
data-test-id="appHeader-button-refresh"
id="app-header-refresh"
variant="link"
>
<svg
aria-hidden="true"
focusable="false"
height="20"
preserveAspectRatio="xMidYMid meet"
style="will-change: transform;"
viewBox="0 0 32 32"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M12 10H6.78A11 11 0 0 1 27 16h2A13 13 0 0 0 6 7.68V4H4v8h8zm8 12h5.22A11 11 0 0 1 5 16H3a13 13 0 0 0 23 8.32V28h2v-8h-8z"
/>
</svg>
<span
class="responsive-text"
>
appHeader.refresh
</span>
</b-button>
</li>
<li
class="nav-item"
>
<b-dropdown
data-test-id="appHeader-container-user"
id="app-header-user"
right=""
variant="link"
>
<b-dropdown-item
data-test-id="appHeader-link-profile"
to="/profile-settings"
>
appHeader.profileSettings
</b-dropdown-item>
<b-dropdown-item
data-test-id="appHeader-link-logout"
>
appHeader.logOut
</b-dropdown-item>
</b-dropdown>
</li>
</b-navbar-nav>
</b-navbar>
</header>
<b-progress
height="0.4rem"
>
<b-progress-bar
animated=""
aria-label="global.ariaLabel.progressBar"
striped=""
value="0"
/>
</b-progress>
</div>
`;