Skip to content

Commit 27b72ac

Browse files
committed
test: update rc-select snapshots
1 parent f7c93db commit 27b72ac

3 files changed

Lines changed: 30 additions & 30 deletions

File tree

tests/__snapshots__/Select.checkable.spec.tsx.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@ exports[`TreeSelect.checkable uncheck remove by selector not treeCheckStrictly 1
8787
aria-expanded="true"
8888
aria-haspopup="listbox"
8989
aria-owns="test-id_list"
90-
autocomplete="off"
90+
autocomplete="new-password"
9191
class="rc-tree-select-input"
9292
id="test-id"
9393
readonly=""
9494
role="combobox"
9595
style="--select-input-width: 0;"
96-
type="search"
96+
type="text"
9797
value=""
9898
/>
9999
</div>
@@ -301,13 +301,13 @@ exports[`TreeSelect.checkable uncheck remove by selector not treeCheckStrictly 2
301301
aria-expanded="true"
302302
aria-haspopup="listbox"
303303
aria-owns="test-id_list"
304-
autocomplete="off"
304+
autocomplete="new-password"
305305
class="rc-tree-select-input"
306306
id="test-id"
307307
readonly=""
308308
role="combobox"
309309
style="--select-input-width: 0;"
310-
type="search"
310+
type="text"
311311
value=""
312312
/>
313313
</div>
@@ -575,13 +575,13 @@ exports[`TreeSelect.checkable uncheck remove by tree check 1`] = `
575575
aria-expanded="true"
576576
aria-haspopup="listbox"
577577
aria-owns="test-id_list"
578-
autocomplete="off"
578+
autocomplete="new-password"
579579
class="rc-tree-select-input"
580580
id="test-id"
581581
readonly=""
582582
role="combobox"
583583
style="--select-input-width: 0;"
584-
type="search"
584+
type="text"
585585
value=""
586586
/>
587587
</div>
@@ -789,13 +789,13 @@ exports[`TreeSelect.checkable uncheck remove by tree check 2`] = `
789789
aria-expanded="true"
790790
aria-haspopup="listbox"
791791
aria-owns="test-id_list"
792-
autocomplete="off"
792+
autocomplete="new-password"
793793
class="rc-tree-select-input"
794794
id="test-id"
795795
readonly=""
796796
role="combobox"
797797
style="--select-input-width: 0;"
798-
type="search"
798+
type="text"
799799
value=""
800800
/>
801801
</div>

tests/__snapshots__/Select.multiple.spec.js.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ exports[`TreeSelect.multiple can hide search box by showSearch = false 1`] = `
2424
aria-autocomplete="list"
2525
aria-expanded="false"
2626
aria-haspopup="listbox"
27-
autocomplete="off"
27+
autocomplete="new-password"
2828
class="rc-tree-select-input"
2929
id="test-id"
3030
readonly=""
3131
role="combobox"
3232
style="--select-input-width: 0;"
33-
type="search"
33+
type="text"
3434
value=""
3535
/>
3636
</div>

tests/__snapshots__/Select.spec.tsx.snap

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ exports[`TreeSelect.basic render renders TreeNode correctly 1`] = `
1717
aria-expanded="true"
1818
aria-haspopup="listbox"
1919
aria-owns="test-id_list"
20-
autocomplete="off"
20+
autocomplete="new-password"
2121
class="rc-tree-select-input"
2222
id="test-id"
2323
readonly=""
2424
role="combobox"
25-
type="search"
25+
type="text"
2626
value=""
2727
/>
2828
</div>
@@ -46,12 +46,12 @@ exports[`TreeSelect.basic render renders TreeNode correctly with falsy child 1`]
4646
aria-expanded="true"
4747
aria-haspopup="listbox"
4848
aria-owns="test-id_list"
49-
autocomplete="off"
49+
autocomplete="new-password"
5050
class="rc-tree-select-input"
5151
id="test-id"
5252
readonly=""
5353
role="combobox"
54-
type="search"
54+
type="text"
5555
value=""
5656
/>
5757
</div>
@@ -83,13 +83,13 @@ exports[`TreeSelect.basic render renders correctly 1`] = `
8383
aria-autocomplete="list"
8484
aria-expanded="false"
8585
aria-haspopup="listbox"
86-
autocomplete="off"
86+
autocomplete="new-password"
8787
class="awesome-input"
8888
id="test-id"
8989
readonly=""
9090
role="combobox"
9191
style="--select-input-width: 0;"
92-
type="search"
92+
type="text"
9393
value=""
9494
/>
9595
</div>
@@ -112,13 +112,13 @@ exports[`TreeSelect.basic render renders disabled correctly 1`] = `
112112
aria-autocomplete="list"
113113
aria-expanded="false"
114114
aria-haspopup="listbox"
115-
autocomplete="off"
115+
autocomplete="new-password"
116116
class="rc-tree-select-input"
117117
disabled=""
118118
id="test-id"
119119
readonly=""
120120
role="combobox"
121-
type="search"
121+
type="text"
122122
value=""
123123
/>
124124
</div>
@@ -152,13 +152,13 @@ exports[`TreeSelect.basic render renders tree correctly 1`] = `
152152
aria-expanded="true"
153153
aria-haspopup="listbox"
154154
aria-owns="test-id_list"
155-
autocomplete="off"
155+
autocomplete="new-password"
156156
class="rc-tree-select-input"
157157
id="test-id"
158158
readonly=""
159159
role="combobox"
160160
style="--select-input-width: 0;"
161-
type="search"
161+
type="text"
162162
value=""
163163
/>
164164
</div>
@@ -389,12 +389,12 @@ exports[`TreeSelect.basic render renders treeDataSimpleMode correctly 1`] = `
389389
aria-expanded="true"
390390
aria-haspopup="listbox"
391391
aria-owns="test-id_list"
392-
autocomplete="off"
392+
autocomplete="new-password"
393393
class="rc-tree-select-input"
394394
id="test-id"
395395
readonly=""
396396
role="combobox"
397-
type="search"
397+
type="text"
398398
value=""
399399
/>
400400
</div>
@@ -534,11 +534,11 @@ exports[`TreeSelect.basic search nodes check tree changed by filter 1`] = `
534534
aria-expanded="true"
535535
aria-haspopup="listbox"
536536
aria-owns="test-id_list"
537-
autocomplete="off"
537+
autocomplete="new-password"
538538
class="rc-tree-select-input"
539539
id="test-id"
540540
role="combobox"
541-
type="search"
541+
type="text"
542542
value="a"
543543
/>
544544
</div>
@@ -644,11 +644,11 @@ exports[`TreeSelect.basic search nodes check tree changed by filter 2`] = `
644644
aria-expanded="true"
645645
aria-haspopup="listbox"
646646
aria-owns="test-id_list"
647-
autocomplete="off"
647+
autocomplete="new-password"
648648
class="rc-tree-select-input"
649649
id="test-id"
650650
role="combobox"
651-
type="search"
651+
type="text"
652652
value=""
653653
/>
654654
</div>
@@ -783,11 +783,11 @@ exports[`TreeSelect.basic search nodes filter node but not remove then 1`] = `
783783
aria-expanded="true"
784784
aria-haspopup="listbox"
785785
aria-owns="test-id_list"
786-
autocomplete="off"
786+
autocomplete="new-password"
787787
class="rc-tree-select-input"
788788
id="test-id"
789789
role="combobox"
790-
type="search"
790+
type="text"
791791
value="a"
792792
/>
793793
</div>
@@ -921,11 +921,11 @@ exports[`TreeSelect.basic search nodes renders search input 1`] = `
921921
aria-expanded="true"
922922
aria-haspopup="listbox"
923923
aria-owns="test-id_list"
924-
autocomplete="off"
924+
autocomplete="new-password"
925925
class="rc-tree-select-input"
926926
id="test-id"
927927
role="combobox"
928-
type="search"
928+
type="text"
929929
value=""
930930
/>
931931
</div>

0 commit comments

Comments
 (0)