blob: 712353b0c80d66a287c7755b9edca9ae2a3349b7 [file] [log] [blame]
Derick Montaguead2ceb62020-04-24 18:11:04 -05001// Jest Snapshot v1, https://goo.gl/fbAQLP
2
3exports[`AppHeader.vue should render correctly 1`] = `
4<div>
5 <header
6 id="page-header"
7 >
8 <a
9 class="link-skip-nav btn btn-light"
10 href="#main-content"
11 role="link"
12 >
13
14 appHeader.skipToContent
15
16 </a>
17
18 <b-navbar
19 aria-label="appHeader.applicationHeader"
20 type="dark"
Derick Montaguead2ceb62020-04-24 18:11:04 -050021 >
22 <b-button
23 aria-hidden="true"
24 class="nav-trigger"
25 id="app-header-trigger"
26 title="Open navigation"
27 type="button"
28 variant="link"
29 >
30 <!---->
31
32 <svg
33 aria-hidden="true"
34 focusable="false"
35 height="20"
36 preserveAspectRatio="xMidYMid meet"
37 style="will-change: transform;"
38 viewBox="0 0 20 20"
39 width="20"
40 xmlns="http://www.w3.org/2000/svg"
41 >
42 <path
43 d="M2 14.8h16V16H2zm0-3.6h16v1.2H2zm0-3.6h16v1.2H2zM2 4h16v1.2H2z"
44 />
45 </svg>
46 </b-button>
47
48 <b-navbar-nav>
Derick Montague58a7a032020-09-21 12:21:48 -050049 <b-nav-item
50 data-test-id="appHeader-container-overview"
51 to="/"
52 >
53 <img
54 alt="undefined logo"
55 class="header-logo"
56 src="@/assets/images/logo-header.svg"
57 />
58 </b-nav-item>
Derick Montaguead2ceb62020-04-24 18:11:04 -050059 </b-navbar-nav>
60
61 <b-navbar-nav
Derick Montague58a7a032020-09-21 12:21:48 -050062 class="ml-auto helper-menu"
Derick Montaguead2ceb62020-04-24 18:11:04 -050063 >
Derick Montague58a7a032020-09-21 12:21:48 -050064 <b-nav-item
65 data-test-id="appHeader-container-health"
66 to="/health/event-logs"
67 >
68 <span
69 class="status-icon secondary"
70 >
71 <svg
72 aria-hidden="true"
73 focusable="false"
74 height="20"
75 preserveAspectRatio="xMidYMid meet"
76 style="will-change: transform;"
77 viewBox="0 0 20 20"
78 width="20"
79 xmlns="http://www.w3.org/2000/svg"
80 >
81 <path
82 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"
83 />
84 <path
85 d="M13.5 14.5l-8-8 1-1 8 8-1 1z"
86 data-icon-path="inner-path"
87 opacity="0"
88 />
89 </svg>
90 </span>
Derick Montaguead2ceb62020-04-24 18:11:04 -050091
92 appHeader.health
Derick Montague58a7a032020-09-21 12:21:48 -050093
Derick Montaguead2ceb62020-04-24 18:11:04 -050094 </b-nav-item>
95
Derick Montague58a7a032020-09-21 12:21:48 -050096 <b-nav-item
97 data-test-id="appHeader-container-power"
98 to="/control/server-power-operations"
99 >
Derick Montaguead2ceb62020-04-24 18:11:04 -0500100 <span
101 class="status-icon secondary"
102 >
103 <svg
104 aria-hidden="true"
105 focusable="false"
106 height="20"
107 preserveAspectRatio="xMidYMid meet"
108 style="will-change: transform;"
109 viewBox="0 0 20 20"
110 width="20"
111 xmlns="http://www.w3.org/2000/svg"
112 >
113 <path
114 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"
115 />
116 <path
117 d="M13.5 14.5l-8-8 1-1 8 8-1 1z"
118 data-icon-path="inner-path"
119 opacity="0"
120 />
121 </svg>
122 </span>
Derick Montague58a7a032020-09-21 12:21:48 -0500123
124 appHeader.power
125
Derick Montaguead2ceb62020-04-24 18:11:04 -0500126 </b-nav-item>
127
128 <li
129 class="nav-item"
130 >
131 <b-button
Derick Montague58a7a032020-09-21 12:21:48 -0500132 data-test-id="appHeader-button-refresh"
Derick Montaguead2ceb62020-04-24 18:11:04 -0500133 id="app-header-refresh"
134 variant="link"
135 >
Derick Montaguead2ceb62020-04-24 18:11:04 -0500136 <svg
137 aria-hidden="true"
138 focusable="false"
139 height="20"
140 preserveAspectRatio="xMidYMid meet"
141 style="will-change: transform;"
142 viewBox="0 0 32 32"
143 width="20"
144 xmlns="http://www.w3.org/2000/svg"
145 >
146 <path
147 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"
148 />
149 </svg>
Derick Montague58a7a032020-09-21 12:21:48 -0500150
151 <span
152 class="responsive-text"
153 >
154 appHeader.refresh
155 </span>
Derick Montaguead2ceb62020-04-24 18:11:04 -0500156 </b-button>
157 </li>
158
Derick Montague58a7a032020-09-21 12:21:48 -0500159 <li
160 class="nav-item"
161 >
162 <b-dropdown
163 data-test-id="appHeader-container-user"
164 id="app-header-user"
165 right=""
Derick Montaguead2ceb62020-04-24 18:11:04 -0500166 variant="link"
167 >
Derick Montague58a7a032020-09-21 12:21:48 -0500168
169 <b-dropdown-item
170 data-test-id="appHeader-link-profile"
171 to="/profile-settings"
Derick Montaguead2ceb62020-04-24 18:11:04 -0500172 >
Derick Montague58a7a032020-09-21 12:21:48 -0500173 appHeader.profileSettings
174
175 </b-dropdown-item>
176
177 <b-dropdown-item
178 data-test-id="appHeader-link-logout"
179 >
180
181 appHeader.logOut
182
183 </b-dropdown-item>
184 </b-dropdown>
Derick Montaguead2ceb62020-04-24 18:11:04 -0500185 </li>
186 </b-navbar-nav>
187 </b-navbar>
188 </header>
Derick Montague58a7a032020-09-21 12:21:48 -0500189
190 <b-progress
191 height="0.4rem"
192 >
193 <b-progress-bar
194 animated=""
195 aria-label="global.ariaLabel.progressBar"
196 striped=""
197 value="0"
198 />
199 </b-progress>
Derick Montaguead2ceb62020-04-24 18:11:04 -0500200</div>
201`;