2019-01-03 16:00:55 +03:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Select renders correctly 1`] = `
<div
2021-09-25 05:58:39 +03:00
class=" css-18o3wl1-container"
2019-01-03 16:00:55 +03:00
>
2021-09-25 05:58:39 +03:00
<span
class="css-1f43avz-a11yText-A11yText"
id="react-select-2-live-region"
/>
2021-08-29 20:09:10 +03:00
<span
aria-atomic="false"
aria-live="polite"
aria-relevant="additions text"
class="css-1f43avz-a11yText-A11yText"
2023-11-09 04:22:50 +03:00
role="log"
2021-08-29 20:09:10 +03:00
/>
2019-01-03 16:00:55 +03:00
<div
2022-12-22 00:13:25 +03:00
class=" css-10g0wlc-control"
2019-01-03 16:00:55 +03:00
>
<div
2024-07-20 16:17:14 +03:00
class=" css-1uzcsaf"
2019-01-03 16:00:55 +03:00
>
<div
2022-12-22 00:13:25 +03:00
class=" css-1m6ztbo-placeholder"
2021-09-25 05:58:39 +03:00
id="react-select-2-placeholder"
2019-01-03 16:00:55 +03:00
>
Select...
</div>
<div
2024-07-20 16:17:14 +03:00
class=" css-fty6pr"
2021-09-25 05:58:39 +03:00
data-value=""
2019-01-03 16:00:55 +03:00
>
2021-09-25 05:58:39 +03:00
<input
2023-11-09 04:22:50 +03:00
aria-activedescendant=""
2021-09-25 05:58:39 +03:00
aria-autocomplete="list"
aria-describedby="react-select-2-placeholder"
aria-expanded="false"
aria-haspopup="true"
autocapitalize="none"
autocomplete="off"
autocorrect="off"
2020-09-04 07:10:24 +03:00
class=""
2021-09-25 05:58:39 +03:00
id="react-select-2-input"
role="combobox"
spellcheck="false"
2021-10-22 07:18:03 +03:00
style="opacity: 1; width: 100%; grid-area: 1 / 2; min-width: 2px; border: 0px; margin: 0px; outline: 0; padding: 0px;"
2021-09-25 05:58:39 +03:00
tabindex="0"
type="text"
value=""
/>
2019-01-03 16:00:55 +03:00
</div>
</div>
2020-09-04 07:10:24 +03:00
<div
2024-07-20 16:17:14 +03:00
class=" css-1wy0on6"
2019-01-03 16:00:55 +03:00
>
<span
2022-12-22 00:13:25 +03:00
class=" css-19norqf-indicatorSeparator"
2019-01-03 16:00:55 +03:00
/>
2020-09-04 07:10:24 +03:00
<div
aria-hidden="true"
2022-12-22 00:13:25 +03:00
class=" css-17vo4tq-indicatorContainer"
2020-09-04 07:10:24 +03:00
>
<svg
aria-hidden="true"
2021-08-29 20:09:10 +03:00
class="css-tj5bde-Svg"
2020-09-04 07:10:24 +03:00
focusable="false"
height="20"
viewBox="0 0 20 20"
width="20"
>
<path
d="M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
/>
</svg>
</div>
</div>
2019-01-03 16:00:55 +03:00
</div>
</div>
`;
exports[`Select renders with props 1`] = `
<div
2021-09-25 05:58:39 +03:00
class=" css-lk03f7-container"
2019-01-03 16:00:55 +03:00
>
2021-09-25 05:58:39 +03:00
<span
class="css-1f43avz-a11yText-A11yText"
id="react-select-3-live-region"
/>
2021-08-29 20:09:10 +03:00
<span
aria-atomic="false"
aria-live="polite"
aria-relevant="additions text"
class="css-1f43avz-a11yText-A11yText"
2023-11-09 04:22:50 +03:00
role="log"
2021-08-29 20:09:10 +03:00
/>
2019-01-03 16:00:55 +03:00
<div
2023-10-24 22:18:38 +03:00
aria-disabled="true"
2022-12-22 00:13:25 +03:00
class=" css-10g0wlc-control"
2019-01-03 16:00:55 +03:00
>
<div
2024-07-20 16:17:14 +03:00
class=" css-6dn868"
2019-01-03 16:00:55 +03:00
>
<div
2022-12-22 00:13:25 +03:00
class=" css-7ef4eb-multiValue"
2020-09-04 07:10:24 +03:00
>
<div
2024-07-20 16:17:14 +03:00
class=" css-1eqzlh8"
2020-09-04 07:10:24 +03:00
>
2021-06-07 07:54:05 +03:00
One
</div>
<div
2021-09-25 05:58:39 +03:00
aria-label="Remove One"
2024-07-20 16:17:14 +03:00
class=" css-13dqakm"
2021-09-25 05:58:39 +03:00
role="button"
2021-06-07 07:54:05 +03:00
>
<svg
aria-hidden="true"
2021-08-29 20:09:10 +03:00
class="css-tj5bde-Svg"
2021-06-07 07:54:05 +03:00
focusable="false"
height="14"
viewBox="0 0 20 20"
width="14"
>
<path
d="M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
/>
</svg>
2020-09-04 07:10:24 +03:00
</div>
</div>
2021-06-07 07:54:05 +03:00
<input
2023-11-09 04:22:50 +03:00
aria-activedescendant=""
2021-06-07 07:54:05 +03:00
aria-autocomplete="list"
2021-09-25 05:58:39 +03:00
aria-expanded="false"
aria-haspopup="true"
aria-readonly="true"
2024-07-20 16:17:14 +03:00
class="css-1czm0f-dummyInput-DummyInput"
2021-06-07 07:54:05 +03:00
disabled=""
id="react-select-3-input"
2021-09-25 05:58:39 +03:00
inputmode="none"
role="combobox"
2021-06-07 07:54:05 +03:00
tabindex="0"
value=""
/>
2019-01-03 16:00:55 +03:00
</div>
2020-09-04 07:10:24 +03:00
<div
2024-07-20 16:17:14 +03:00
class=" css-1wy0on6"
2019-01-03 16:00:55 +03:00
>
2020-09-04 07:10:24 +03:00
<div
aria-hidden="true"
2022-12-22 00:13:25 +03:00
class=" css-1x631db-loadingIndicator"
2020-09-04 07:10:24 +03:00
>
<span
2024-07-20 16:17:14 +03:00
class="css-1h1juvu-LoadingDot"
2020-09-04 07:10:24 +03:00
/>
<span
2024-07-20 16:17:14 +03:00
class="css-1swgd6a-LoadingDot"
2020-09-04 07:10:24 +03:00
/>
<span
2024-07-20 16:17:14 +03:00
class="css-41hts2-LoadingDot"
2020-09-04 07:10:24 +03:00
/>
</div>
2019-01-03 16:00:55 +03:00
<span
2022-12-22 00:13:25 +03:00
class=" css-19norqf-indicatorSeparator"
2019-01-03 16:00:55 +03:00
/>
2020-09-04 07:10:24 +03:00
<div
aria-hidden="true"
2022-12-22 00:13:25 +03:00
class=" css-17vo4tq-indicatorContainer"
2020-09-04 07:10:24 +03:00
>
<svg
aria-hidden="true"
2021-08-29 20:09:10 +03:00
class="css-tj5bde-Svg"
2020-09-04 07:10:24 +03:00
focusable="false"
height="20"
viewBox="0 0 20 20"
width="20"
>
<path
d="M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
/>
</svg>
</div>
</div>
2019-01-03 16:00:55 +03:00
</div>
</div>
`;
exports[`Select should select another option 1`] = `
2021-10-22 07:18:03 +03:00
<div
class=" css-18o3wl1-container"
2019-01-03 16:00:55 +03:00
>
2021-10-22 07:18:03 +03:00
<span
class="css-1f43avz-a11yText-A11yText"
id="react-select-4-live-region"
/>
<span
aria-atomic="false"
aria-live="polite"
aria-relevant="additions text"
class="css-1f43avz-a11yText-A11yText"
2023-11-09 04:22:50 +03:00
role="log"
2021-10-22 07:18:03 +03:00
>
<span
id="aria-selection"
/>
<span
2023-11-09 04:22:50 +03:00
id="aria-focused"
/>
<span
id="aria-results"
>
1 result available for search term two.
</span>
<span
id="aria-guidance"
2021-10-22 07:18:03 +03:00
>
2023-11-09 04:22:50 +03:00
Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu, press Tab to select the option and exit the menu.
2021-10-22 07:18:03 +03:00
</span>
</span>
<div
2022-12-22 00:13:25 +03:00
class=" css-mjg7mv-control"
2019-01-03 16:00:55 +03:00
>
2021-10-22 07:18:03 +03:00
<div
2024-07-20 16:17:14 +03:00
class=" css-1uzcsaf"
2021-10-22 07:18:03 +03:00
>
<div
2024-07-20 16:17:14 +03:00
class=" css-vtduo5"
2021-10-22 07:18:03 +03:00
data-value="two"
>
<input
2023-11-09 04:22:50 +03:00
aria-activedescendant="react-select-4-option-1"
2021-10-22 07:18:03 +03:00
aria-autocomplete="list"
aria-controls="react-select-4-listbox"
aria-describedby="react-select-4-placeholder"
aria-expanded="true"
aria-haspopup="true"
autocapitalize="none"
autocomplete="off"
autocorrect="off"
class=""
id="react-select-4-input"
role="combobox"
spellcheck="false"
style="opacity: 1; width: 100%; grid-area: 1 / 2; min-width: 2px; border: 0px; margin: 0px; outline: 0; padding: 0px;"
tabindex="0"
type="text"
value="two"
/>
</div>
</div>
<div
2024-07-20 16:17:14 +03:00
class=" css-1wy0on6"
2019-01-03 16:00:55 +03:00
>
2021-10-22 07:18:03 +03:00
<span
2022-12-22 00:13:25 +03:00
class=" css-19norqf-indicatorSeparator"
2021-10-22 07:18:03 +03:00
/>
<div
aria-hidden="true"
2022-12-22 00:13:25 +03:00
class=" css-17vo4tq-indicatorContainer"
2019-01-03 16:00:55 +03:00
>
2021-10-22 07:18:03 +03:00
<svg
aria-hidden="true"
class="css-tj5bde-Svg"
focusable="false"
height="20"
viewBox="0 0 20 20"
width="20"
2020-09-20 02:24:18 +03:00
>
2021-10-22 07:18:03 +03:00
<path
d="M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
/>
</svg>
</div>
</div>
</div>
<div
2022-12-22 00:13:25 +03:00
class=" css-sromc4-menu"
2021-10-22 07:18:03 +03:00
>
<div
2023-11-09 04:22:50 +03:00
aria-multiselectable="false"
2024-07-20 16:17:14 +03:00
class=" css-12gthpx"
2023-11-09 04:22:50 +03:00
id="react-select-4-listbox"
role="listbox"
2021-10-22 07:18:03 +03:00
>
<div
aria-disabled="false"
2023-11-09 04:22:50 +03:00
aria-selected="false"
2022-12-22 00:13:25 +03:00
class=" css-1t6re7j-option"
2021-10-22 07:18:03 +03:00
id="react-select-4-option-1"
2023-11-09 04:22:50 +03:00
role="option"
2021-10-22 07:18:03 +03:00
tabindex="-1"
>
Two
</div>
</div>
</div>
</div>
2019-01-03 16:00:55 +03:00
`;
exports[`Select shouldn't find any results 1`] = `
2021-10-22 07:18:03 +03:00
<div
class=" css-18o3wl1-container"
2019-01-03 16:00:55 +03:00
>
2021-10-22 07:18:03 +03:00
<span
class="css-1f43avz-a11yText-A11yText"
id="react-select-5-live-region"
/>
<span
aria-atomic="false"
aria-live="polite"
aria-relevant="additions text"
class="css-1f43avz-a11yText-A11yText"
2023-11-09 04:22:50 +03:00
role="log"
2021-10-22 07:18:03 +03:00
>
<span
id="aria-selection"
/>
<span
2023-11-09 04:22:50 +03:00
id="aria-focused"
/>
<span
id="aria-results"
>
0 results available for search term text.
</span>
<span
id="aria-guidance"
2021-10-22 07:18:03 +03:00
>
2023-11-09 04:22:50 +03:00
Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu, press Tab to select the option and exit the menu.
2021-10-22 07:18:03 +03:00
</span>
</span>
<div
2022-12-22 00:13:25 +03:00
class=" css-mjg7mv-control"
2019-01-03 16:00:55 +03:00
>
2021-10-22 07:18:03 +03:00
<div
2024-07-20 16:17:14 +03:00
class=" css-1uzcsaf"
2021-10-22 07:18:03 +03:00
>
<div
2024-07-20 16:17:14 +03:00
class=" css-vtduo5"
2021-10-22 07:18:03 +03:00
data-value="text"
>
<input
2023-11-09 04:22:50 +03:00
aria-activedescendant=""
2021-10-22 07:18:03 +03:00
aria-autocomplete="list"
aria-controls="react-select-5-listbox"
aria-describedby="react-select-5-placeholder"
aria-expanded="true"
aria-haspopup="true"
autocapitalize="none"
autocomplete="off"
autocorrect="off"
class=""
id="react-select-5-input"
role="combobox"
spellcheck="false"
style="opacity: 1; width: 100%; grid-area: 1 / 2; min-width: 2px; border: 0px; margin: 0px; outline: 0; padding: 0px;"
tabindex="0"
type="text"
value="text"
/>
</div>
</div>
<div
2024-07-20 16:17:14 +03:00
class=" css-1wy0on6"
2019-01-03 16:00:55 +03:00
>
2021-10-22 07:18:03 +03:00
<span
2022-12-22 00:13:25 +03:00
class=" css-19norqf-indicatorSeparator"
2021-10-22 07:18:03 +03:00
/>
<div
aria-hidden="true"
2022-12-22 00:13:25 +03:00
class=" css-17vo4tq-indicatorContainer"
2019-01-03 16:00:55 +03:00
>
2021-10-22 07:18:03 +03:00
<svg
aria-hidden="true"
class="css-tj5bde-Svg"
focusable="false"
height="20"
viewBox="0 0 20 20"
width="20"
2020-09-20 02:24:18 +03:00
>
2021-10-22 07:18:03 +03:00
<path
d="M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
/>
</svg>
</div>
</div>
</div>
<div
2022-12-22 00:13:25 +03:00
class=" css-sromc4-menu"
2021-10-22 07:18:03 +03:00
>
<div
2023-11-09 04:22:50 +03:00
aria-multiselectable="false"
2024-07-20 16:17:14 +03:00
class=" css-12gthpx"
2023-11-09 04:22:50 +03:00
id="react-select-5-listbox"
role="listbox"
2021-10-22 07:18:03 +03:00
>
<div
2024-07-20 16:17:14 +03:00
class=" css-1ab4lkd"
2021-10-22 07:18:03 +03:00
>
No options
</div>
</div>
</div>
</div>
2019-01-03 16:00:55 +03:00
`;