]> source.dussan.org Git - sonarqube.git/blob
0e4c0c77b8a2e006139f4bbd3df2f7e9561564c4
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly for azure 1`] = `
4 <Fragment>
5   <h1
6     className="spacer-top huge-spacer-bottom"
7   >
8     onboarding.tutorial.choose_method
9   </h1>
10   <div
11     className="tutorial-selection"
12   >
13     <p
14       className="big-spacer-bottom"
15     >
16       onboarding.tutorial.choose_method.devops_platform.description
17     </p>
18     <div
19       className="display-flex-start display-flex-wrap"
20     >
21       <button
22         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-azure-pipelines"
23         onClick={[Function]}
24         type="button"
25       >
26         <img
27           alt=""
28           height={60}
29           src="/images/tutorials/azure-pipelines.svg"
30         />
31         <div
32           className="medium big-spacer-top"
33         >
34           onboarding.tutorial.choose_method.azure-pipelines
35         </div>
36       </button>
37       <button
38         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-other-ci"
39         onClick={[Function]}
40         type="button"
41       >
42         <EllipsisIcon
43           size={60}
44         />
45         <div
46           className="medium big-spacer-top"
47         >
48           onboarding.tutorial.choose_method.other-ci
49         </div>
50       </button>
51     </div>
52     <p
53       className="big-spacer-bottom spacer-top"
54     >
55       onboarding.tutorial.choose_method.locally.description
56     </p>
57     <div>
58       <button
59         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-manual"
60         onClick={[Function]}
61         type="button"
62       >
63         <img
64           alt=""
65           height={60}
66           src="/images/tutorials/manual.svg"
67         />
68         <div
69           className="medium big-spacer-top"
70         >
71           onboarding.tutorial.choose_method.manual
72         </div>
73       </button>
74     </div>
75   </div>
76 </Fragment>
77 `;
78
79 exports[`should render correctly for bitbucket server 1`] = `
80 <Fragment>
81   <h1
82     className="spacer-top huge-spacer-bottom"
83   >
84     onboarding.tutorial.choose_method
85   </h1>
86   <div
87     className="tutorial-selection"
88   >
89     <p
90       className="big-spacer-bottom"
91     >
92       onboarding.tutorial.choose_method.devops_platform.description
93     </p>
94     <div
95       className="display-flex-start display-flex-wrap"
96     >
97       <button
98         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-jenkins"
99         onClick={[Function]}
100         type="button"
101       >
102         <img
103           alt=""
104           height={60}
105           src="/images/tutorials/jenkins.svg"
106         />
107         <div
108           className="medium big-spacer-top"
109         >
110           onboarding.tutorial.choose_method.jenkins
111         </div>
112       </button>
113       <button
114         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-other-ci"
115         onClick={[Function]}
116         type="button"
117       >
118         <EllipsisIcon
119           size={60}
120         />
121         <div
122           className="medium big-spacer-top"
123         >
124           onboarding.tutorial.choose_method.other-ci
125         </div>
126       </button>
127     </div>
128     <p
129       className="big-spacer-bottom spacer-top"
130     >
131       onboarding.tutorial.choose_method.locally.description
132     </p>
133     <div>
134       <button
135         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-manual"
136         onClick={[Function]}
137         type="button"
138       >
139         <img
140           alt=""
141           height={60}
142           src="/images/tutorials/manual.svg"
143         />
144         <div
145           className="medium big-spacer-top"
146         >
147           onboarding.tutorial.choose_method.manual
148         </div>
149       </button>
150     </div>
151   </div>
152 </Fragment>
153 `;
154
155 exports[`should render correctly for github 1`] = `
156 <Fragment>
157   <h1
158     className="spacer-top huge-spacer-bottom"
159   >
160     onboarding.tutorial.choose_method
161   </h1>
162   <div
163     className="tutorial-selection"
164   >
165     <p
166       className="big-spacer-bottom"
167     >
168       onboarding.tutorial.choose_method.devops_platform.description
169     </p>
170     <div
171       className="display-flex-start display-flex-wrap"
172     >
173       <button
174         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-jenkins"
175         onClick={[Function]}
176         type="button"
177       >
178         <img
179           alt=""
180           height={60}
181           src="/images/tutorials/jenkins.svg"
182         />
183         <div
184           className="medium big-spacer-top"
185         >
186           onboarding.tutorial.choose_method.jenkins
187         </div>
188       </button>
189       <button
190         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-github-actions"
191         onClick={[Function]}
192         type="button"
193       >
194         <img
195           alt=""
196           className="spacer-bottom spacer-top"
197           height={46}
198           src="/images/tutorials/github-actions.svg"
199         />
200         <div
201           className="medium big-spacer-top"
202         >
203           onboarding.tutorial.choose_method.github-actions
204         </div>
205       </button>
206       <button
207         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-azure-pipelines"
208         onClick={[Function]}
209         type="button"
210       >
211         <img
212           alt=""
213           height={60}
214           src="/images/tutorials/azure-pipelines.svg"
215         />
216         <div
217           className="medium big-spacer-top"
218         >
219           onboarding.tutorial.choose_method.azure-pipelines
220         </div>
221       </button>
222       <button
223         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-other-ci"
224         onClick={[Function]}
225         type="button"
226       >
227         <EllipsisIcon
228           size={60}
229         />
230         <div
231           className="medium big-spacer-top"
232         >
233           onboarding.tutorial.choose_method.other-ci
234         </div>
235       </button>
236     </div>
237     <p
238       className="big-spacer-bottom spacer-top"
239     >
240       onboarding.tutorial.choose_method.locally.description
241     </p>
242     <div>
243       <button
244         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-manual"
245         onClick={[Function]}
246         type="button"
247       >
248         <img
249           alt=""
250           height={60}
251           src="/images/tutorials/manual.svg"
252         />
253         <div
254           className="medium big-spacer-top"
255         >
256           onboarding.tutorial.choose_method.manual
257         </div>
258       </button>
259     </div>
260   </div>
261 </Fragment>
262 `;
263
264 exports[`should render correctly for gitlab 1`] = `
265 <Fragment>
266   <h1
267     className="spacer-top huge-spacer-bottom"
268   >
269     onboarding.tutorial.choose_method
270   </h1>
271   <div
272     className="tutorial-selection"
273   >
274     <p
275       className="big-spacer-bottom"
276     >
277       onboarding.tutorial.choose_method.devops_platform.description
278     </p>
279     <div
280       className="display-flex-start display-flex-wrap"
281     >
282       <button
283         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-jenkins"
284         onClick={[Function]}
285         type="button"
286       >
287         <img
288           alt=""
289           height={60}
290           src="/images/tutorials/jenkins.svg"
291         />
292         <div
293           className="medium big-spacer-top"
294         >
295           onboarding.tutorial.choose_method.jenkins
296         </div>
297       </button>
298       <button
299         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-gitlab-ci"
300         onClick={[Function]}
301         type="button"
302       >
303         <img
304           alt=""
305           height={60}
306           src="/images/alm/gitlab.svg"
307         />
308         <div
309           className="medium big-spacer-top"
310         >
311           onboarding.tutorial.choose_method.gitlab-ci
312         </div>
313       </button>
314       <button
315         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-other-ci"
316         onClick={[Function]}
317         type="button"
318       >
319         <EllipsisIcon
320           size={60}
321         />
322         <div
323           className="medium big-spacer-top"
324         >
325           onboarding.tutorial.choose_method.other-ci
326         </div>
327       </button>
328     </div>
329     <p
330       className="big-spacer-bottom spacer-top"
331     >
332       onboarding.tutorial.choose_method.locally.description
333     </p>
334     <div>
335       <button
336         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-manual"
337         onClick={[Function]}
338         type="button"
339       >
340         <img
341           alt=""
342           height={60}
343           src="/images/tutorials/manual.svg"
344         />
345         <div
346           className="medium big-spacer-top"
347         >
348           onboarding.tutorial.choose_method.manual
349         </div>
350       </button>
351     </div>
352   </div>
353 </Fragment>
354 `;
355
356 exports[`should render correctly: azure pipelines tutorial 1`] = `
357 <Fragment>
358   <AzurePipelinesTutorial
359     alm="github"
360     baseUrl="http://localhost:9000"
361     component={
362       Object {
363         "breadcrumbs": Array [],
364         "key": "my-project",
365         "name": "MyProject",
366         "qualifier": "TRK",
367         "qualityGate": Object {
368           "isDefault": true,
369           "key": "30",
370           "name": "Sonar way",
371         },
372         "qualityProfiles": Array [
373           Object {
374             "deleted": false,
375             "key": "my-qp",
376             "language": "ts",
377             "name": "Sonar way",
378           },
379         ],
380         "tags": Array [],
381       }
382     }
383     currentUser={
384       Object {
385         "groups": Array [],
386         "isLoggedIn": true,
387         "login": "luke",
388         "name": "Skywalker",
389         "scmAccounts": Array [],
390       }
391     }
392   />
393 </Fragment>
394 `;
395
396 exports[`should render correctly: github actions tutorial 1`] = `
397 <Fragment>
398   <GitHubActionTutorial
399     almBinding={
400       Object {
401         "alm": "github",
402         "key": "key",
403       }
404     }
405     baseUrl="http://localhost:9000"
406     component={
407       Object {
408         "breadcrumbs": Array [],
409         "key": "my-project",
410         "name": "MyProject",
411         "qualifier": "TRK",
412         "qualityGate": Object {
413           "isDefault": true,
414           "key": "30",
415           "name": "Sonar way",
416         },
417         "qualityProfiles": Array [
418           Object {
419             "deleted": false,
420             "key": "my-qp",
421             "language": "ts",
422             "name": "Sonar way",
423           },
424         ],
425         "tags": Array [],
426       }
427     }
428     currentUser={
429       Object {
430         "groups": Array [],
431         "isLoggedIn": true,
432         "login": "luke",
433         "name": "Skywalker",
434         "scmAccounts": Array [],
435       }
436     }
437     projectBinding={
438       Object {
439         "alm": "github",
440         "key": "foo",
441         "monorepo": true,
442         "repository": "PROJECT_KEY",
443       }
444     }
445   />
446 </Fragment>
447 `;
448
449 exports[`should render correctly: gitlab tutorial 1`] = `
450 <Fragment>
451   <GitLabCITutorial
452     baseUrl="http://localhost:9000"
453     component={
454       Object {
455         "breadcrumbs": Array [],
456         "key": "my-project",
457         "name": "MyProject",
458         "qualifier": "TRK",
459         "qualityGate": Object {
460           "isDefault": true,
461           "key": "30",
462           "name": "Sonar way",
463         },
464         "qualityProfiles": Array [
465           Object {
466             "deleted": false,
467             "key": "my-qp",
468             "language": "ts",
469             "name": "Sonar way",
470           },
471         ],
472         "tags": Array [],
473       }
474     }
475     currentUser={
476       Object {
477         "groups": Array [],
478         "isLoggedIn": true,
479         "login": "luke",
480         "name": "Skywalker",
481         "scmAccounts": Array [],
482       }
483     }
484   />
485 </Fragment>
486 `;
487
488 exports[`should render correctly: jenkins tutorial 1`] = `
489 <Fragment>
490   <withAppStateContext(JenkinsTutorial)
491     almBinding={
492       Object {
493         "alm": "github",
494         "key": "key",
495       }
496     }
497     baseUrl="http://localhost:9000"
498     component={
499       Object {
500         "breadcrumbs": Array [],
501         "key": "my-project",
502         "name": "MyProject",
503         "qualifier": "TRK",
504         "qualityGate": Object {
505           "isDefault": true,
506           "key": "30",
507           "name": "Sonar way",
508         },
509         "qualityProfiles": Array [
510           Object {
511             "deleted": false,
512             "key": "my-qp",
513             "language": "ts",
514             "name": "Sonar way",
515           },
516         ],
517         "tags": Array [],
518       }
519     }
520     projectBinding={
521       Object {
522         "alm": "bitbucket",
523         "key": "foo",
524         "monorepo": true,
525         "repository": "PROJECT_KEY",
526         "slug": "repo-slug",
527       }
528     }
529   />
530 </Fragment>
531 `;
532
533 exports[`should render correctly: loading 1`] = `
534 <i
535   className="spinner"
536 />
537 `;
538
539 exports[`should render correctly: manual tutorial 1`] = `
540 <Fragment>
541   <ManualTutorial
542     component={
543       Object {
544         "breadcrumbs": Array [],
545         "key": "my-project",
546         "name": "MyProject",
547         "qualifier": "TRK",
548         "qualityGate": Object {
549           "isDefault": true,
550           "key": "30",
551           "name": "Sonar way",
552         },
553         "qualityProfiles": Array [
554           Object {
555             "deleted": false,
556             "key": "my-qp",
557             "language": "ts",
558             "name": "Sonar way",
559           },
560         ],
561         "tags": Array [],
562       }
563     }
564     currentUser={
565       Object {
566         "groups": Array [],
567         "isLoggedIn": true,
568         "login": "luke",
569         "name": "Skywalker",
570         "scmAccounts": Array [],
571       }
572     }
573   />
574 </Fragment>
575 `;
576
577 exports[`should render correctly: selection 1`] = `
578 <Fragment>
579   <h1
580     className="spacer-top huge-spacer-bottom"
581   >
582     onboarding.tutorial.choose_method
583   </h1>
584   <div
585     className="tutorial-selection"
586   >
587     <p
588       className="big-spacer-bottom"
589     >
590       onboarding.tutorial.choose_method.devops_platform.description
591     </p>
592     <div
593       className="display-flex-start display-flex-wrap"
594     >
595       <button
596         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-jenkins"
597         onClick={[Function]}
598         type="button"
599       >
600         <img
601           alt=""
602           height={60}
603           src="/images/tutorials/jenkins.svg"
604         />
605         <div
606           className="medium big-spacer-top"
607         >
608           onboarding.tutorial.choose_method.jenkins
609         </div>
610       </button>
611       <button
612         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-github-actions"
613         onClick={[Function]}
614         type="button"
615       >
616         <img
617           alt=""
618           className="spacer-bottom spacer-top"
619           height={46}
620           src="/images/tutorials/github-actions.svg"
621         />
622         <div
623           className="medium big-spacer-top"
624         >
625           onboarding.tutorial.choose_method.github-actions
626         </div>
627       </button>
628       <button
629         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-bitbucket-pipelines"
630         onClick={[Function]}
631         type="button"
632       >
633         <img
634           alt=""
635           height={60}
636           src="/images/alm/bitbucket.svg"
637         />
638         <div
639           className="medium big-spacer-top"
640         >
641           onboarding.tutorial.choose_method.bitbucket-pipelines
642         </div>
643       </button>
644       <button
645         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-gitlab-ci"
646         onClick={[Function]}
647         type="button"
648       >
649         <img
650           alt=""
651           height={60}
652           src="/images/alm/gitlab.svg"
653         />
654         <div
655           className="medium big-spacer-top"
656         >
657           onboarding.tutorial.choose_method.gitlab-ci
658         </div>
659       </button>
660       <button
661         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-azure-pipelines"
662         onClick={[Function]}
663         type="button"
664       >
665         <img
666           alt=""
667           height={60}
668           src="/images/tutorials/azure-pipelines.svg"
669         />
670         <div
671           className="medium big-spacer-top"
672         >
673           onboarding.tutorial.choose_method.azure-pipelines
674         </div>
675       </button>
676       <button
677         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-other-ci"
678         onClick={[Function]}
679         type="button"
680       >
681         <EllipsisIcon
682           size={60}
683         />
684         <div
685           className="medium big-spacer-top"
686         >
687           onboarding.tutorial.choose_method.other-ci
688         </div>
689       </button>
690     </div>
691     <p
692       className="big-spacer-bottom spacer-top"
693     >
694       onboarding.tutorial.choose_method.locally.description
695     </p>
696     <div>
697       <button
698         className="button button-huge display-flex-column big-spacer-right big-spacer-bottom tutorial-mode-manual"
699         onClick={[Function]}
700         type="button"
701       >
702         <img
703           alt=""
704           height={60}
705           src="/images/tutorials/manual.svg"
706         />
707         <div
708           className="medium big-spacer-top"
709         >
710           onboarding.tutorial.choose_method.manual
711         </div>
712       </button>
713     </div>
714   </div>
715 </Fragment>
716 `;