]> source.dussan.org Git - sonarqube.git/blob
e948f1810c5a3c4c916d57ea4ca2bd0022964cd8
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`smoke test 1`] = `
4 <div
5   className="page page-limited"
6 >
7   <HelmetWrapper
8     defer={true}
9     encodeSpecialCharacters={true}
10     title="organization.edit"
11   />
12   <header
13     className="page-header"
14   >
15     <h1
16       className="page-title"
17     >
18       organization.edit
19     </h1>
20   </header>
21   <div
22     className="boxed-group boxed-group-inner"
23   >
24     <form
25       onSubmit={[Function]}
26     >
27       <div
28         className="form-field"
29       >
30         <label
31           htmlFor="organization-name"
32         >
33           organization.name
34           <em
35             className="mandatory"
36           >
37             *
38           </em>
39         </label>
40         <input
41           className="input-super-large"
42           disabled={false}
43           id="organization-name"
44           maxLength={255}
45           name="name"
46           onChange={[Function]}
47           required={true}
48           type="text"
49           value="Foo"
50         />
51         <div
52           className="form-field-description"
53         >
54           organization.name.description
55         </div>
56       </div>
57       <div
58         className="form-field"
59       >
60         <label
61           htmlFor="organization-avatar"
62         >
63           organization.avatar
64         </label>
65         <input
66           className="input-super-large"
67           disabled={false}
68           id="organization-avatar"
69           maxLength={256}
70           name="avatar"
71           onChange={[Function]}
72           placeholder="onboarding.create_organization.avatar.placeholder"
73           type="text"
74           value=""
75         />
76         <div
77           className="form-field-description"
78         >
79           organization.avatar.description
80         </div>
81         <div
82           className="spacer-top"
83         >
84           <div
85             className="little-spacer-bottom"
86           >
87             organization.avatar.preview
88             :
89           </div>
90           <OrganizationAvatar
91             organization={
92               Object {
93                 "avatar": undefined,
94                 "name": "Foo",
95               }
96             }
97           />
98         </div>
99       </div>
100       <div
101         className="form-field"
102       >
103         <label
104           htmlFor="organization-description"
105         >
106           description
107         </label>
108         <textarea
109           className="input-super-large"
110           disabled={false}
111           id="organization-description"
112           maxLength={256}
113           name="description"
114           onChange={[Function]}
115           rows={3}
116           value=""
117         />
118         <div
119           className="form-field-description"
120         >
121           organization.description.description
122         </div>
123       </div>
124       <div
125         className="form-field"
126       >
127         <label
128           htmlFor="organization-url"
129         >
130           organization.url
131         </label>
132         <input
133           className="input-super-large"
134           disabled={false}
135           id="organization-url"
136           maxLength={256}
137           name="url"
138           onChange={[Function]}
139           type="text"
140           value=""
141         />
142         <div
143           className="form-field-description"
144         >
145           organization.url.description
146         </div>
147       </div>
148       <SubmitButton
149         disabled={false}
150       >
151         save
152       </SubmitButton>
153     </form>
154   </div>
155 </div>
156 `;
157
158 exports[`smoke test 2`] = `
159 <div
160   className="page page-limited"
161 >
162   <HelmetWrapper
163     defer={true}
164     encodeSpecialCharacters={true}
165     title="organization.edit"
166   />
167   <header
168     className="page-header"
169   >
170     <h1
171       className="page-title"
172     >
173       organization.edit
174     </h1>
175   </header>
176   <div
177     className="boxed-group boxed-group-inner"
178   >
179     <form
180       onSubmit={[Function]}
181     >
182       <div
183         className="form-field"
184       >
185         <label
186           htmlFor="organization-name"
187         >
188           organization.name
189           <em
190             className="mandatory"
191           >
192             *
193           </em>
194         </label>
195         <input
196           className="input-super-large"
197           disabled={false}
198           id="organization-name"
199           maxLength={255}
200           name="name"
201           onChange={[Function]}
202           required={true}
203           type="text"
204           value="New Foo"
205         />
206         <div
207           className="form-field-description"
208         >
209           organization.name.description
210         </div>
211       </div>
212       <div
213         className="form-field"
214       >
215         <label
216           htmlFor="organization-avatar"
217         >
218           organization.avatar
219         </label>
220         <input
221           className="input-super-large"
222           disabled={false}
223           id="organization-avatar"
224           maxLength={256}
225           name="avatar"
226           onChange={[Function]}
227           placeholder="onboarding.create_organization.avatar.placeholder"
228           type="text"
229           value="foo-avatar"
230         />
231         <div
232           className="form-field-description"
233         >
234           organization.avatar.description
235         </div>
236         <div
237           className="spacer-top"
238         >
239           <div
240             className="little-spacer-bottom"
241           >
242             organization.avatar.preview
243             :
244           </div>
245           <OrganizationAvatar
246             organization={
247               Object {
248                 "avatar": "foo-avatar-image",
249                 "name": "New Foo",
250               }
251             }
252           />
253         </div>
254       </div>
255       <div
256         className="form-field"
257       >
258         <label
259           htmlFor="organization-description"
260         >
261           description
262         </label>
263         <textarea
264           className="input-super-large"
265           disabled={false}
266           id="organization-description"
267           maxLength={256}
268           name="description"
269           onChange={[Function]}
270           rows={3}
271           value="foo-description"
272         />
273         <div
274           className="form-field-description"
275         >
276           organization.description.description
277         </div>
278       </div>
279       <div
280         className="form-field"
281       >
282         <label
283           htmlFor="organization-url"
284         >
285           organization.url
286         </label>
287         <input
288           className="input-super-large"
289           disabled={false}
290           id="organization-url"
291           maxLength={256}
292           name="url"
293           onChange={[Function]}
294           type="text"
295           value="foo-url"
296         />
297         <div
298           className="form-field-description"
299         >
300           organization.url.description
301         </div>
302       </div>
303       <SubmitButton
304         disabled={false}
305       >
306         save
307       </SubmitButton>
308     </form>
309   </div>
310 </div>
311 `;
312
313 exports[`smoke test 3`] = `
314 <div
315   className="page page-limited"
316 >
317   <HelmetWrapper
318     defer={true}
319     encodeSpecialCharacters={true}
320     title="organization.edit"
321   />
322   <header
323     className="page-header"
324   >
325     <h1
326       className="page-title"
327     >
328       organization.edit
329     </h1>
330   </header>
331   <div
332     className="boxed-group boxed-group-inner"
333   >
334     <form
335       onSubmit={[Function]}
336     >
337       <div
338         className="form-field"
339       >
340         <label
341           htmlFor="organization-name"
342         >
343           organization.name
344           <em
345             className="mandatory"
346           >
347             *
348           </em>
349         </label>
350         <input
351           className="input-super-large"
352           disabled={true}
353           id="organization-name"
354           maxLength={255}
355           name="name"
356           onChange={[Function]}
357           required={true}
358           type="text"
359           value="New Foo"
360         />
361         <div
362           className="form-field-description"
363         >
364           organization.name.description
365         </div>
366       </div>
367       <div
368         className="form-field"
369       >
370         <label
371           htmlFor="organization-avatar"
372         >
373           organization.avatar
374         </label>
375         <input
376           className="input-super-large"
377           disabled={true}
378           id="organization-avatar"
379           maxLength={256}
380           name="avatar"
381           onChange={[Function]}
382           placeholder="onboarding.create_organization.avatar.placeholder"
383           type="text"
384           value="foo-avatar"
385         />
386         <div
387           className="form-field-description"
388         >
389           organization.avatar.description
390         </div>
391         <div
392           className="spacer-top"
393         >
394           <div
395             className="little-spacer-bottom"
396           >
397             organization.avatar.preview
398             :
399           </div>
400           <OrganizationAvatar
401             organization={
402               Object {
403                 "avatar": "foo-avatar-image",
404                 "name": "New Foo",
405               }
406             }
407           />
408         </div>
409       </div>
410       <div
411         className="form-field"
412       >
413         <label
414           htmlFor="organization-description"
415         >
416           description
417         </label>
418         <textarea
419           className="input-super-large"
420           disabled={true}
421           id="organization-description"
422           maxLength={256}
423           name="description"
424           onChange={[Function]}
425           rows={3}
426           value="foo-description"
427         />
428         <div
429           className="form-field-description"
430         >
431           organization.description.description
432         </div>
433       </div>
434       <div
435         className="form-field"
436       >
437         <label
438           htmlFor="organization-url"
439         >
440           organization.url
441         </label>
442         <input
443           className="input-super-large"
444           disabled={true}
445           id="organization-url"
446           maxLength={256}
447           name="url"
448           onChange={[Function]}
449           type="text"
450           value="foo-url"
451         />
452         <div
453           className="form-field-description"
454         >
455           organization.url.description
456         </div>
457       </div>
458       <SubmitButton
459         disabled={true}
460       >
461         save
462       </SubmitButton>
463       <i
464         className="spinner spacer-left"
465       />
466     </form>
467   </div>
468 </div>
469 `;