]> source.dussan.org Git - sonarqube.git/blob
ccc7252b6919d88924a9adbc789c1019bd795762
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: default 1`] = `
4 <div
5   className="modal-field"
6 >
7   <label
8     className="display-flex-center"
9     htmlFor="key"
10   >
11     settings.almintegration.form.key
12     <em
13       className="mandatory"
14     >
15       *
16     </em>
17   </label>
18   <input
19     className="input-super-large"
20     id="key"
21     maxLength={40}
22     name="key"
23     onChange={[Function]}
24     size={50}
25     type="text"
26     value="key"
27   />
28 </div>
29 `;
30
31 exports[`should render correctly: optional 1`] = `
32 <div
33   className="modal-field"
34 >
35   <label
36     className="display-flex-center"
37     htmlFor="key"
38   >
39     settings.almintegration.form.key
40   </label>
41   <input
42     className="input-super-large"
43     id="key"
44     maxLength={40}
45     name="key"
46     onChange={[Function]}
47     size={50}
48     type="text"
49     value="key"
50   />
51 </div>
52 `;
53
54 exports[`should render correctly: secret 1`] = `
55 <div
56   className="modal-field"
57 >
58   <label
59     className="display-flex-center"
60     htmlFor="key"
61   >
62     settings.almintegration.form.key
63     <em
64       className="mandatory"
65     >
66       *
67     </em>
68   </label>
69   <div>
70     <p>
71       settings.almintegration.form.secret_field
72     </p>
73     <ButtonLink
74       onClick={[Function]}
75     >
76       settings.almintegration.form.update_secret_field
77     </ButtonLink>
78   </div>
79 </div>
80 `;
81
82 exports[`should render correctly: textarea 1`] = `
83 <div
84   className="modal-field"
85 >
86   <label
87     className="display-flex-center"
88     htmlFor="key"
89   >
90     settings.almintegration.form.key
91     <em
92       className="mandatory"
93     >
94       *
95     </em>
96   </label>
97   <textarea
98     className="settings-large-input"
99     id="key"
100     maxLength={40}
101     onChange={[Function]}
102     required={true}
103     rows={5}
104     value="key"
105   />
106 </div>
107 `;
108
109 exports[`should render correctly: with help 1`] = `
110 <div
111   className="modal-field"
112 >
113   <label
114     className="display-flex-center"
115     htmlFor="key"
116   >
117     settings.almintegration.form.key
118     <em
119       className="mandatory"
120     >
121       *
122     </em>
123     <HelpTooltip
124       className="spacer-left"
125       overlay="help"
126       placement="right"
127     />
128   </label>
129   <input
130     className="input-super-large"
131     id="key"
132     maxLength={40}
133     name="key"
134     onChange={[Function]}
135     size={50}
136     type="text"
137     value="key"
138   />
139 </div>
140 `;