|
| 1 | +// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | + |
| 3 | +exports[`TagCount component should render a disabled tag count with no value 1`] = ` |
| 4 | +{ |
| 5 | + "asFragment": [Function], |
| 6 | + "baseElement": <body> |
| 7 | + <div> |
| 8 | + <button |
| 9 | + aria-disabled="true" |
| 10 | + aria-label="Tag count" |
| 11 | + class="pf-v5-c-button pf-m-plain pf-m-disabled buttonTagCount-0-2-1" |
| 12 | + data-ouia-component-id="OUIA-Generated-Button-plain-1" |
| 13 | + data-ouia-component-type="PF5/Button" |
| 14 | + data-ouia-safe="true" |
| 15 | + disabled="" |
| 16 | + type="button" |
| 17 | + > |
| 18 | + <span |
| 19 | + class="pf-v5-c-icon pf-m-md" |
| 20 | + > |
| 21 | + <span |
| 22 | + class="pf-v5-c-icon__content" |
| 23 | + > |
| 24 | + <svg |
| 25 | + aria-hidden="true" |
| 26 | + class="pf-v5-svg" |
| 27 | + fill="currentColor" |
| 28 | + height="1em" |
| 29 | + role="img" |
| 30 | + viewBox="0 0 512 512" |
| 31 | + width="1em" |
| 32 | + > |
| 33 | + <path |
| 34 | + d="M0 252.118V48C0 21.49 21.49 0 48 0h204.118a48 48 0 0 1 33.941 14.059l211.882 211.882c18.745 18.745 18.745 49.137 0 67.882L293.823 497.941c-18.745 18.745-49.137 18.745-67.882 0L14.059 286.059A48 48 0 0 1 0 252.118zM112 64c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48z" |
| 35 | + /> |
| 36 | + </svg> |
| 37 | + </span> |
| 38 | + </span> |
| 39 | + <span |
| 40 | + class="tagText-0-2-2" |
| 41 | + /> |
| 42 | + </button> |
| 43 | + </div> |
| 44 | + </body>, |
| 45 | + "container": <div> |
| 46 | + <button |
| 47 | + aria-disabled="true" |
| 48 | + aria-label="Tag count" |
| 49 | + class="pf-v5-c-button pf-m-plain pf-m-disabled buttonTagCount-0-2-1" |
| 50 | + data-ouia-component-id="OUIA-Generated-Button-plain-1" |
| 51 | + data-ouia-component-type="PF5/Button" |
| 52 | + data-ouia-safe="true" |
| 53 | + disabled="" |
| 54 | + type="button" |
| 55 | + > |
| 56 | + <span |
| 57 | + class="pf-v5-c-icon pf-m-md" |
| 58 | + > |
| 59 | + <span |
| 60 | + class="pf-v5-c-icon__content" |
| 61 | + > |
| 62 | + <svg |
| 63 | + aria-hidden="true" |
| 64 | + class="pf-v5-svg" |
| 65 | + fill="currentColor" |
| 66 | + height="1em" |
| 67 | + role="img" |
| 68 | + viewBox="0 0 512 512" |
| 69 | + width="1em" |
| 70 | + > |
| 71 | + <path |
| 72 | + d="M0 252.118V48C0 21.49 21.49 0 48 0h204.118a48 48 0 0 1 33.941 14.059l211.882 211.882c18.745 18.745 18.745 49.137 0 67.882L293.823 497.941c-18.745 18.745-49.137 18.745-67.882 0L14.059 286.059A48 48 0 0 1 0 252.118zM112 64c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48z" |
| 73 | + /> |
| 74 | + </svg> |
| 75 | + </span> |
| 76 | + </span> |
| 77 | + <span |
| 78 | + class="tagText-0-2-2" |
| 79 | + /> |
| 80 | + </button> |
| 81 | + </div>, |
| 82 | + "debug": [Function], |
| 83 | + "findAllByAltText": [Function], |
| 84 | + "findAllByDisplayValue": [Function], |
| 85 | + "findAllByLabelText": [Function], |
| 86 | + "findAllByPlaceholderText": [Function], |
| 87 | + "findAllByRole": [Function], |
| 88 | + "findAllByTestId": [Function], |
| 89 | + "findAllByText": [Function], |
| 90 | + "findAllByTitle": [Function], |
| 91 | + "findByAltText": [Function], |
| 92 | + "findByDisplayValue": [Function], |
| 93 | + "findByLabelText": [Function], |
| 94 | + "findByPlaceholderText": [Function], |
| 95 | + "findByRole": [Function], |
| 96 | + "findByTestId": [Function], |
| 97 | + "findByText": [Function], |
| 98 | + "findByTitle": [Function], |
| 99 | + "getAllByAltText": [Function], |
| 100 | + "getAllByDisplayValue": [Function], |
| 101 | + "getAllByLabelText": [Function], |
| 102 | + "getAllByPlaceholderText": [Function], |
| 103 | + "getAllByRole": [Function], |
| 104 | + "getAllByTestId": [Function], |
| 105 | + "getAllByText": [Function], |
| 106 | + "getAllByTitle": [Function], |
| 107 | + "getByAltText": [Function], |
| 108 | + "getByDisplayValue": [Function], |
| 109 | + "getByLabelText": [Function], |
| 110 | + "getByPlaceholderText": [Function], |
| 111 | + "getByRole": [Function], |
| 112 | + "getByTestId": [Function], |
| 113 | + "getByText": [Function], |
| 114 | + "getByTitle": [Function], |
| 115 | + "queryAllByAltText": [Function], |
| 116 | + "queryAllByDisplayValue": [Function], |
| 117 | + "queryAllByLabelText": [Function], |
| 118 | + "queryAllByPlaceholderText": [Function], |
| 119 | + "queryAllByRole": [Function], |
| 120 | + "queryAllByTestId": [Function], |
| 121 | + "queryAllByText": [Function], |
| 122 | + "queryAllByTitle": [Function], |
| 123 | + "queryByAltText": [Function], |
| 124 | + "queryByDisplayValue": [Function], |
| 125 | + "queryByLabelText": [Function], |
| 126 | + "queryByPlaceholderText": [Function], |
| 127 | + "queryByRole": [Function], |
| 128 | + "queryByTestId": [Function], |
| 129 | + "queryByText": [Function], |
| 130 | + "queryByTitle": [Function], |
| 131 | + "rerender": [Function], |
| 132 | + "unmount": [Function], |
| 133 | +} |
| 134 | +`; |
| 135 | + |
| 136 | +exports[`TagCount component should render a tag count of 11 1`] = ` |
| 137 | +{ |
| 138 | + "asFragment": [Function], |
| 139 | + "baseElement": <body> |
| 140 | + <div> |
| 141 | + <button |
| 142 | + aria-disabled="false" |
| 143 | + aria-label="Tag count" |
| 144 | + class="pf-v5-c-button pf-m-plain buttonTagCount-0-2-1" |
| 145 | + data-ouia-component-id="OUIA-Generated-Button-plain-2" |
| 146 | + data-ouia-component-type="PF5/Button" |
| 147 | + data-ouia-safe="true" |
| 148 | + type="button" |
| 149 | + > |
| 150 | + <span |
| 151 | + class="pf-v5-c-icon pf-m-md" |
| 152 | + > |
| 153 | + <span |
| 154 | + class="pf-v5-c-icon__content" |
| 155 | + > |
| 156 | + <svg |
| 157 | + aria-hidden="true" |
| 158 | + class="pf-v5-svg" |
| 159 | + fill="currentColor" |
| 160 | + height="1em" |
| 161 | + role="img" |
| 162 | + viewBox="0 0 512 512" |
| 163 | + width="1em" |
| 164 | + > |
| 165 | + <path |
| 166 | + d="M0 252.118V48C0 21.49 21.49 0 48 0h204.118a48 48 0 0 1 33.941 14.059l211.882 211.882c18.745 18.745 18.745 49.137 0 67.882L293.823 497.941c-18.745 18.745-49.137 18.745-67.882 0L14.059 286.059A48 48 0 0 1 0 252.118zM112 64c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48z" |
| 167 | + /> |
| 168 | + </svg> |
| 169 | + </span> |
| 170 | + </span> |
| 171 | + <span |
| 172 | + class="tagText-0-2-2" |
| 173 | + > |
| 174 | + 11 |
| 175 | + </span> |
| 176 | + </button> |
| 177 | + </div> |
| 178 | + </body>, |
| 179 | + "container": <div> |
| 180 | + <button |
| 181 | + aria-disabled="false" |
| 182 | + aria-label="Tag count" |
| 183 | + class="pf-v5-c-button pf-m-plain buttonTagCount-0-2-1" |
| 184 | + data-ouia-component-id="OUIA-Generated-Button-plain-2" |
| 185 | + data-ouia-component-type="PF5/Button" |
| 186 | + data-ouia-safe="true" |
| 187 | + type="button" |
| 188 | + > |
| 189 | + <span |
| 190 | + class="pf-v5-c-icon pf-m-md" |
| 191 | + > |
| 192 | + <span |
| 193 | + class="pf-v5-c-icon__content" |
| 194 | + > |
| 195 | + <svg |
| 196 | + aria-hidden="true" |
| 197 | + class="pf-v5-svg" |
| 198 | + fill="currentColor" |
| 199 | + height="1em" |
| 200 | + role="img" |
| 201 | + viewBox="0 0 512 512" |
| 202 | + width="1em" |
| 203 | + > |
| 204 | + <path |
| 205 | + d="M0 252.118V48C0 21.49 21.49 0 48 0h204.118a48 48 0 0 1 33.941 14.059l211.882 211.882c18.745 18.745 18.745 49.137 0 67.882L293.823 497.941c-18.745 18.745-49.137 18.745-67.882 0L14.059 286.059A48 48 0 0 1 0 252.118zM112 64c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48z" |
| 206 | + /> |
| 207 | + </svg> |
| 208 | + </span> |
| 209 | + </span> |
| 210 | + <span |
| 211 | + class="tagText-0-2-2" |
| 212 | + > |
| 213 | + 11 |
| 214 | + </span> |
| 215 | + </button> |
| 216 | + </div>, |
| 217 | + "debug": [Function], |
| 218 | + "findAllByAltText": [Function], |
| 219 | + "findAllByDisplayValue": [Function], |
| 220 | + "findAllByLabelText": [Function], |
| 221 | + "findAllByPlaceholderText": [Function], |
| 222 | + "findAllByRole": [Function], |
| 223 | + "findAllByTestId": [Function], |
| 224 | + "findAllByText": [Function], |
| 225 | + "findAllByTitle": [Function], |
| 226 | + "findByAltText": [Function], |
| 227 | + "findByDisplayValue": [Function], |
| 228 | + "findByLabelText": [Function], |
| 229 | + "findByPlaceholderText": [Function], |
| 230 | + "findByRole": [Function], |
| 231 | + "findByTestId": [Function], |
| 232 | + "findByText": [Function], |
| 233 | + "findByTitle": [Function], |
| 234 | + "getAllByAltText": [Function], |
| 235 | + "getAllByDisplayValue": [Function], |
| 236 | + "getAllByLabelText": [Function], |
| 237 | + "getAllByPlaceholderText": [Function], |
| 238 | + "getAllByRole": [Function], |
| 239 | + "getAllByTestId": [Function], |
| 240 | + "getAllByText": [Function], |
| 241 | + "getAllByTitle": [Function], |
| 242 | + "getByAltText": [Function], |
| 243 | + "getByDisplayValue": [Function], |
| 244 | + "getByLabelText": [Function], |
| 245 | + "getByPlaceholderText": [Function], |
| 246 | + "getByRole": [Function], |
| 247 | + "getByTestId": [Function], |
| 248 | + "getByText": [Function], |
| 249 | + "getByTitle": [Function], |
| 250 | + "queryAllByAltText": [Function], |
| 251 | + "queryAllByDisplayValue": [Function], |
| 252 | + "queryAllByLabelText": [Function], |
| 253 | + "queryAllByPlaceholderText": [Function], |
| 254 | + "queryAllByRole": [Function], |
| 255 | + "queryAllByTestId": [Function], |
| 256 | + "queryAllByText": [Function], |
| 257 | + "queryAllByTitle": [Function], |
| 258 | + "queryByAltText": [Function], |
| 259 | + "queryByDisplayValue": [Function], |
| 260 | + "queryByLabelText": [Function], |
| 261 | + "queryByPlaceholderText": [Function], |
| 262 | + "queryByRole": [Function], |
| 263 | + "queryByTestId": [Function], |
| 264 | + "queryByText": [Function], |
| 265 | + "queryByTitle": [Function], |
| 266 | + "rerender": [Function], |
| 267 | + "unmount": [Function], |
| 268 | +} |
| 269 | +`; |
0 commit comments