Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | |
| 3 | exports[`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 Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 11 | > |
| 12 | |
| 13 | appHeader.skipToContent |
| 14 | |
| 15 | </a> |
| 16 | |
| 17 | <b-navbar |
| 18 | aria-label="appHeader.applicationHeader" |
| 19 | type="dark" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 20 | > |
| 21 | <b-button |
| 22 | aria-hidden="true" |
| 23 | class="nav-trigger" |
| 24 | id="app-header-trigger" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 25 | type="button" |
| 26 | variant="link" |
| 27 | > |
| 28 | <!----> |
| 29 | |
| 30 | <svg |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 31 | fill="currentColor" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 32 | focusable="false" |
| 33 | height="20" |
| 34 | preserveAspectRatio="xMidYMid meet" |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 35 | role="img" |
| 36 | title="appHeader.titleShowNavigation" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 37 | viewBox="0 0 20 20" |
| 38 | width="20" |
| 39 | xmlns="http://www.w3.org/2000/svg" |
| 40 | > |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 41 | <title> |
| 42 | appHeader.titleShowNavigation |
| 43 | </title> |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 44 | <path |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 45 | d="M2 14.8H18V16H2zM2 11.2H18V12.399999999999999H2zM2 7.6H18V8.799999999999999H2zM2 4H18V5.2H2z" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 46 | /> |
| 47 | </svg> |
| 48 | </b-button> |
| 49 | |
| 50 | <b-navbar-nav> |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 51 | <b-navbar-brand |
Sukanya Pandey | c0a1ddd | 2020-12-31 14:35:13 +0530 | [diff] [blame] | 52 | class="mr-0" |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 53 | data-test-id="appHeader-container-overview" |
| 54 | to="/" |
| 55 | > |
| 56 | <img |
Derick Montague | 932aff9 | 2021-08-26 14:06:49 -0500 | [diff] [blame] | 57 | alt="Built on OpenBMC" |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 58 | class="header-logo" |
| 59 | src="@/assets/images/logo-header.svg" |
Ed Tanous | 51abe87 | 2024-04-20 16:36:26 -0700 | [diff] [blame] | 60 | svg-inline="" |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 61 | /> |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 62 | </b-navbar-brand> |
Sukanya Pandey | c0a1ddd | 2020-12-31 14:35:13 +0530 | [diff] [blame] | 63 | |
| 64 | <!----> |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 65 | </b-navbar-nav> |
| 66 | |
| 67 | <b-navbar-nav |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 68 | class="ml-auto helper-menu" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 69 | > |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 70 | <b-nav-item |
| 71 | data-test-id="appHeader-container-health" |
Derick Montague | 828dda9 | 2021-06-28 15:52:22 -0500 | [diff] [blame] | 72 | to="/logs/event-logs" |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 73 | > |
| 74 | <span |
| 75 | class="status-icon secondary" |
| 76 | > |
| 77 | <svg |
| 78 | aria-hidden="true" |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 79 | fill="currentColor" |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 80 | focusable="false" |
| 81 | height="20" |
| 82 | preserveAspectRatio="xMidYMid meet" |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 83 | viewBox="0 0 20 20" |
| 84 | width="20" |
| 85 | xmlns="http://www.w3.org/2000/svg" |
| 86 | > |
| 87 | <path |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 88 | 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 Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 89 | /> |
| 90 | <path |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 91 | d="M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z" |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 92 | data-icon-path="inner-path" |
| 93 | opacity="0" |
| 94 | /> |
| 95 | </svg> |
| 96 | </span> |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 97 | |
| 98 | appHeader.health |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 99 | |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 100 | </b-nav-item> |
| 101 | |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 102 | <b-nav-item |
| 103 | data-test-id="appHeader-container-power" |
Sandeepa Singh | 68cbbe9 | 2021-07-14 16:02:22 +0530 | [diff] [blame] | 104 | to="/operations/server-power-operations" |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 105 | > |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 106 | <span |
| 107 | class="status-icon secondary" |
| 108 | > |
| 109 | <svg |
| 110 | aria-hidden="true" |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 111 | fill="currentColor" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 112 | focusable="false" |
| 113 | height="20" |
| 114 | preserveAspectRatio="xMidYMid meet" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 115 | viewBox="0 0 20 20" |
| 116 | width="20" |
| 117 | xmlns="http://www.w3.org/2000/svg" |
| 118 | > |
| 119 | <path |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 120 | 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 Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 121 | /> |
| 122 | <path |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 123 | d="M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 124 | data-icon-path="inner-path" |
| 125 | opacity="0" |
| 126 | /> |
| 127 | </svg> |
| 128 | </span> |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 129 | |
| 130 | appHeader.power |
| 131 | |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 132 | </b-nav-item> |
| 133 | |
| 134 | <li |
| 135 | class="nav-item" |
| 136 | > |
| 137 | <b-button |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 138 | data-test-id="appHeader-button-refresh" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 139 | id="app-header-refresh" |
| 140 | variant="link" |
| 141 | > |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 142 | <svg |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 143 | fill="currentColor" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 144 | focusable="false" |
| 145 | height="20" |
| 146 | preserveAspectRatio="xMidYMid meet" |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 147 | role="img" |
| 148 | title="appHeader.titleRefresh" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 149 | viewBox="0 0 32 32" |
| 150 | width="20" |
| 151 | xmlns="http://www.w3.org/2000/svg" |
| 152 | > |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 153 | <title> |
| 154 | appHeader.titleRefresh |
| 155 | </title> |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 156 | <path |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 157 | 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 Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 158 | /> |
| 159 | </svg> |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 160 | |
| 161 | <span |
| 162 | class="responsive-text" |
| 163 | > |
| 164 | appHeader.refresh |
| 165 | </span> |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 166 | </b-button> |
| 167 | </li> |
| 168 | |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 169 | <li |
| 170 | class="nav-item" |
| 171 | > |
| 172 | <b-dropdown |
| 173 | data-test-id="appHeader-container-user" |
| 174 | id="app-header-user" |
| 175 | right="" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 176 | variant="link" |
| 177 | > |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 178 | |
| 179 | <b-dropdown-item |
| 180 | data-test-id="appHeader-link-profile" |
| 181 | to="/profile-settings" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 182 | > |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 183 | 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 Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 195 | </li> |
| 196 | </b-navbar-nav> |
| 197 | </b-navbar> |
| 198 | </header> |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 199 | |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 200 | <transition-stub |
| 201 | name="fade" |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 202 | > |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 203 | <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 Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 212 | </div> |
| 213 | `; |