File tree Expand file tree Collapse file tree 4 files changed +556
-235
lines changed
packages/pf4-component-mapper/src/tests Expand file tree Collapse file tree 4 files changed +556
-235
lines changed Original file line number Diff line number Diff line change @@ -856,8 +856,8 @@ exports[`FormFields should render Switch correctly 1`] = `
856
856
<input
857
857
aria-label = " "
858
858
aria-labelledby = " someIdKey-on"
859
- checked = { false }
860
859
className = " pf-c-switch__input"
860
+ defaultChecked = { false }
861
861
disabled = { false }
862
862
id = " someIdKey"
863
863
name = " Name of the field"
@@ -1995,8 +1995,8 @@ exports[`FormFields should render disabled Switch correctly 1`] = `
1995
1995
<input
1996
1996
aria-label = " "
1997
1997
aria-labelledby = " someIdKey-on"
1998
- checked = { false }
1999
1998
className = " pf-c-switch__input"
1999
+ defaultChecked = { false }
2000
2000
disabled = { true }
2001
2001
id = " someIdKey"
2002
2002
name = " Name of the field"
@@ -2162,8 +2162,8 @@ exports[`FormFields should render disabled Switch correctly 2`] = `
2162
2162
<input
2163
2163
aria-label = " "
2164
2164
aria-labelledby = " someIdKey-on"
2165
- checked = { false }
2166
2165
className = " pf-c-switch__input"
2166
+ defaultChecked = { false }
2167
2167
disabled = { true }
2168
2168
id = " someIdKey"
2169
2169
name = " Name of the field"
Original file line number Diff line number Diff line change 1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
3
exports [` Tabs component should render tabs correctly 1` ] = `
4
- <Tabs
4
+ <Component
5
5
activeKey = { 0 }
6
- className = " "
7
- isFilled = { false }
8
- isSecondary = { false }
9
- leftScrollAriaLabel = " Scroll left"
10
6
onSelect = { [Function ]}
11
- rightScrollAriaLabel = " Scroll right"
12
- variant = " div"
13
7
>
14
8
<ForwardRef
15
9
eventKey = { 0 }
@@ -37,5 +31,5 @@ exports[`Tabs component should render tabs correctly 1`] = `
37
31
</div >
38
32
</div >
39
33
</ForwardRef >
40
- </Tabs >
34
+ </Component >
41
35
` ;
Original file line number Diff line number Diff line change @@ -8,20 +8,20 @@ exports[`<WizardSTepButtons should add custom className to toolbar 1`] = `
8
8
handleSubmit = { [MockFunction ]}
9
9
submitLabel = " Submit"
10
10
/>
11
- <Button
11
+ <Component
12
12
onClick = { [MockFunction ]}
13
13
type = " button"
14
14
variant = " secondary"
15
15
>
16
16
Back
17
- </Button >
18
- <Button
17
+ </Component >
18
+ <Component
19
19
onClick = { [MockFunction ]}
20
20
type = " button"
21
21
variant = " link"
22
22
>
23
23
Cancel
24
- </Button >
24
+ </Component >
25
25
</footer >
26
26
` ;
27
27
@@ -33,19 +33,19 @@ exports[`<WizardSTepButtons should render correctly 1`] = `
33
33
handleSubmit = { [MockFunction ]}
34
34
submitLabel = " Submit"
35
35
/>
36
- <Button
36
+ <Component
37
37
onClick = { [MockFunction ]}
38
38
type = " button"
39
39
variant = " secondary"
40
40
>
41
41
Back
42
- </Button >
43
- <Button
42
+ </Component >
43
+ <Component
44
44
onClick = { [MockFunction ]}
45
45
type = " button"
46
46
variant = " link"
47
47
>
48
48
Cancel
49
- </Button >
49
+ </Component >
50
50
</footer >
51
51
` ;
You can’t perform that action at this time.
0 commit comments