Skip to content

Commit 5d69963

Browse files
author
Geoffroy Baccarini
committed
fix tests
1 parent 3e0159a commit 5d69963

File tree

6 files changed

+882
-842
lines changed

6 files changed

+882
-842
lines changed

packages/containers/src/ComponentForm/__snapshots__/ComponentForm.test.js.snap

+82-78
Original file line numberDiff line numberDiff line change
@@ -14,111 +14,115 @@ exports[`ComponentForm #render should render a UIForm 1`] = `
1414
Metadata
1515
</legend>
1616
<div
17-
class="theme-stack theme-justify-start theme-align-stretch theme-nowrap theme-column theme-block theme-height-100 theme-noShrink theme-gap-x-XXS theme-gap-y-XXS"
18-
>
19-
<label
20-
class="theme-label"
21-
for="_datasetMetadata_name"
22-
>
23-
Name
24-
</label>
25-
<div
26-
class="theme-inputShell"
27-
>
28-
<input
29-
aria-invalid="false"
30-
class="theme-input"
31-
id="_datasetMetadata_name"
32-
type="text"
33-
value=""
34-
/>
35-
</div>
36-
</div>
37-
<div
38-
aria-busy="false"
17+
class="theme-fieldset-content"
3918
>
4019
<div
4120
class="theme-stack theme-justify-start theme-align-stretch theme-nowrap theme-column theme-block theme-height-100 theme-noShrink theme-gap-x-XXS theme-gap-y-XXS"
4221
>
4322
<label
4423
class="theme-label"
45-
for="_datasetMetadata_type"
24+
for="_datasetMetadata_name"
4625
>
47-
Types
26+
Name
4827
</label>
4928
<div
50-
class="theme-tc-datalist-item"
51-
tabindex="-1"
29+
class="theme-inputShell"
5230
>
31+
<input
32+
aria-invalid="false"
33+
class="theme-input"
34+
id="_datasetMetadata_name"
35+
type="text"
36+
value=""
37+
/>
38+
</div>
39+
</div>
40+
<div
41+
aria-busy="false"
42+
>
43+
<div
44+
class="theme-stack theme-justify-start theme-align-stretch theme-nowrap theme-column theme-block theme-height-100 theme-noShrink theme-gap-x-XXS theme-gap-y-XXS"
45+
>
46+
<label
47+
class="theme-label"
48+
for="_datasetMetadata_type"
49+
>
50+
Types
51+
</label>
5352
<div
54-
aria-expanded="false"
55-
aria-haspopup="listbox"
56-
aria-owns="react-autowhatever-_datasetMetadata_type"
57-
class="theme-tc-typeahead-container tc-typeahead-container theme-container tc-datalist-container tc-datalist"
58-
role="combobox"
53+
class="theme-tc-datalist-item"
54+
tabindex="-1"
5955
>
6056
<div
61-
class="tc-typeahead-typeahead-input-icon theme-typeahead-input-container theme-typeahead-input-caret"
57+
aria-expanded="false"
58+
aria-haspopup="listbox"
59+
aria-owns="react-autowhatever-_datasetMetadata_type"
60+
class="theme-tc-typeahead-container tc-typeahead-container theme-container tc-datalist-container tc-datalist"
61+
role="combobox"
6262
>
6363
<div
64-
class="theme-stack theme-justify-start theme-align-stretch theme-nowrap theme-column theme-block theme-height-100 theme-noShrink theme-gap-x-XXS theme-gap-y-XXS"
64+
class="tc-typeahead-typeahead-input-icon theme-typeahead-input-container theme-typeahead-input-caret"
6565
>
66-
<span
67-
class="theme-hidden"
66+
<div
67+
class="theme-stack theme-justify-start theme-align-stretch theme-nowrap theme-column theme-block theme-height-100 theme-noShrink theme-gap-x-XXS theme-gap-y-XXS"
6868
>
69-
<label
70-
class="theme-label"
71-
for="_datasetMetadata_type"
72-
/>
73-
</span>
69+
<span
70+
class="theme-hidden"
71+
>
72+
<label
73+
class="theme-label"
74+
for="_datasetMetadata_type"
75+
/>
76+
</span>
77+
<div
78+
class="theme-inputShell"
79+
>
80+
<input
81+
aria-autocomplete="list"
82+
aria-controls="react-autowhatever-_datasetMetadata_type"
83+
aria-describedby="_datasetMetadata_type-description _datasetMetadata_type-error"
84+
aria-invalid="false"
85+
autocomplete="off"
86+
class="theme-input theme-typeahead-input tc-typeahead-typeahead-input"
87+
id="_datasetMetadata_type"
88+
type="text"
89+
value=""
90+
/>
91+
</div>
92+
</div>
7493
<div
75-
class="theme-inputShell"
94+
class="icon-cls theme-icon-cls icon-caret theme-icon-caret"
7695
>
77-
<input
78-
aria-autocomplete="list"
79-
aria-controls="react-autowhatever-_datasetMetadata_type"
80-
aria-describedby="_datasetMetadata_type-description _datasetMetadata_type-error"
81-
aria-invalid="false"
82-
autocomplete="off"
83-
class="theme-input theme-typeahead-input tc-typeahead-typeahead-input"
84-
id="_datasetMetadata_type"
85-
type="text"
86-
value=""
96+
<svg
97+
aria-hidden="true"
98+
class="tc-svg-icon tc-icon theme-svg tc-icon-name-talend-caret-down"
99+
focusable="false"
100+
name="talend-caret-down"
101+
pointer-events="none"
102+
shape-rendering="geometricPrecision"
87103
/>
88104
</div>
89105
</div>
90-
<div
91-
class="icon-cls theme-icon-cls icon-caret theme-icon-caret"
92-
>
93-
<svg
94-
aria-hidden="true"
95-
class="tc-svg-icon tc-icon theme-svg tc-icon-name-talend-caret-down"
96-
focusable="false"
97-
name="talend-caret-down"
98-
pointer-events="none"
99-
shape-rendering="geometricPrecision"
100-
/>
101-
</div>
102106
</div>
103107
</div>
104108
</div>
105109
</div>
106-
</div>
107-
<div
108-
class="theme-stack theme-justify-start theme-align-stretch theme-nowrap theme-column theme-block theme-height-100 theme-noShrink theme-gap-x-XXS theme-gap-y-XXS"
109-
>
110-
<label
111-
class="theme-label"
112-
for="_datasetMetadata_description"
110+
<div
111+
class="theme-stack theme-justify-start theme-align-stretch theme-nowrap theme-column theme-block theme-height-100 theme-noShrink theme-gap-x-XXS theme-gap-y-XXS"
113112
>
114-
Description
115-
</label>
116-
<textarea
117-
aria-invalid="false"
118-
class="theme-textarea"
119-
id="_datasetMetadata_description"
120-
rows="5"
121-
/>
113+
<label
114+
class="theme-label"
115+
for="_datasetMetadata_description"
116+
>
117+
Description
118+
</label>
119+
<textarea
120+
aria-invalid="false"
121+
class="theme-textarea"
122+
id="_datasetMetadata_description"
123+
rows="5"
124+
/>
125+
</div>
122126
</div>
123127
</fieldset>
124128
<div

0 commit comments

Comments
 (0)