]> source.dussan.org Git - sonarqube.git/blob
e5efd1b0cfd69d10a428014e72655f7743b0c61c
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: Step wrapper 1`] = `
4 <Step
5   finished={false}
6   onOpen={[MockFunction]}
7   open={true}
8   renderForm={[Function]}
9   stepNumber={1}
10   stepTitle="onboarding.tutorial.with.jenkins.multi_branch_pipeline.title"
11 />
12 `;
13
14 exports[`should render correctly: content for bitbucket 1`] = `
15 <div
16   className="boxed-group-inner"
17 >
18   <p
19     className="big-spacer-bottom"
20   >
21     onboarding.tutorial.with.jenkins.multi_branch_pipeline.intro
22   </p>
23   <ol
24     className="list-styled"
25   >
26     <li>
27       <SentenceWithHighlights
28         highlightKeys={
29           Array [
30             "new_item",
31             "type",
32           ]
33         }
34         translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step1"
35       />
36     </li>
37     <li>
38       <SentenceWithHighlights
39         highlightKeys={
40           Array [
41             "tab",
42             "source",
43           ]
44         }
45         translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucket"
46       />
47       <ul
48         className="list-styled"
49       >
50         <React.Fragment>
51           <li>
52             <LabelActionPair
53               translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucket.server"
54             />
55           </li>
56           <li>
57             <LabelActionPair
58               translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucket.creds"
59             />
60           </li>
61           <li>
62             <LabelValuePair
63               translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucket.owner"
64               value="PROJECT_KEY"
65             />
66           </li>
67           <li>
68             <LabelValuePair
69               translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucket.repo"
70               value="repo-slug"
71             />
72           </li>
73         </React.Fragment>
74         <li>
75           <LabelActionPair
76             translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.bitbucket.behaviour"
77           />
78         </li>
79       </ul>
80       <p
81         className="big-spacer-left padder-left"
82       >
83         onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.leave_defaults
84       </p>
85     </li>
86     <li>
87       <SentenceWithHighlights
88         highlightKeys={
89           Array [
90             "tab",
91           ]
92         }
93         translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3"
94       />
95       <ul
96         className="list-styled"
97       >
98         <li>
99           <LabelActionPair
100             translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3.mode"
101           />
102         </li>
103         <li>
104           <LabelActionPair
105             translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3.script_path"
106           />
107         </li>
108       </ul>
109     </li>
110     <li>
111       <SentenceWithHighlights
112         highlightKeys={
113           Array [
114             "save",
115           ]
116         }
117         translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step4"
118       />
119     </li>
120   </ol>
121   <Button
122     onClick={[MockFunction]}
123   >
124     continue
125   </Button>
126 </div>
127 `;
128
129 exports[`should render correctly: content for github 1`] = `
130 <div
131   className="boxed-group-inner"
132 >
133   <p
134     className="big-spacer-bottom"
135   >
136     onboarding.tutorial.with.jenkins.multi_branch_pipeline.intro
137   </p>
138   <ol
139     className="list-styled"
140   >
141     <li>
142       <SentenceWithHighlights
143         highlightKeys={
144           Array [
145             "new_item",
146             "type",
147           ]
148         }
149         translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step1"
150       />
151     </li>
152     <li>
153       <SentenceWithHighlights
154         highlightKeys={
155           Array [
156             "tab",
157             "source",
158           ]
159         }
160         translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.github"
161       />
162       <ul
163         className="list-styled"
164       >
165         <React.Fragment>
166           <li>
167             <LabelActionPair
168               translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.github.creds"
169             />
170           </li>
171           <li>
172             <LabelActionPair
173               translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.github.repo_url"
174             />
175           </li>
176         </React.Fragment>
177         <li>
178           <LabelActionPair
179             translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.github.behaviour"
180           />
181         </li>
182       </ul>
183       <p
184         className="big-spacer-left padder-left"
185       >
186         onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.leave_defaults
187       </p>
188     </li>
189     <li>
190       <SentenceWithHighlights
191         highlightKeys={
192           Array [
193             "tab",
194           ]
195         }
196         translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3"
197       />
198       <ul
199         className="list-styled"
200       >
201         <li>
202           <LabelActionPair
203             translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3.mode"
204           />
205         </li>
206         <li>
207           <LabelActionPair
208             translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3.script_path"
209           />
210         </li>
211       </ul>
212     </li>
213     <li>
214       <SentenceWithHighlights
215         highlightKeys={
216           Array [
217             "save",
218           ]
219         }
220         translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step4"
221       />
222     </li>
223   </ol>
224   <Button
225     onClick={[MockFunction]}
226   >
227     continue
228   </Button>
229 </div>
230 `;
231
232 exports[`should render correctly: content for gitlab 1`] = `
233 <div
234   className="boxed-group-inner"
235 >
236   <p
237     className="big-spacer-bottom"
238   >
239     onboarding.tutorial.with.jenkins.multi_branch_pipeline.intro
240   </p>
241   <ol
242     className="list-styled"
243   >
244     <li>
245       <SentenceWithHighlights
246         highlightKeys={
247           Array [
248             "new_item",
249             "type",
250           ]
251         }
252         translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step1"
253       />
254     </li>
255     <li>
256       <SentenceWithHighlights
257         highlightKeys={
258           Array [
259             "tab",
260             "source",
261           ]
262         }
263         translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.gitlab"
264       />
265       <ul
266         className="list-styled"
267       >
268         <React.Fragment>
269           <li>
270             <LabelActionPair
271               translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.gitlab.creds"
272             />
273           </li>
274           <li>
275             <LabelActionPair
276               translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.gitlab.owner"
277             />
278           </li>
279           <li>
280             <LabelActionPair
281               translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.gitlab.repo"
282             />
283           </li>
284         </React.Fragment>
285         <li>
286           <LabelActionPair
287             translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.gitlab.behaviour"
288           />
289         </li>
290       </ul>
291       <p
292         className="big-spacer-left padder-left"
293       >
294         onboarding.tutorial.with.jenkins.multi_branch_pipeline.step2.leave_defaults
295       </p>
296     </li>
297     <li>
298       <SentenceWithHighlights
299         highlightKeys={
300           Array [
301             "tab",
302           ]
303         }
304         translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3"
305       />
306       <ul
307         className="list-styled"
308       >
309         <li>
310           <LabelActionPair
311             translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3.mode"
312           />
313         </li>
314         <li>
315           <LabelActionPair
316             translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step3.script_path"
317           />
318         </li>
319       </ul>
320     </li>
321     <li>
322       <SentenceWithHighlights
323         highlightKeys={
324           Array [
325             "save",
326           ]
327         }
328         translationKey="onboarding.tutorial.with.jenkins.multi_branch_pipeline.step4"
329       />
330     </li>
331   </ol>
332   <Button
333     onClick={[MockFunction]}
334   >
335     continue
336   </Button>
337 </div>
338 `;