blob: 1ad2b3d61406a2a87823f4b63d5775deaa2a0514 [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"
Derick Montaguead2ceb62020-04-24 18:11:04 -050011 >
12
13 appHeader.skipToContent
14
15 </a>
16
17 <b-navbar
18 aria-label="appHeader.applicationHeader"
19 type="dark"
Derick Montaguead2ceb62020-04-24 18:11:04 -050020 >
21 <b-button
22 aria-hidden="true"
23 class="nav-trigger"
24 id="app-header-trigger"
Derick Montaguead2ceb62020-04-24 18:11:04 -050025 type="button"
26 variant="link"
27 >
28 <!---->
29
30 <svg
Derick Montaguef833c7e2020-10-27 08:21:20 -050031 fill="currentColor"
Derick Montaguead2ceb62020-04-24 18:11:04 -050032 focusable="false"
33 height="20"
34 preserveAspectRatio="xMidYMid meet"
Derick Montaguef833c7e2020-10-27 08:21:20 -050035 role="img"
36 title="appHeader.titleShowNavigation"
Derick Montaguead2ceb62020-04-24 18:11:04 -050037 viewBox="0 0 20 20"
38 width="20"
39 xmlns="http://www.w3.org/2000/svg"
40 >
Derick Montaguef833c7e2020-10-27 08:21:20 -050041 <title>
42 appHeader.titleShowNavigation
43 </title>
Derick Montaguead2ceb62020-04-24 18:11:04 -050044 <path
Derick Montaguef833c7e2020-10-27 08:21:20 -050045 d="M2 14.8H18V16H2zM2 11.2H18V12.399999999999999H2zM2 7.6H18V8.799999999999999H2zM2 4H18V5.2H2z"
Derick Montaguead2ceb62020-04-24 18:11:04 -050046 />
47 </svg>
48 </b-button>
49
50 <b-navbar-nav>
Derick Montaguef833c7e2020-10-27 08:21:20 -050051 <b-navbar-brand
Sukanya Pandeyc0a1ddd2020-12-31 14:35:13 +053052 class="mr-0"
Derick Montague58a7a032020-09-21 12:21:48 -050053 data-test-id="appHeader-container-overview"
54 to="/"
55 >
56 <img
Derick Montague932aff92021-08-26 14:06:49 -050057 alt="Built on OpenBMC"
Derick Montague58a7a032020-09-21 12:21:48 -050058 class="header-logo"
59 src="@/assets/images/logo-header.svg"
60 />
Derick Montaguef833c7e2020-10-27 08:21:20 -050061 </b-navbar-brand>
Sukanya Pandeyc0a1ddd2020-12-31 14:35:13 +053062
63 <!---->
Derick Montaguead2ceb62020-04-24 18:11:04 -050064 </b-navbar-nav>
65
66 <b-navbar-nav
Derick Montague58a7a032020-09-21 12:21:48 -050067 class="ml-auto helper-menu"
Derick Montaguead2ceb62020-04-24 18:11:04 -050068 >
Derick Montague58a7a032020-09-21 12:21:48 -050069 <b-nav-item
70 data-test-id="appHeader-container-health"
Derick Montague828dda92021-06-28 15:52:22 -050071 to="/logs/event-logs"
Derick Montague58a7a032020-09-21 12:21:48 -050072 >
73 <span
74 class="status-icon secondary"
75 >
76 <svg
77 aria-hidden="true"
Derick Montaguef833c7e2020-10-27 08:21:20 -050078 fill="currentColor"
Derick Montague58a7a032020-09-21 12:21:48 -050079 focusable="false"
80 height="20"
81 preserveAspectRatio="xMidYMid meet"
Derick Montague58a7a032020-09-21 12:21:48 -050082 viewBox="0 0 20 20"
83 width="20"
84 xmlns="http://www.w3.org/2000/svg"
85 >
86 <path
Derick Montaguef833c7e2020-10-27 08:21:20 -050087 d="M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z"
Derick Montague58a7a032020-09-21 12:21:48 -050088 />
89 <path
Derick Montaguef833c7e2020-10-27 08:21:20 -050090 d="M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z"
Derick Montague58a7a032020-09-21 12:21:48 -050091 data-icon-path="inner-path"
92 opacity="0"
93 />
94 </svg>
95 </span>
Derick Montaguead2ceb62020-04-24 18:11:04 -050096
97 appHeader.health
Derick Montague58a7a032020-09-21 12:21:48 -050098
Derick Montaguead2ceb62020-04-24 18:11:04 -050099 </b-nav-item>
100
Derick Montague58a7a032020-09-21 12:21:48 -0500101 <b-nav-item
102 data-test-id="appHeader-container-power"
Sandeepa Singh68cbbe92021-07-14 16:02:22 +0530103 to="/operations/server-power-operations"
Derick Montague58a7a032020-09-21 12:21:48 -0500104 >
Derick Montaguead2ceb62020-04-24 18:11:04 -0500105 <span
106 class="status-icon secondary"
107 >
108 <svg
109 aria-hidden="true"
Derick Montaguef833c7e2020-10-27 08:21:20 -0500110 fill="currentColor"
Derick Montaguead2ceb62020-04-24 18:11:04 -0500111 focusable="false"
112 height="20"
113 preserveAspectRatio="xMidYMid meet"
Derick Montaguead2ceb62020-04-24 18:11:04 -0500114 viewBox="0 0 20 20"
115 width="20"
116 xmlns="http://www.w3.org/2000/svg"
117 >
118 <path
Derick Montaguef833c7e2020-10-27 08:21:20 -0500119 d="M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z"
Derick Montaguead2ceb62020-04-24 18:11:04 -0500120 />
121 <path
Derick Montaguef833c7e2020-10-27 08:21:20 -0500122 d="M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z"
Derick Montaguead2ceb62020-04-24 18:11:04 -0500123 data-icon-path="inner-path"
124 opacity="0"
125 />
126 </svg>
127 </span>
Derick Montague58a7a032020-09-21 12:21:48 -0500128
129 appHeader.power
130
Derick Montaguead2ceb62020-04-24 18:11:04 -0500131 </b-nav-item>
132
133 <li
134 class="nav-item"
135 >
136 <b-button
Derick Montague58a7a032020-09-21 12:21:48 -0500137 data-test-id="appHeader-button-refresh"
Derick Montaguead2ceb62020-04-24 18:11:04 -0500138 id="app-header-refresh"
139 variant="link"
140 >
Derick Montaguead2ceb62020-04-24 18:11:04 -0500141 <svg
Derick Montaguef833c7e2020-10-27 08:21:20 -0500142 fill="currentColor"
Derick Montaguead2ceb62020-04-24 18:11:04 -0500143 focusable="false"
144 height="20"
145 preserveAspectRatio="xMidYMid meet"
Derick Montaguef833c7e2020-10-27 08:21:20 -0500146 role="img"
147 title="appHeader.titleRefresh"
Derick Montaguead2ceb62020-04-24 18:11:04 -0500148 viewBox="0 0 32 32"
149 width="20"
150 xmlns="http://www.w3.org/2000/svg"
151 >
Derick Montaguef833c7e2020-10-27 08:21:20 -0500152 <title>
153 appHeader.titleRefresh
154 </title>
Derick Montaguead2ceb62020-04-24 18:11:04 -0500155 <path
Derick Montaguef833c7e2020-10-27 08:21:20 -0500156 d="M12 10H6.78A11 11 0 0127 16h2A13 13 0 006 7.68V4H4v8h8zM20 22h5.22A11 11 0 015 16H3a13 13 0 0023 8.32V28h2V20H20z"
Derick Montaguead2ceb62020-04-24 18:11:04 -0500157 />
158 </svg>
Derick Montague58a7a032020-09-21 12:21:48 -0500159
160 <span
161 class="responsive-text"
162 >
163 appHeader.refresh
164 </span>
Derick Montaguead2ceb62020-04-24 18:11:04 -0500165 </b-button>
166 </li>
167
Derick Montague58a7a032020-09-21 12:21:48 -0500168 <li
169 class="nav-item"
170 >
171 <b-dropdown
172 data-test-id="appHeader-container-user"
173 id="app-header-user"
174 right=""
Derick Montaguead2ceb62020-04-24 18:11:04 -0500175 variant="link"
176 >
Derick Montague58a7a032020-09-21 12:21:48 -0500177
178 <b-dropdown-item
179 data-test-id="appHeader-link-profile"
180 to="/profile-settings"
Derick Montaguead2ceb62020-04-24 18:11:04 -0500181 >
Derick Montague58a7a032020-09-21 12:21:48 -0500182 appHeader.profileSettings
183
184 </b-dropdown-item>
185
186 <b-dropdown-item
187 data-test-id="appHeader-link-logout"
188 >
189
190 appHeader.logOut
191
192 </b-dropdown-item>
193 </b-dropdown>
Derick Montaguead2ceb62020-04-24 18:11:04 -0500194 </li>
195 </b-navbar-nav>
196 </b-navbar>
197 </header>
Derick Montague58a7a032020-09-21 12:21:48 -0500198
Derick Montaguef833c7e2020-10-27 08:21:20 -0500199 <transition-stub
200 name="fade"
Derick Montague58a7a032020-09-21 12:21:48 -0500201 >
Derick Montaguef833c7e2020-10-27 08:21:20 -0500202 <b-progress>
203 <b-progress-bar
204 animated=""
205 aria-label="global.ariaLabel.progressBar"
206 striped=""
207 value="0"
208 />
209 </b-progress>
210 </transition-stub>
Derick Montaguead2ceb62020-04-24 18:11:04 -0500211</div>
212`;