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