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