Skip to content

Commit e313796

Browse files
committed
Update snapshot tests
1 parent 819707c commit e313796

File tree

7 files changed

+6
-38
lines changed

7 files changed

+6
-38
lines changed

test/unit/components/VDataIterator/__snapshots__/VDataIterator.spec.js.snap

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ exports[`VDataIterator.js should match a snapshot - footer slot 1`] = `
2525
5
2626
</div>
2727
<input readonly="readonly"
28-
tabindex="0"
2928
type="text"
3029
autocomplete="on"
3130
aria-readonly="false"
@@ -164,7 +163,6 @@ exports[`VDataIterator.js should match a snapshot - no data 1`] = `
164163
5
165164
</div>
166165
<input readonly="readonly"
167-
tabindex="0"
168166
type="text"
169167
autocomplete="on"
170168
aria-readonly="false"
@@ -294,7 +292,6 @@ exports[`VDataIterator.js should match a snapshot - no matching records 1`] = `
294292
5
295293
</div>
296294
<input readonly="readonly"
297-
tabindex="0"
298295
type="text"
299296
autocomplete="on"
300297
aria-readonly="false"
@@ -428,7 +425,6 @@ exports[`VDataIterator.js should match a snapshot - with data 1`] = `
428425
5
429426
</div>
430427
<input readonly="readonly"
431-
tabindex="0"
432428
type="text"
433429
autocomplete="on"
434430
aria-readonly="false"

