]> source.dussan.org Git - sonarqube.git/blob
73ae3896df482e87a300d85daeb36900f2a81422
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`generates token 1`] = `
4 <TokenStep
5   onContinue={[Function]}
6   open={true}
7   stepNumber={1}
8 >
9   <Step
10     open={true}
11     renderForm={[Function]}
12     renderResult={[Function]}
13     stepNumber={1}
14     stepTitle="onboarding.token.header"
15   >
16     <div
17       className="boxed-group onboarding-step onboarding-step-open"
18     >
19       <div
20         className="onboarding-step-number"
21       >
22         1
23       </div>
24       <div
25         className="boxed-group-header"
26       >
27         <h2>
28           onboarding.token.header
29         </h2>
30       </div>
31       <div
32         className="boxed-group-inner"
33       >
34         <div
35           className="big-spacer-bottom width-50"
36         >
37           onboarding.token.text
38         </div>
39         <form
40           onSubmit={[Function]}
41         >
42           <input
43             autoFocus={true}
44             className="input-large spacer-right"
45             onChange={[Function]}
46             placeholder="onboarding.token.placeholder"
47             required={true}
48             type="text"
49             value=""
50           />
51           <button>
52             onboarding.token.generate
53           </button>
54         </form>
55       </div>
56     </div>
57   </Step>
58 </TokenStep>
59 `;
60
61 exports[`generates token 2`] = `
62 <TokenStep
63   onContinue={[Function]}
64   open={true}
65   stepNumber={1}
66 >
67   <Step
68     open={true}
69     renderForm={[Function]}
70     renderResult={[Function]}
71     stepNumber={1}
72     stepTitle="onboarding.token.header"
73   >
74     <div
75       className="boxed-group onboarding-step onboarding-step-open"
76     >
77       <div
78         className="onboarding-step-number"
79       >
80         1
81       </div>
82       <div
83         className="boxed-group-header"
84       >
85         <h2>
86           onboarding.token.header
87         </h2>
88       </div>
89       <div
90         className="boxed-group-inner"
91       >
92         <div
93           className="big-spacer-bottom width-50"
94         >
95           onboarding.token.text
96         </div>
97         <form
98           onSubmit={[Function]}
99         >
100           <input
101             autoFocus={true}
102             className="input-large spacer-right"
103             onChange={[Function]}
104             placeholder="onboarding.token.placeholder"
105             required={true}
106             type="text"
107             value="my token"
108           />
109           <i
110             className="spinner"
111           />
112         </form>
113       </div>
114     </div>
115   </Step>
116 </TokenStep>
117 `;
118
119 exports[`generates token 3`] = `
120 <TokenStep
121   onContinue={[Function]}
122   open={true}
123   stepNumber={1}
124 >
125   <Step
126     open={true}
127     renderForm={[Function]}
128     renderResult={[Function]}
129     stepNumber={1}
130     stepTitle="onboarding.token.header"
131   >
132     <div
133       className="boxed-group onboarding-step onboarding-step-open"
134     >
135       <div
136         className="onboarding-step-number"
137       >
138         1
139       </div>
140       <div
141         className="boxed-group-header"
142       >
143         <h2>
144           onboarding.token.header
145         </h2>
146       </div>
147       <div
148         className="boxed-group-inner"
149       >
150         <div
151           className="big-spacer-bottom width-50"
152         >
153           onboarding.token.text
154         </div>
155         <form
156           onSubmit={[Function]}
157         >
158           my token
159           : 
160           <span
161             className="monospaced spacer-right"
162           >
163             abcd1234
164           </span>
165           <button
166             className="button-clean"
167             onClick={[Function]}
168           >
169             <i
170               className="icon-delete"
171             />
172           </button>
173         </form>
174         <div
175           className="big-spacer-top"
176         >
177           <button
178             className="js-continue"
179             onClick={[Function]}
180           >
181             continue
182           </button>
183         </div>
184       </div>
185     </div>
186   </Step>
187 </TokenStep>
188 `;
189
190 exports[`revokes token 1`] = `
191 <TokenStep
192   onContinue={[Function]}
193   open={true}
194   stepNumber={1}
195 >
196   <Step
197     open={true}
198     renderForm={[Function]}
199     renderResult={[Function]}
200     stepNumber={1}
201     stepTitle="onboarding.token.header"
202   >
203     <div
204       className="boxed-group onboarding-step onboarding-step-open"
205     >
206       <div
207         className="onboarding-step-number"
208       >
209         1
210       </div>
211       <div
212         className="boxed-group-header"
213       >
214         <h2>
215           onboarding.token.header
216         </h2>
217       </div>
218       <div
219         className="boxed-group-inner"
220       >
221         <div
222           className="big-spacer-bottom width-50"
223         >
224           onboarding.token.text
225         </div>
226         <form
227           onSubmit={[Function]}
228         >
229           my token
230           : 
231           <span
232             className="monospaced spacer-right"
233           >
234             abcd1234
235           </span>
236           <button
237             className="button-clean"
238             onClick={[Function]}
239           >
240             <i
241               className="icon-delete"
242             />
243           </button>
244         </form>
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   </Step>
258 </TokenStep>
259 `;
260
261 exports[`revokes token 2`] = `
262 <TokenStep
263   onContinue={[Function]}
264   open={true}
265   stepNumber={1}
266 >
267   <Step
268     open={true}
269     renderForm={[Function]}
270     renderResult={[Function]}
271     stepNumber={1}
272     stepTitle="onboarding.token.header"
273   >
274     <div
275       className="boxed-group onboarding-step onboarding-step-open"
276     >
277       <div
278         className="onboarding-step-number"
279       >
280         1
281       </div>
282       <div
283         className="boxed-group-header"
284       >
285         <h2>
286           onboarding.token.header
287         </h2>
288       </div>
289       <div
290         className="boxed-group-inner"
291       >
292         <div
293           className="big-spacer-bottom width-50"
294         >
295           onboarding.token.text
296         </div>
297         <form
298           onSubmit={[Function]}
299         >
300           my token
301           : 
302           <span
303             className="monospaced spacer-right"
304           >
305             abcd1234
306           </span>
307           <i
308             className="spinner"
309           />
310         </form>
311         <div
312           className="big-spacer-top"
313         >
314           <button
315             className="js-continue"
316             onClick={[Function]}
317           >
318             continue
319           </button>
320         </div>
321       </div>
322     </div>
323   </Step>
324 </TokenStep>
325 `;
326
327 exports[`revokes token 3`] = `
328 <TokenStep
329   onContinue={[Function]}
330   open={true}
331   stepNumber={1}
332 >
333   <Step
334     open={true}
335     renderForm={[Function]}
336     renderResult={[Function]}
337     stepNumber={1}
338     stepTitle="onboarding.token.header"
339   >
340     <div
341       className="boxed-group onboarding-step onboarding-step-open"
342     >
343       <div
344         className="onboarding-step-number"
345       >
346         1
347       </div>
348       <div
349         className="boxed-group-header"
350       >
351         <h2>
352           onboarding.token.header
353         </h2>
354       </div>
355       <div
356         className="boxed-group-inner"
357       >
358         <div
359           className="big-spacer-bottom width-50"
360         >
361           onboarding.token.text
362         </div>
363         <form
364           onSubmit={[Function]}
365         >
366           <input
367             autoFocus={true}
368             className="input-large spacer-right"
369             onChange={[Function]}
370             placeholder="onboarding.token.placeholder"
371             required={true}
372             type="text"
373             value=""
374           />
375           <button>
376             onboarding.token.generate
377           </button>
378         </form>
379       </div>
380     </div>
381   </Step>
382 </TokenStep>
383 `;