]> source.dussan.org Git - sonarqube.git/blob
a8ee7b0ea5b50c0d0daf3686324ebf2e1a4fc8be
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 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": <ForwardRef(Link)
12             target="_blank"
13             to="http://github.enterprise.com/PROJECT_KEY/settings/hooks"
14           >
15             onboarding.tutorial.with.jenkins.webhook.github.step1.link
16           </ForwardRef(Link)>,
17         }
18       }
19     />
20     <ul
21       className="list-styled"
22     >
23       <li
24         className="abs-width-600"
25       >
26         <p>
27           <LabelActionPair
28             translationKey="onboarding.tutorial.with.jenkins.webhook.github.step1.url"
29           />
30         </p>
31         <CodeSnippet
32           isOneLine={true}
33           snippet="***JENKINS_SERVER_URL***/github-webhook/"
34         />
35       </li>
36     </ul>
37   </li>
38   <li>
39     <SentenceWithHighlights
40       highlightKeys={
41         [
42           "events",
43           "option",
44         ]
45       }
46       translationKey="onboarding.tutorial.with.jenkins.webhook.github.step2"
47     />
48     <ul
49       className="list-styled"
50     >
51       <li>
52         <strong>
53           onboarding.tutorial.with.jenkins.webhook.github.step2.repo
54         </strong>
55       </li>
56       <li>
57         <strong>
58           onboarding.tutorial.with.jenkins.webhook.github.step2.pr
59         </strong>
60       </li>
61     </ul>
62   </li>
63   <li>
64     <SentenceWithHighlights
65       highlightKeys={
66         [
67           "add_webhook",
68         ]
69       }
70       translationKey="onboarding.tutorial.with.jenkins.webhook.github.step3"
71     />
72   </li>
73 </Fragment>
74 `;
75
76 exports[`should render correctly: with branches disabled 1`] = `
77 <Fragment>
78   <li>
79     <FormattedMessage
80       defaultMessage="onboarding.tutorial.with.jenkins.webhook.step1.sentence"
81       id="onboarding.tutorial.with.jenkins.webhook.step1.sentence"
82       values={
83         {
84           "link": <ForwardRef(Link)
85             target="_blank"
86             to="http://github.enterprise.com/PROJECT_KEY/settings/hooks"
87           >
88             onboarding.tutorial.with.jenkins.webhook.github.step1.link
89           </ForwardRef(Link)>,
90         }
91       }
92     />
93     <ul
94       className="list-styled"
95     >
96       <li
97         className="abs-width-600"
98       >
99         <p>
100           <LabelActionPair
101             translationKey="onboarding.tutorial.with.jenkins.webhook.github.step1.url"
102           />
103         </p>
104         <CodeSnippet
105           isOneLine={true}
106           snippet="***JENKINS_SERVER_URL***/job/***JENKINS_JOB_NAME***/build?token=***JENKINS_BUILD_TRIGGER_TOKEN***"
107         />
108       </li>
109     </ul>
110   </li>
111   <li>
112     <SentenceWithHighlights
113       highlightKeys={
114         [
115           "events",
116           "option",
117         ]
118       }
119       translationKey="onboarding.tutorial.with.jenkins.webhook.github.step2"
120     />
121     <ul
122       className="list-styled"
123     >
124       <li>
125         <strong>
126           onboarding.tutorial.with.jenkins.webhook.github.step2.repo
127         </strong>
128       </li>
129     </ul>
130   </li>
131   <li>
132     <SentenceWithHighlights
133       highlightKeys={
134         [
135           "add_webhook",
136         ]
137       }
138       translationKey="onboarding.tutorial.with.jenkins.webhook.github.step3"
139     />
140   </li>
141 </Fragment>
142 `;
143
144 exports[`should render correctly: with no alm binding 1`] = `
145 <Fragment>
146   <li>
147     <FormattedMessage
148       defaultMessage="onboarding.tutorial.with.jenkins.webhook.step1.sentence"
149       id="onboarding.tutorial.with.jenkins.webhook.step1.sentence"
150       values={
151         {
152           "link": <strong>
153             onboarding.tutorial.with.jenkins.webhook.github.step1.link
154           </strong>,
155         }
156       }
157     />
158     <ul
159       className="list-styled"
160     >
161       <li
162         className="abs-width-600"
163       >
164         <p>
165           <LabelActionPair
166             translationKey="onboarding.tutorial.with.jenkins.webhook.github.step1.url"
167           />
168         </p>
169         <CodeSnippet
170           isOneLine={true}
171           snippet="***JENKINS_SERVER_URL***/github-webhook/"
172         />
173       </li>
174     </ul>
175   </li>
176   <li>
177     <SentenceWithHighlights
178       highlightKeys={
179         [
180           "events",
181           "option",
182         ]
183       }
184       translationKey="onboarding.tutorial.with.jenkins.webhook.github.step2"
185     />
186     <ul
187       className="list-styled"
188     >
189       <li>
190         <strong>
191           onboarding.tutorial.with.jenkins.webhook.github.step2.repo
192         </strong>
193       </li>
194       <li>
195         <strong>
196           onboarding.tutorial.with.jenkins.webhook.github.step2.pr
197         </strong>
198       </li>
199     </ul>
200   </li>
201   <li>
202     <SentenceWithHighlights
203       highlightKeys={
204         [
205           "add_webhook",
206         ]
207       }
208       translationKey="onboarding.tutorial.with.jenkins.webhook.github.step3"
209     />
210   </li>
211 </Fragment>
212 `;