]> source.dussan.org Git - sonarqube.git/blob
a52bf393eda00cc0c6c23f9ad971e1a17c450b57
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: default 1`] = `
4 <Fragment>
5   <li>
6     <FormattedMessage
7       defaultMessage="onboarding.tutorial.with.jenkins.webhook.step1.sentence"
8       id="onboarding.tutorial.with.jenkins.webhook.step1.sentence"
9       values={
10         {
11           "link": "onboarding.tutorial.with.jenkins.webhook.gitlab.step1.link",
12         }
13       }
14     />
15     <ul
16       className="list-styled"
17     >
18       <li
19         className="abs-width-600"
20       >
21         <p>
22           <LabelActionPair
23             translationKey="onboarding.tutorial.with.jenkins.webhook.gitlab.step1.url_with_branches"
24           />
25         </p>
26         <CodeSnippet
27           isOneLine={true}
28           snippet="***JENKINS_SERVER_URL***/gitlab-webhook/post"
29         />
30       </li>
31     </ul>
32   </li>
33   <li>
34     <SentenceWithHighlights
35       highlightKeys={
36         [
37           "trigger",
38         ]
39       }
40       translationKey="onboarding.tutorial.with.jenkins.webhook.gitlab.step2"
41     />
42     <ul
43       className="list-styled"
44     >
45       <li>
46         <strong>
47           onboarding.tutorial.with.jenkins.webhook.gitlab.step2.repo
48         </strong>
49       </li>
50       <li>
51         <strong>
52           onboarding.tutorial.with.jenkins.webhook.gitlab.step2.mr
53         </strong>
54       </li>
55     </ul>
56   </li>
57   <li>
58     <SentenceWithHighlights
59       highlightKeys={
60         [
61           "add_webhook",
62         ]
63       }
64       translationKey="onboarding.tutorial.with.jenkins.webhook.gitlab.step3"
65     />
66   </li>
67 </Fragment>
68 `;
69
70 exports[`should render correctly: with branches disabled 1`] = `
71 <Fragment>
72   <li>
73     <FormattedMessage
74       defaultMessage="onboarding.tutorial.with.jenkins.webhook.step1.sentence"
75       id="onboarding.tutorial.with.jenkins.webhook.step1.sentence"
76       values={
77         {
78           "link": "onboarding.tutorial.with.jenkins.webhook.gitlab.step1.link",
79         }
80       }
81     />
82     <ul
83       className="list-styled"
84     >
85       <li>
86         <LabelActionPair
87           translationKey="onboarding.tutorial.with.jenkins.webhook.gitlab.step1.url_no_branches"
88         />
89       </li>
90       <li>
91         <LabelActionPair
92           translationKey="onboarding.tutorial.with.jenkins.webhook.gitlab.step1.secret_token"
93         />
94       </li>
95     </ul>
96   </li>
97   <li>
98     <SentenceWithHighlights
99       highlightKeys={
100         [
101           "trigger",
102         ]
103       }
104       translationKey="onboarding.tutorial.with.jenkins.webhook.gitlab.step2"
105     />
106     <ul
107       className="list-styled"
108     >
109       <li>
110         <strong>
111           onboarding.tutorial.with.jenkins.webhook.gitlab.step2.repo
112         </strong>
113       </li>
114     </ul>
115   </li>
116   <li>
117     <SentenceWithHighlights
118       highlightKeys={
119         [
120           "add_webhook",
121         ]
122       }
123       translationKey="onboarding.tutorial.with.jenkins.webhook.gitlab.step3"
124     />
125   </li>
126 </Fragment>
127 `;