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" |
| 21 | variant="dark" |
| 22 | > |
| 23 | <b-button |
| 24 | aria-hidden="true" |
| 25 | class="nav-trigger" |
| 26 | id="app-header-trigger" |
| 27 | title="Open navigation" |
| 28 | type="button" |
| 29 | variant="link" |
| 30 | > |
| 31 | <!----> |
| 32 | |
| 33 | <svg |
| 34 | aria-hidden="true" |
| 35 | focusable="false" |
| 36 | height="20" |
| 37 | preserveAspectRatio="xMidYMid meet" |
| 38 | style="will-change: transform;" |
| 39 | viewBox="0 0 20 20" |
| 40 | width="20" |
| 41 | xmlns="http://www.w3.org/2000/svg" |
| 42 | > |
| 43 | <path |
| 44 | d="M2 14.8h16V16H2zm0-3.6h16v1.2H2zm0-3.6h16v1.2H2zM2 4h16v1.2H2z" |
| 45 | /> |
| 46 | </svg> |
| 47 | </b-button> |
| 48 | |
| 49 | <b-navbar-nav> |
| 50 | <b-nav-text> |
| 51 | appHeader.bmcSystemManagement |
| 52 | </b-nav-text> |
| 53 | </b-navbar-nav> |
| 54 | |
| 55 | <b-navbar-nav |
| 56 | class="ml-auto" |
| 57 | > |
| 58 | <b-nav-item> |
| 59 | |
| 60 | appHeader.health |
| 61 | |
| 62 | <span |
| 63 | class="status-icon secondary" |
| 64 | > |
| 65 | <svg |
| 66 | aria-hidden="true" |
| 67 | focusable="false" |
| 68 | height="20" |
| 69 | preserveAspectRatio="xMidYMid meet" |
| 70 | style="will-change: transform;" |
| 71 | viewBox="0 0 20 20" |
| 72 | width="20" |
| 73 | xmlns="http://www.w3.org/2000/svg" |
| 74 | > |
| 75 | <path |
| 76 | d="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm3.5 13.5l-8-8 1-1 8 8-1 1z" |
| 77 | /> |
| 78 | <path |
| 79 | d="M13.5 14.5l-8-8 1-1 8 8-1 1z" |
| 80 | data-icon-path="inner-path" |
| 81 | opacity="0" |
| 82 | /> |
| 83 | </svg> |
| 84 | </span> |
| 85 | </b-nav-item> |
| 86 | |
| 87 | <b-nav-item> |
| 88 | |
| 89 | appHeader.power |
| 90 | |
| 91 | <span |
| 92 | class="status-icon secondary" |
| 93 | > |
| 94 | <svg |
| 95 | aria-hidden="true" |
| 96 | focusable="false" |
| 97 | height="20" |
| 98 | preserveAspectRatio="xMidYMid meet" |
| 99 | style="will-change: transform;" |
| 100 | viewBox="0 0 20 20" |
| 101 | width="20" |
| 102 | xmlns="http://www.w3.org/2000/svg" |
| 103 | > |
| 104 | <path |
| 105 | d="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm3.5 13.5l-8-8 1-1 8 8-1 1z" |
| 106 | /> |
| 107 | <path |
| 108 | d="M13.5 14.5l-8-8 1-1 8 8-1 1z" |
| 109 | data-icon-path="inner-path" |
| 110 | opacity="0" |
| 111 | /> |
| 112 | </svg> |
| 113 | </span> |
| 114 | </b-nav-item> |
| 115 | |
| 116 | <li |
| 117 | class="nav-item" |
| 118 | > |
| 119 | <b-button |
| 120 | id="app-header-refresh" |
| 121 | variant="link" |
| 122 | > |
| 123 | |
| 124 | appHeader.refresh |
| 125 | |
| 126 | <svg |
| 127 | aria-hidden="true" |
| 128 | focusable="false" |
| 129 | height="20" |
| 130 | preserveAspectRatio="xMidYMid meet" |
| 131 | style="will-change: transform;" |
| 132 | viewBox="0 0 32 32" |
| 133 | width="20" |
| 134 | xmlns="http://www.w3.org/2000/svg" |
| 135 | > |
| 136 | <path |
| 137 | d="M12 10H6.78A11 11 0 0 1 27 16h2A13 13 0 0 0 6 7.68V4H4v8h8zm8 12h5.22A11 11 0 0 1 5 16H3a13 13 0 0 0 23 8.32V28h2v-8h-8z" |
| 138 | /> |
| 139 | </svg> |
| 140 | </b-button> |
| 141 | </li> |
| 142 | |
| 143 | <li> |
| 144 | <b-button |
| 145 | id="app-header-logout" |
| 146 | variant="link" |
| 147 | > |
| 148 | |
| 149 | appHeader.logOut |
| 150 | |
| 151 | <svg |
| 152 | aria-hidden="true" |
| 153 | focusable="false" |
| 154 | height="20" |
| 155 | preserveAspectRatio="xMidYMid meet" |
| 156 | style="will-change: transform;" |
| 157 | viewBox="0 0 32 32" |
| 158 | width="20" |
| 159 | xmlns="http://www.w3.org/2000/svg" |
| 160 | > |
| 161 | <path |
| 162 | d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2zm-6 24.38v-2A3.22 3.22 0 0 1 13 21h6a3.22 3.22 0 0 1 3 3.39v2a11.92 11.92 0 0 1-12 0zm14-1.46v-.61A5.21 5.21 0 0 0 19 19h-6a5.2 5.2 0 0 0-5 5.31v.59a12 12 0 1 1 16 0z" |
| 163 | /> |
| 164 | <path |
| 165 | d="M16 7a5 5 0 1 0 5 5 5 5 0 0 0-5-5zm0 8a3 3 0 1 1 3-3 3 3 0 0 1-3 3z" |
| 166 | /> |
| 167 | </svg> |
| 168 | </b-button> |
| 169 | </li> |
| 170 | </b-navbar-nav> |
| 171 | </b-navbar> |
| 172 | </header> |
| 173 | </div> |
| 174 | `; |