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