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" |
| 60 | /> |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 61 | </b-navbar-brand> |
Sukanya Pandey | c0a1ddd | 2020-12-31 14:35:13 +0530 | [diff] [blame] | 62 | |
| 63 | <!----> |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 64 | </b-navbar-nav> |
| 65 | |
| 66 | <b-navbar-nav |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 67 | class="ml-auto helper-menu" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 68 | > |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 69 | <b-nav-item |
| 70 | data-test-id="appHeader-container-health" |
Derick Montague | 828dda9 | 2021-06-28 15:52:22 -0500 | [diff] [blame] | 71 | to="/logs/event-logs" |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 72 | > |
| 73 | <span |
| 74 | class="status-icon secondary" |
| 75 | > |
| 76 | <svg |
| 77 | aria-hidden="true" |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 78 | fill="currentColor" |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 79 | focusable="false" |
| 80 | height="20" |
| 81 | preserveAspectRatio="xMidYMid meet" |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 82 | viewBox="0 0 20 20" |
| 83 | width="20" |
| 84 | xmlns="http://www.w3.org/2000/svg" |
| 85 | > |
| 86 | <path |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 87 | 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] | 88 | /> |
| 89 | <path |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 90 | d="M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z" |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 91 | data-icon-path="inner-path" |
| 92 | opacity="0" |
| 93 | /> |
| 94 | </svg> |
| 95 | </span> |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 96 | |
| 97 | appHeader.health |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 98 | |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 99 | </b-nav-item> |
| 100 | |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 101 | <b-nav-item |
| 102 | data-test-id="appHeader-container-power" |
Sandeepa Singh | 68cbbe9 | 2021-07-14 16:02:22 +0530 | [diff] [blame] | 103 | to="/operations/server-power-operations" |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 104 | > |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 105 | <span |
| 106 | class="status-icon secondary" |
| 107 | > |
| 108 | <svg |
| 109 | aria-hidden="true" |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 110 | fill="currentColor" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 111 | focusable="false" |
| 112 | height="20" |
| 113 | preserveAspectRatio="xMidYMid meet" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 114 | viewBox="0 0 20 20" |
| 115 | width="20" |
| 116 | xmlns="http://www.w3.org/2000/svg" |
| 117 | > |
| 118 | <path |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 119 | 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] | 120 | /> |
| 121 | <path |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 122 | d="M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 123 | data-icon-path="inner-path" |
| 124 | opacity="0" |
| 125 | /> |
| 126 | </svg> |
| 127 | </span> |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 128 | |
| 129 | appHeader.power |
| 130 | |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 131 | </b-nav-item> |
| 132 | |
| 133 | <li |
| 134 | class="nav-item" |
| 135 | > |
| 136 | <b-button |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 137 | data-test-id="appHeader-button-refresh" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 138 | id="app-header-refresh" |
| 139 | variant="link" |
| 140 | > |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 141 | <svg |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 142 | fill="currentColor" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 143 | focusable="false" |
| 144 | height="20" |
| 145 | preserveAspectRatio="xMidYMid meet" |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 146 | role="img" |
| 147 | title="appHeader.titleRefresh" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 148 | viewBox="0 0 32 32" |
| 149 | width="20" |
| 150 | xmlns="http://www.w3.org/2000/svg" |
| 151 | > |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 152 | <title> |
| 153 | appHeader.titleRefresh |
| 154 | </title> |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 155 | <path |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 156 | 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] | 157 | /> |
| 158 | </svg> |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 159 | |
| 160 | <span |
| 161 | class="responsive-text" |
| 162 | > |
| 163 | appHeader.refresh |
| 164 | </span> |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 165 | </b-button> |
| 166 | </li> |
| 167 | |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 168 | <li |
| 169 | class="nav-item" |
| 170 | > |
| 171 | <b-dropdown |
| 172 | data-test-id="appHeader-container-user" |
| 173 | id="app-header-user" |
| 174 | right="" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 175 | variant="link" |
| 176 | > |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 177 | |
| 178 | <b-dropdown-item |
| 179 | data-test-id="appHeader-link-profile" |
| 180 | to="/profile-settings" |
Derick Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 181 | > |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 182 | 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 Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 194 | </li> |
| 195 | </b-navbar-nav> |
| 196 | </b-navbar> |
| 197 | </header> |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 198 | |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 199 | <transition-stub |
| 200 | name="fade" |
Derick Montague | 58a7a03 | 2020-09-21 12:21:48 -0500 | [diff] [blame] | 201 | > |
Derick Montague | f833c7e | 2020-10-27 08:21:20 -0500 | [diff] [blame] | 202 | <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 Montague | ad2ceb6 | 2020-04-24 18:11:04 -0500 | [diff] [blame] | 211 | </div> |
| 212 | `; |