blob: b5e122288e9aec7b80e74c122f62f8e0424688c8 [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"
Ed Tanous51abe872024-04-20 16:36:26 -070060 svg-inline=""
Derick Montague58a7a032020-09-21 12:21:48 -050061 />
Derick Montaguef833c7e2020-10-27 08:21:20 -050062 </b-navbar-brand>
Sukanya Pandeyc0a1ddd2020-12-31 14:35:13 +053063
64 <!---->
Derick Montaguead2ceb62020-04-24 18:11:04 -050065 </b-navbar-nav>
66
67 <b-navbar-nav
Derick Montague58a7a032020-09-21 12:21:48 -050068 class="ml-auto helper-menu"
Derick Montaguead2ceb62020-04-24 18:11:04 -050069 >
Derick Montague58a7a032020-09-21 12:21:48 -050070 <b-nav-item
71 data-test-id="appHeader-container-health"
Derick Montague828dda92021-06-28 15:52:22 -050072 to="/logs/event-logs"
Derick Montague58a7a032020-09-21 12:21:48 -050073 >
74 <span
75 class="status-icon secondary"
76 >
77 <svg
78 aria-hidden="true"
Derick Montaguef833c7e2020-10-27 08:21:20 -050079 fill="currentColor"
Derick Montague58a7a032020-09-21 12:21:48 -050080 focusable="false"
81 height="20"
82 preserveAspectRatio="xMidYMid meet"
Derick Montague58a7a032020-09-21 12:21:48 -050083 viewBox="0 0 20 20"
84 width="20"
85 xmlns="http://www.w3.org/2000/svg"
86 >
87 <path
Derick Montaguef833c7e2020-10-27 08:21:20 -050088 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 -050089 />
90 <path
Derick Montaguef833c7e2020-10-27 08:21:20 -050091 d="M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z"
Derick Montague58a7a032020-09-21 12:21:48 -050092 data-icon-path="inner-path"
93 opacity="0"
94 />
95 </svg>
96 </span>
Derick Montaguead2ceb62020-04-24 18:11:04 -050097
98 appHeader.health
Derick Montague58a7a032020-09-21 12:21:48 -050099
Derick Montaguead2ceb62020-04-24 18:11:04 -0500100 </b-nav-item>
101
Derick Montague58a7a032020-09-21 12:21:48 -0500102 <b-nav-item
103 data-test-id="appHeader-container-power"
Sandeepa Singh68cbbe92021-07-14 16:02:22 +0530104 to="/operations/server-power-operations"
Derick Montague58a7a032020-09-21 12:21:48 -0500105 >
Derick Montaguead2ceb62020-04-24 18:11:04 -0500106 <span
107 class="status-icon secondary"
108 >
109 <svg
110 aria-hidden="true"
Derick Montaguef833c7e2020-10-27 08:21:20 -0500111 fill="currentColor"
Derick Montaguead2ceb62020-04-24 18:11:04 -0500112 focusable="false"
113 height="20"
114 preserveAspectRatio="xMidYMid meet"
Derick Montaguead2ceb62020-04-24 18:11:04 -0500115 viewBox="0 0 20 20"
116 width="20"
117 xmlns="http://www.w3.org/2000/svg"
118 >
119 <path
Derick Montaguef833c7e2020-10-27 08:21:20 -0500120 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 -0500121 />
122 <path
Derick Montaguef833c7e2020-10-27 08:21:20 -0500123 d="M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z"
Derick Montaguead2ceb62020-04-24 18:11:04 -0500124 data-icon-path="inner-path"
125 opacity="0"
126 />
127 </svg>
128 </span>
Derick Montague58a7a032020-09-21 12:21:48 -0500129
130 appHeader.power
131
Derick Montaguead2ceb62020-04-24 18:11:04 -0500132 </b-nav-item>
133
134 <li
135 class="nav-item"
136 >
137 <b-button
Derick Montague58a7a032020-09-21 12:21:48 -0500138 data-test-id="appHeader-button-refresh"
Derick Montaguead2ceb62020-04-24 18:11:04 -0500139 id="app-header-refresh"
140 variant="link"
141 >
Derick Montaguead2ceb62020-04-24 18:11:04 -0500142 <svg
Derick Montaguef833c7e2020-10-27 08:21:20 -0500143 fill="currentColor"
Derick Montaguead2ceb62020-04-24 18:11:04 -0500144 focusable="false"
145 height="20"
146 preserveAspectRatio="xMidYMid meet"
Derick Montaguef833c7e2020-10-27 08:21:20 -0500147 role="img"
148 title="appHeader.titleRefresh"
Derick Montaguead2ceb62020-04-24 18:11:04 -0500149 viewBox="0 0 32 32"
150 width="20"
151 xmlns="http://www.w3.org/2000/svg"
152 >
Derick Montaguef833c7e2020-10-27 08:21:20 -0500153 <title>
154 appHeader.titleRefresh
155 </title>
Derick Montaguead2ceb62020-04-24 18:11:04 -0500156 <path
Derick Montaguef833c7e2020-10-27 08:21:20 -0500157 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 -0500158 />
159 </svg>
Derick Montague58a7a032020-09-21 12:21:48 -0500160
161 <span
162 class="responsive-text"
163 >
164 appHeader.refresh
165 </span>
Derick Montaguead2ceb62020-04-24 18:11:04 -0500166 </b-button>
167 </li>
168
Derick Montague58a7a032020-09-21 12:21:48 -0500169 <li
170 class="nav-item"
171 >
172 <b-dropdown
173 data-test-id="appHeader-container-user"
174 id="app-header-user"
175 right=""
Derick Montaguead2ceb62020-04-24 18:11:04 -0500176 variant="link"
177 >
Derick Montague58a7a032020-09-21 12:21:48 -0500178
179 <b-dropdown-item
180 data-test-id="appHeader-link-profile"
181 to="/profile-settings"
Derick Montaguead2ceb62020-04-24 18:11:04 -0500182 >
Derick Montague58a7a032020-09-21 12:21:48 -0500183 appHeader.profileSettings
184
185 </b-dropdown-item>
186
187 <b-dropdown-item
188 data-test-id="appHeader-link-logout"
189 >
190
191 appHeader.logOut
192
193 </b-dropdown-item>
194 </b-dropdown>
Derick Montaguead2ceb62020-04-24 18:11:04 -0500195 </li>
196 </b-navbar-nav>
197 </b-navbar>
198 </header>
Derick Montague58a7a032020-09-21 12:21:48 -0500199
Derick Montaguef833c7e2020-10-27 08:21:20 -0500200 <transition-stub
201 name="fade"
Derick Montague58a7a032020-09-21 12:21:48 -0500202 >
Derick Montaguef833c7e2020-10-27 08:21:20 -0500203 <b-progress>
204 <b-progress-bar
205 animated=""
206 aria-label="global.ariaLabel.progressBar"
207 striped=""
208 value="0"
209 />
210 </b-progress>
211 </transition-stub>
Derick Montaguead2ceb62020-04-24 18:11:04 -0500212</div>
213`;