]> source.dussan.org Git - sonarqube.git/blob
c7616079835fb86bfcabe4b19911a93179eb2de8
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly for build tool cfamily: with branch support 1`] = `
4 <div
5   className="boxed-group-inner"
6 >
7   <div
8     className="flex-columns"
9   >
10     <div
11       className="flex-column-full"
12     >
13       <React.Fragment>
14         <div
15           className="big-spacer-bottom"
16         >
17           <FormattedMessage
18             defaultMessage="onboarding.tutorial.with.gitlab_ci.yml.description"
19             id="onboarding.tutorial.with.gitlab_ci.yml.description"
20             values={
21               Object {
22                 "filename": <React.Fragment>
23                   <code
24                     className="rule"
25                   >
26                     onboarding.tutorial.with.gitlab_ci.yml.filename
27                   </code>
28                   <ClipboardIconButton
29                     className="little-spacer-left"
30                     copyValue="onboarding.tutorial.with.gitlab_ci.yml.filename"
31                   />
32                 </React.Fragment>,
33               }
34             }
35           />
36         </div>
37         <div
38           className="big-spacer-bottom abs-width-600"
39         >
40           <PipeCommand
41             branchesEnabled={true}
42             buildTool="cfamily"
43             projectKey="test"
44           />
45         </div>
46         <p
47           className="little-spacer-bottom"
48         >
49           onboarding.tutorial.with.gitlab_ci.yml.baseconfig
50         </p>
51         <p>
52           onboarding.tutorial.with.gitlab_ci.yml.existing
53         </p>
54       </React.Fragment>
55     </div>
56   </div>
57   <FinishButton
58     onClick={[MockFunction]}
59   />
60 </div>
61 `;
62
63 exports[`should render correctly for build tool cfamily: without branch support 1`] = `
64 <div
65   className="boxed-group-inner"
66 >
67   <div
68     className="flex-columns"
69   >
70     <div
71       className="flex-column-full"
72     >
73       <React.Fragment>
74         <div
75           className="big-spacer-bottom"
76         >
77           <FormattedMessage
78             defaultMessage="onboarding.tutorial.with.gitlab_ci.yml.description"
79             id="onboarding.tutorial.with.gitlab_ci.yml.description"
80             values={
81               Object {
82                 "filename": <React.Fragment>
83                   <code
84                     className="rule"
85                   >
86                     onboarding.tutorial.with.gitlab_ci.yml.filename
87                   </code>
88                   <ClipboardIconButton
89                     className="little-spacer-left"
90                     copyValue="onboarding.tutorial.with.gitlab_ci.yml.filename"
91                   />
92                 </React.Fragment>,
93               }
94             }
95           />
96         </div>
97         <div
98           className="big-spacer-bottom abs-width-600"
99         >
100           <PipeCommand
101             branchesEnabled={false}
102             buildTool="cfamily"
103             projectKey="test"
104           />
105         </div>
106         <p
107           className="little-spacer-bottom"
108         >
109           onboarding.tutorial.with.gitlab_ci.yml.baseconfig.no_branches
110         </p>
111         <p>
112           onboarding.tutorial.with.gitlab_ci.yml.existing
113         </p>
114       </React.Fragment>
115     </div>
116   </div>
117   <FinishButton
118     onClick={[MockFunction]}
119   />
120 </div>
121 `;
122
123 exports[`should render correctly for build tool dotnet: with branch support 1`] = `
124 <div
125   className="boxed-group-inner"
126 >
127   <div
128     className="flex-columns"
129   >
130     <div
131       className="flex-column-full"
132     >
133       <React.Fragment>
134         <div
135           className="big-spacer-bottom"
136         >
137           <FormattedMessage
138             defaultMessage="onboarding.tutorial.with.gitlab_ci.yml.description"
139             id="onboarding.tutorial.with.gitlab_ci.yml.description"
140             values={
141               Object {
142                 "filename": <React.Fragment>
143                   <code
144                     className="rule"
145                   >
146                     onboarding.tutorial.with.gitlab_ci.yml.filename
147                   </code>
148                   <ClipboardIconButton
149                     className="little-spacer-left"
150                     copyValue="onboarding.tutorial.with.gitlab_ci.yml.filename"
151                   />
152                 </React.Fragment>,
153               }
154             }
155           />
156         </div>
157         <div
158           className="big-spacer-bottom abs-width-600"
159         >
160           <PipeCommand
161             branchesEnabled={true}
162             buildTool="dotnet"
163             projectKey="test"
164           />
165         </div>
166         <p
167           className="little-spacer-bottom"
168         >
169           onboarding.tutorial.with.gitlab_ci.yml.baseconfig
170         </p>
171         <p>
172           onboarding.tutorial.with.gitlab_ci.yml.existing
173         </p>
174       </React.Fragment>
175     </div>
176   </div>
177   <FinishButton
178     onClick={[MockFunction]}
179   />
180 </div>
181 `;
182
183 exports[`should render correctly for build tool dotnet: without branch support 1`] = `
184 <div
185   className="boxed-group-inner"
186 >
187   <div
188     className="flex-columns"
189   >
190     <div
191       className="flex-column-full"
192     >
193       <React.Fragment>
194         <div
195           className="big-spacer-bottom"
196         >
197           <FormattedMessage
198             defaultMessage="onboarding.tutorial.with.gitlab_ci.yml.description"
199             id="onboarding.tutorial.with.gitlab_ci.yml.description"
200             values={
201               Object {
202                 "filename": <React.Fragment>
203                   <code
204                     className="rule"
205                   >
206                     onboarding.tutorial.with.gitlab_ci.yml.filename
207                   </code>
208                   <ClipboardIconButton
209                     className="little-spacer-left"
210                     copyValue="onboarding.tutorial.with.gitlab_ci.yml.filename"
211                   />
212                 </React.Fragment>,
213               }
214             }
215           />
216         </div>
217         <div
218           className="big-spacer-bottom abs-width-600"
219         >
220           <PipeCommand
221             branchesEnabled={false}
222             buildTool="dotnet"
223             projectKey="test"
224           />
225         </div>
226         <p
227           className="little-spacer-bottom"
228         >
229           onboarding.tutorial.with.gitlab_ci.yml.baseconfig.no_branches
230         </p>
231         <p>
232           onboarding.tutorial.with.gitlab_ci.yml.existing
233         </p>
234       </React.Fragment>
235     </div>
236   </div>
237   <FinishButton
238     onClick={[MockFunction]}
239   />
240 </div>
241 `;
242
243 exports[`should render correctly for build tool gradle: with branch support 1`] = `
244 <div
245   className="boxed-group-inner"
246 >
247   <div
248     className="flex-columns"
249   >
250     <div
251       className="flex-column-full"
252     >
253       <React.Fragment>
254         <div
255           className="big-spacer-bottom"
256         >
257           <FormattedMessage
258             defaultMessage="onboarding.tutorial.with.gitlab_ci.yml.description"
259             id="onboarding.tutorial.with.gitlab_ci.yml.description"
260             values={
261               Object {
262                 "filename": <React.Fragment>
263                   <code
264                     className="rule"
265                   >
266                     onboarding.tutorial.with.gitlab_ci.yml.filename
267                   </code>
268                   <ClipboardIconButton
269                     className="little-spacer-left"
270                     copyValue="onboarding.tutorial.with.gitlab_ci.yml.filename"
271                   />
272                 </React.Fragment>,
273               }
274             }
275           />
276         </div>
277         <div
278           className="big-spacer-bottom abs-width-600"
279         >
280           <PipeCommand
281             branchesEnabled={true}
282             buildTool="gradle"
283             projectKey="test"
284           />
285         </div>
286         <p
287           className="little-spacer-bottom"
288         >
289           onboarding.tutorial.with.gitlab_ci.yml.baseconfig
290         </p>
291         <p>
292           onboarding.tutorial.with.gitlab_ci.yml.existing
293         </p>
294       </React.Fragment>
295     </div>
296   </div>
297   <FinishButton
298     onClick={[MockFunction]}
299   />
300 </div>
301 `;
302
303 exports[`should render correctly for build tool gradle: without branch support 1`] = `
304 <div
305   className="boxed-group-inner"
306 >
307   <div
308     className="flex-columns"
309   >
310     <div
311       className="flex-column-full"
312     >
313       <React.Fragment>
314         <div
315           className="big-spacer-bottom"
316         >
317           <FormattedMessage
318             defaultMessage="onboarding.tutorial.with.gitlab_ci.yml.description"
319             id="onboarding.tutorial.with.gitlab_ci.yml.description"
320             values={
321               Object {
322                 "filename": <React.Fragment>
323                   <code
324                     className="rule"
325                   >
326                     onboarding.tutorial.with.gitlab_ci.yml.filename
327                   </code>
328                   <ClipboardIconButton
329                     className="little-spacer-left"
330                     copyValue="onboarding.tutorial.with.gitlab_ci.yml.filename"
331                   />
332                 </React.Fragment>,
333               }
334             }
335           />
336         </div>
337         <div
338           className="big-spacer-bottom abs-width-600"
339         >
340           <PipeCommand
341             branchesEnabled={false}
342             buildTool="gradle"
343             projectKey="test"
344           />
345         </div>
346         <p
347           className="little-spacer-bottom"
348         >
349           onboarding.tutorial.with.gitlab_ci.yml.baseconfig.no_branches
350         </p>
351         <p>
352           onboarding.tutorial.with.gitlab_ci.yml.existing
353         </p>
354       </React.Fragment>
355     </div>
356   </div>
357   <FinishButton
358     onClick={[MockFunction]}
359   />
360 </div>
361 `;
362
363 exports[`should render correctly for build tool maven: with branch support 1`] = `
364 <div
365   className="boxed-group-inner"
366 >
367   <div
368     className="flex-columns"
369   >
370     <div
371       className="flex-column-full"
372     >
373       <React.Fragment>
374         <div
375           className="big-spacer-bottom"
376         >
377           <FormattedMessage
378             defaultMessage="onboarding.tutorial.with.gitlab_ci.yml.description"
379             id="onboarding.tutorial.with.gitlab_ci.yml.description"
380             values={
381               Object {
382                 "filename": <React.Fragment>
383                   <code
384                     className="rule"
385                   >
386                     onboarding.tutorial.with.gitlab_ci.yml.filename
387                   </code>
388                   <ClipboardIconButton
389                     className="little-spacer-left"
390                     copyValue="onboarding.tutorial.with.gitlab_ci.yml.filename"
391                   />
392                 </React.Fragment>,
393               }
394             }
395           />
396         </div>
397         <div
398           className="big-spacer-bottom abs-width-600"
399         >
400           <PipeCommand
401             branchesEnabled={true}
402             buildTool="maven"
403             projectKey="test"
404           />
405         </div>
406         <p
407           className="little-spacer-bottom"
408         >
409           onboarding.tutorial.with.gitlab_ci.yml.baseconfig
410         </p>
411         <p>
412           onboarding.tutorial.with.gitlab_ci.yml.existing
413         </p>
414       </React.Fragment>
415     </div>
416   </div>
417   <FinishButton
418     onClick={[MockFunction]}
419   />
420 </div>
421 `;
422
423 exports[`should render correctly for build tool maven: without branch support 1`] = `
424 <div
425   className="boxed-group-inner"
426 >
427   <div
428     className="flex-columns"
429   >
430     <div
431       className="flex-column-full"
432     >
433       <React.Fragment>
434         <div
435           className="big-spacer-bottom"
436         >
437           <FormattedMessage
438             defaultMessage="onboarding.tutorial.with.gitlab_ci.yml.description"
439             id="onboarding.tutorial.with.gitlab_ci.yml.description"
440             values={
441               Object {
442                 "filename": <React.Fragment>
443                   <code
444                     className="rule"
445                   >
446                     onboarding.tutorial.with.gitlab_ci.yml.filename
447                   </code>
448                   <ClipboardIconButton
449                     className="little-spacer-left"
450                     copyValue="onboarding.tutorial.with.gitlab_ci.yml.filename"
451                   />
452                 </React.Fragment>,
453               }
454             }
455           />
456         </div>
457         <div
458           className="big-spacer-bottom abs-width-600"
459         >
460           <PipeCommand
461             branchesEnabled={false}
462             buildTool="maven"
463             projectKey="test"
464           />
465         </div>
466         <p
467           className="little-spacer-bottom"
468         >
469           onboarding.tutorial.with.gitlab_ci.yml.baseconfig.no_branches
470         </p>
471         <p>
472           onboarding.tutorial.with.gitlab_ci.yml.existing
473         </p>
474       </React.Fragment>
475     </div>
476   </div>
477   <FinishButton
478     onClick={[MockFunction]}
479   />
480 </div>
481 `;
482
483 exports[`should render correctly for build tool other: with branch support 1`] = `
484 <div
485   className="boxed-group-inner"
486 >
487   <div
488     className="flex-columns"
489   >
490     <div
491       className="flex-column-full"
492     >
493       <React.Fragment>
494         <div
495           className="big-spacer-bottom"
496         >
497           <FormattedMessage
498             defaultMessage="onboarding.tutorial.with.gitlab_ci.yml.description"
499             id="onboarding.tutorial.with.gitlab_ci.yml.description"
500             values={
501               Object {
502                 "filename": <React.Fragment>
503                   <code
504                     className="rule"
505                   >
506                     onboarding.tutorial.with.gitlab_ci.yml.filename
507                   </code>
508                   <ClipboardIconButton
509                     className="little-spacer-left"
510                     copyValue="onboarding.tutorial.with.gitlab_ci.yml.filename"
511                   />
512                 </React.Fragment>,
513               }
514             }
515           />
516         </div>
517         <div
518           className="big-spacer-bottom abs-width-600"
519         >
520           <PipeCommand
521             branchesEnabled={true}
522             buildTool="other"
523             projectKey="test"
524           />
525         </div>
526         <p
527           className="little-spacer-bottom"
528         >
529           onboarding.tutorial.with.gitlab_ci.yml.baseconfig
530         </p>
531         <p>
532           onboarding.tutorial.with.gitlab_ci.yml.existing
533         </p>
534       </React.Fragment>
535     </div>
536   </div>
537   <FinishButton
538     onClick={[MockFunction]}
539   />
540 </div>
541 `;
542
543 exports[`should render correctly for build tool other: without branch support 1`] = `
544 <div
545   className="boxed-group-inner"
546 >
547   <div
548     className="flex-columns"
549   >
550     <div
551       className="flex-column-full"
552     >
553       <React.Fragment>
554         <div
555           className="big-spacer-bottom"
556         >
557           <FormattedMessage
558             defaultMessage="onboarding.tutorial.with.gitlab_ci.yml.description"
559             id="onboarding.tutorial.with.gitlab_ci.yml.description"
560             values={
561               Object {
562                 "filename": <React.Fragment>
563                   <code
564                     className="rule"
565                   >
566                     onboarding.tutorial.with.gitlab_ci.yml.filename
567                   </code>
568                   <ClipboardIconButton
569                     className="little-spacer-left"
570                     copyValue="onboarding.tutorial.with.gitlab_ci.yml.filename"
571                   />
572                 </React.Fragment>,
573               }
574             }
575           />
576         </div>
577         <div
578           className="big-spacer-bottom abs-width-600"
579         >
580           <PipeCommand
581             branchesEnabled={false}
582             buildTool="other"
583             projectKey="test"
584           />
585         </div>
586         <p
587           className="little-spacer-bottom"
588         >
589           onboarding.tutorial.with.gitlab_ci.yml.baseconfig.no_branches
590         </p>
591         <p>
592           onboarding.tutorial.with.gitlab_ci.yml.existing
593         </p>
594       </React.Fragment>
595     </div>
596   </div>
597   <FinishButton
598     onClick={[MockFunction]}
599   />
600 </div>
601 `;
602
603 exports[`should render correctly: Step wrapper 1`] = `
604 <Step
605   finished={true}
606   onOpen={[MockFunction]}
607   open={true}
608   renderForm={[Function]}
609   stepNumber={3}
610   stepTitle="onboarding.tutorial.with.gitlab_ci.yml.title"
611 />
612 `;
613
614 exports[`should render correctly: initial content 1`] = `
615 <div
616   className="boxed-group-inner"
617 >
618   <div
619     className="flex-columns"
620   >
621     <div
622       className="flex-column-full"
623     />
624   </div>
625   <FinishButton
626     onClick={[MockFunction]}
627   />
628 </div>
629 `;