test/unit/components/VDataTable/__snapshots__/VDataTable.spec.js.snap

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ exports[`VDataTable.vue should match a snapshot - no data 1`] = `
7878
<div class="v-select__slot">
7979
<div class="v-select__selections">
8080
<input readonly="readonly"
81-
tabindex="0"
8281
type="text"
8382
autocomplete="on"
8483
aria-readonly="false"
@@ -259,7 +258,6 @@ exports[`VDataTable.vue should match a snapshot - no matching results 1`] = `
259258
<div class="v-select__slot">
260259
<div class="v-select__selections">
261260
<input readonly="readonly"
262-
tabindex="0"
263261
type="text"
264262
autocomplete="on"
265263
aria-readonly="false"
@@ -442,7 +440,6 @@ exports[`VDataTable.vue should match a snapshot - with data 1`] = `
442440
<div class="v-select__slot">
443441
<div class="v-select__selections">
444442
<input readonly="readonly"
445-
tabindex="0"
446443
type="text"
447444
autocomplete="on"
448445
aria-readonly="false"

test/unit/components/VOverflowBtn/__snapshots__/VOverflowBtn.spec.js.snap

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ exports[`VOverflowBtn should use default autocomplete selections 1`] = `
1313
foo
1414
</div>
1515
<input readonly="readonly"
16-
tabindex="0"
1716
type="text"
1817
autocomplete="off"
1918
>
@@ -59,7 +58,6 @@ exports[`VOverflowBtn should use default autocomplete selections 2`] = `
5958
</div>
6059
</button>
6160
<input readonly="readonly"
62-
tabindex="0"
6361
type="text"
6462
autocomplete="off"
6563
>

test/unit/components/VSelect/__snapshots__/VSelect.spec.js.snap

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ exports[`VSelect should only show items if they are in items 1`] = `
2323
foo
2424
</div>
2525
<input readonly="readonly"
26-
tabindex="0"
2726
type="text"
2827
autocomplete="on"
2928
aria-readonly="false"
@@ -65,7 +64,6 @@ exports[`VSelect should only show items if they are in items 2`] = `
6564
<div class="v-select__slot">
6665
<div class="v-select__selections">
6766
<input readonly="readonly"
68-
tabindex="0"
6967
type="text"
7068
autocomplete="on"
7169
aria-readonly="false"
@@ -110,7 +108,6 @@ exports[`VSelect should only show items if they are in items 3`] = `
110108
bar
111109
</div>
112110
<input readonly="readonly"
113-
tabindex="0"
114111
type="text"
115112
autocomplete="on"
116113
aria-readonly="false"
@@ -158,7 +155,6 @@ exports[`VSelect should only show items if they are in items 4`] = `
158155
bar
159156
</div>
160157
<input readonly="readonly"
161-
tabindex="0"
162158
type="text"
163159
autocomplete="on"
164160
aria-readonly="false"
@@ -200,7 +196,6 @@ exports[`VSelect should render v-select correctly when not using scope slot 1`]
200196
<div class="v-select__slot">
201197
<div class="v-select__selections">
202198
<input readonly="readonly"
203-
tabindex="0"
204199
type="text"
205200
autocomplete="on"
206201
aria-readonly="false"
@@ -242,7 +237,6 @@ exports[`VSelect should render v-select correctly when not using v-list-tile in
242237
<div class="v-select__slot">
243238
<div class="v-select__selections">
244239
<input readonly="readonly"
245-
tabindex="0"
246240
type="text"
247241
autocomplete="on"
248242
aria-readonly="false"
@@ -289,7 +283,6 @@ exports[`VSelect should render v-select correctly when using v-list-tile in item
289283
</div>
290284
</div>
291285
<input readonly="readonly"
292-
tabindex="0"
293286
type="text"
294287
autocomplete="on"
295288
aria-readonly="false"
@@ -334,7 +327,6 @@ exports[`VSelect should use scoped slot for selection generation 1`] = `
334327
foo - from slot
335328
</div>
336329
<input readonly="readonly"
337-
tabindex="0"
338330
type="text"
339331
autocomplete="on"
340332
aria-readonly="false"

test/unit/components/VSelect/__snapshots__/VSelect2.spec.js.snap

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ exports[`VSelect should add color to selected index 1`] = `
1515
foo
1616
</div>
1717
<input readonly="readonly"
18-
tabindex="0"
1918
type="text"
2019
autocomplete="on"
2120
aria-readonly="false"
@@ -60,7 +59,6 @@ exports[`VSelect should be clearable with prop, dirty and multi select 1`] = `
6059
1
6160
</div>
6261
<input readonly="readonly"
63-
tabindex="0"
6462
type="text"
6563
autocomplete="on"
6664
aria-readonly="false"
@@ -114,7 +112,6 @@ exports[`VSelect should be clearable with prop, dirty and single select 1`] = `
114112
1
115113
</div>
116114
<input readonly="readonly"
117-
tabindex="0"
118115
type="text"
119116
autocomplete="on"
120117
aria-readonly="false"

test/unit/components/VTextField/__snapshots__/VTextField.spec.js.snap

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ exports[`VTextField.js should apply theme to label, counter, messages and icons
2929
>
3030
foo
3131
</label>
32-
<input tabindex="0"
33-
type="text"
32+
<input type="text"
3433
aria-label="foo"
3534
>
3635
</div>
@@ -78,9 +77,7 @@ exports[`VTextField.js should have prefix and suffix 1`] = `
7877
<div class="v-text-field__prefix">
7978
$
8079
</div>
81-
<input tabindex="0"
82-
type="text"
83-
>
80+
<input type="text">
8481
<div class="v-text-field__suffix">
8582
.com
8683
</div>
@@ -104,7 +101,6 @@ exports[`VTextField.js should not display counter when set to false/undefined/nu
104101
<div class="v-input__slot">
105102
<div class="v-text-field__slot">
106103
<input maxlength="50"
107-
tabindex="0"
108104
type="text"
109105
>
110106
</div>
@@ -130,7 +126,6 @@ exports[`VTextField.js should not display counter when set to false/undefined/nu
130126
<div class="v-input__slot">
131127
<div class="v-text-field__slot">
132128
<input maxlength="50"
133-
tabindex="0"
134129
type="text"
135130
>
136131
</div>
@@ -152,9 +147,7 @@ exports[`VTextField.js should render component and match snapshot 1`] = `
152147
<div class="v-input__control">
153148
<div class="v-input__slot">
154149
<div class="v-text-field__slot">
155-
<input tabindex="0"
156-
type="text"
157-
>
150+
<input type="text">
158151
</div>
159152
</div>
160153
<div class="v-text-field__details">
@@ -174,9 +167,7 @@ exports[`VTextField.js should render component with async loading and custom pro
174167
<div class="v-input__control">
175168
<div class="v-input__slot">
176169
<div class="v-text-field__slot">
177-
<input tabindex="0"
178-
type="text"
179-
>
170+
<input type="text">
180171
</div>
181172
<div class="v-progress-linear"
182173
style="height: 7px;"
@@ -212,9 +203,7 @@ exports[`VTextField.js should render component with async loading and match snap
212203
<div class="v-input__control">
213204
<div class="v-input__slot">
214205
<div class="v-text-field__slot">
215-
<input tabindex="0"
216-
type="text"
217-
>
206+
<input type="text">
218207
</div>
219208
<div class="v-progress-linear"
220209
style="height: 2px;"

test/unit/components/VTextarea/__snapshots__/VTextarea.spec.js.snap

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ exports[`VTextarea.vue should calculate element height when using auto-grow prop
66
<div class="v-input__control">
77
<div class="v-input__slot">
88
<div class="v-text-field__slot">
9-
<textarea tabindex="0"
10-
rows="5"
9+
<textarea rows="5"
1110
style="height: 120px;"
1211
>
1312
</textarea>

0 commit comments

Comments
 (0)