File tree Expand file tree Collapse file tree 2 files changed +553
-316
lines changed
pf3-component-mapper/src/tests/__snapshots__
pf4-component-mapper/src/tests/__snapshots__ Expand file tree Collapse file tree 2 files changed +553
-316
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ exports[`<MultipleChoiceList /> should render correctly 1`] = `
46
46
},
47
47
]
48
48
}
49
+ render = { [Function ]}
49
50
validate = { [Function ]}
50
51
>
51
52
<MockFieldProvider
@@ -67,10 +68,21 @@ exports[`<MultipleChoiceList /> should render correctly 1`] = `
67
68
},
68
69
]
69
70
}
71
+ render = { [Function ]}
70
72
validate = { [Function ]}
71
73
>
72
74
<Wrapper
73
75
meta = { Object {}}
76
+ rest = {
77
+ Object {
78
+ " children" : undefined ,
79
+ " input" : Object {
80
+ " onChange" : [MockFunction ],
81
+ " value" : Array [],
82
+ },
83
+ " validate" : [Function ],
84
+ }
85
+ }
74
86
>
75
87
<FormGroup
76
88
bsClass = " form-group"
@@ -109,37 +121,44 @@ exports[`<MultipleChoiceList /> should render correctly 1`] = `
109
121
type = " checkbox"
110
122
value = { 0 }
111
123
>
112
- <Checkbox
124
+ <FinalCheckbox
113
125
aria-label = " Foo"
114
- bsClass = " checkbox"
115
- disabled = { false }
116
126
id = " undefined-0"
117
- inline = { false }
118
127
label = " Foo"
119
128
onChange = { [Function ]}
120
- title = " "
121
129
type = " checkbox"
122
130
value = { 0 }
123
131
>
124
- <div
125
- className = " checkbox"
132
+ <Checkbox
133
+ aria-label = " Foo"
134
+ bsClass = " checkbox"
135
+ disabled = { false }
136
+ id = " undefined-0"
137
+ inline = { false }
138
+ onChange = { [Function ]}
139
+ title = " "
140
+ type = " checkbox"
141
+ value = { 0 }
126
142
>
127
- <label
128
- title = " "
143
+ <div
144
+ className = " checkbox "
129
145
>
130
- <input
131
- aria-label = " Foo"
132
- disabled = { false }
133
- id = " undefined-0"
134
- label = " Foo"
135
- onChange = { [Function ]}
136
- type = " checkbox"
137
- value = { 0 }
138
- />
139
- Foo
140
- </label >
141
- </div >
142
- </Checkbox >
146
+ <label
147
+ title = " "
148
+ >
149
+ <input
150
+ aria-label = " Foo"
151
+ disabled = { false }
152
+ id = " undefined-0"
153
+ onChange = { [Function ]}
154
+ type = " checkbox"
155
+ value = { 0 }
156
+ />
157
+ Foo
158
+ </label >
159
+ </div >
160
+ </Checkbox >
161
+ </FinalCheckbox >
143
162
</MockFieldProvider >
144
163
</FieldProvider >
145
164
<FieldProvider
@@ -163,37 +182,44 @@ exports[`<MultipleChoiceList /> should render correctly 1`] = `
163
182
type = " checkbox"
164
183
value = { 1 }
165
184
>
166
- <Checkbox
185
+ <FinalCheckbox
167
186
aria-label = " Bar"
168
- bsClass = " checkbox"
169
- disabled = { false }
170
187
id = " undefined-1"
171
- inline = { false }
172
188
label = " Bar"
173
189
onChange = { [Function ]}
174
- title = " "
175
190
type = " checkbox"
176
191
value = { 1 }
177
192
>
178
- <div
179
- className = " checkbox"
193
+ <Checkbox
194
+ aria-label = " Bar"
195
+ bsClass = " checkbox"
196
+ disabled = { false }
197
+ id = " undefined-1"
198
+ inline = { false }
199
+ onChange = { [Function ]}
200
+ title = " "
201
+ type = " checkbox"
202
+ value = { 1 }
180
203
>
181
- <label
182
- title = " "
204
+ <div
205
+ className = " checkbox "
183
206
>
184
- <input
185
- aria-label = " Bar"
186
- disabled = { false }
187
- id = " undefined-1"
188
- label = " Bar"
189
- onChange = { [Function ]}
190
- type = " checkbox"
191
- value = { 1 }
192
- />
193
- Bar
194
- </label >
195
- </div >
196
- </Checkbox >
207
+ <label
208
+ title = " "
209
+ >
210
+ <input
211
+ aria-label = " Bar"
212
+ disabled = { false }
213
+ id = " undefined-1"
214
+ onChange = { [Function ]}
215
+ type = " checkbox"
216
+ value = { 1 }
217
+ />
218
+ Bar
219
+ </label >
220
+ </div >
221
+ </Checkbox >
222
+ </FinalCheckbox >
197
223
</MockFieldProvider >
198
224
</FieldProvider >
199
225
</div >
@@ -252,6 +278,7 @@ exports[`<MultipleChoiceList /> should render in error state 1`] = `
252
278
},
253
279
]
254
280
}
281
+ render = { [Function ]}
255
282
validate = { [Function ]}
256
283
>
257
284
<MockFieldProvider
@@ -279,15 +306,27 @@ exports[`<MultipleChoiceList /> should render in error state 1`] = `
279
306
},
280
307
]
281
308
}
309
+ render = { [Function ]}
282
310
validate = { [Function ]}
283
311
>
284
312
<Wrapper
313
+ error = " Error message"
285
314
meta = {
286
315
Object {
287
316
" error" : " Error message" ,
288
317
" touched" : true ,
289
318
}
290
319
}
320
+ rest = {
321
+ Object {
322
+ " children" : undefined ,
323
+ " input" : Object {
324
+ " onChange" : [MockFunction ],
325
+ " value" : Array [],
326
+ },
327
+ " validate" : [Function ],
328
+ }
329
+ }
291
330
showError = " Error message"
292
331
>
293
332
<FormGroup
@@ -333,37 +372,44 @@ exports[`<MultipleChoiceList /> should render in error state 1`] = `
333
372
type = " checkbox"
334
373
value = { 0 }
335
374
>
336
- <Checkbox
375
+ <FinalCheckbox
337
376
aria-label = " Foo"
338
- bsClass = " checkbox"
339
- disabled = { false }
340
377
id = " undefined-0"
341
- inline = { false }
342
378
label = " Foo"
343
379
onChange = { [Function ]}
344
- title = " "
345
380
type = " checkbox"
346
381
value = { 0 }
347
382
>
348
- <div
349
- className = " checkbox"
383
+ <Checkbox
384
+ aria-label = " Foo"
385
+ bsClass = " checkbox"
386
+ disabled = { false }
387
+ id = " undefined-0"
388
+ inline = { false }
389
+ onChange = { [Function ]}
390
+ title = " "
391
+ type = " checkbox"
392
+ value = { 0 }
350
393
>
351
- <label
352
- title = " "
394
+ <div
395
+ className = " checkbox "
353
396
>
354
- <input
355
- aria-label = " Foo"
356
- disabled = { false }
357
- id = " undefined-0"
358
- label = " Foo"
359
- onChange = { [Function ]}
360
- type = " checkbox"
361
- value = { 0 }
362
- />
363
- Foo
364
- </label >
365
- </div >
366
- </Checkbox >
397
+ <label
398
+ title = " "
399
+ >
400
+ <input
401
+ aria-label = " Foo"
402
+ disabled = { false }
403
+ id = " undefined-0"
404
+ onChange = { [Function ]}
405
+ type = " checkbox"
406
+ value = { 0 }
407
+ />
408
+ Foo
409
+ </label >
410
+ </div >
411
+ </Checkbox >
412
+ </FinalCheckbox >
367
413
</MockFieldProvider >
368
414
</FieldProvider >
369
415
<FieldProvider
@@ -393,37 +439,44 @@ exports[`<MultipleChoiceList /> should render in error state 1`] = `
393
439
type = " checkbox"
394
440
value = { 1 }
395
441
>
396
- <Checkbox
442
+ <FinalCheckbox
397
443
aria-label = " Bar"
398
- bsClass = " checkbox"
399
- disabled = { false }
400
444
id = " undefined-1"
401
- inline = { false }
402
445
label = " Bar"
403
446
onChange = { [Function ]}
404
- title = " "
405
447
type = " checkbox"
406
448
value = { 1 }
407
449
>
408
- <div
409
- className = " checkbox"
450
+ <Checkbox
451
+ aria-label = " Bar"
452
+ bsClass = " checkbox"
453
+ disabled = { false }
454
+ id = " undefined-1"
455
+ inline = { false }
456
+ onChange = { [Function ]}
457
+ title = " "
458
+ type = " checkbox"
459
+ value = { 1 }
410
460
>
411
- <label
412
- title = " "
461
+ <div
462
+ className = " checkbox "
413
463
>
414
- <input
415
- aria-label = " Bar"
416
- disabled = { false }
417
- id = " undefined-1"
418
- label = " Bar"
419
- onChange = { [Function ]}
420
- type = " checkbox"
421
- value = { 1 }
422
- />
423
- Bar
424
- </label >
425
- </div >
426
- </Checkbox >
464
+ <label
465
+ title = " "
466
+ >
467
+ <input
468
+ aria-label = " Bar"
469
+ disabled = { false }
470
+ id = " undefined-1"
471
+ onChange = { [Function ]}
472
+ type = " checkbox"
473
+ value = { 1 }
474
+ />
475
+ Bar
476
+ </label >
477
+ </div >
478
+ </Checkbox >
479
+ </FinalCheckbox >
427
480
</MockFieldProvider >
428
481
</FieldProvider >
429
482
</div >
You can’t perform that action at this time.
0 commit comments