]> source.dussan.org Git - sonarqube.git/blob
659205b07265f57278e0f6fad2672a9c89030894
[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.pipeline.title"
11 />
12 `;
13
14 exports[`should render correctly: content 1`] = `
15 <div
16   className="boxed-group-inner"
17 >
18   <p
19     className="big-spacer-bottom"
20   >
21     onboarding.tutorial.with.jenkins.pipeline.intro
22   </p>
23   <ol
24     className="list-styled"
25   >
26     <li>
27       <SentenceWithHighlights
28         highlightKeys={
29           [
30             "new_item",
31             "type",
32           ]
33         }
34         translationKey="onboarding.tutorial.with.jenkins.pipeline.step1"
35       />
36     </li>
37     <li>
38       <SentenceWithHighlights
39         highlightKeys={
40           [
41             "tab",
42             "option",
43           ]
44         }
45         translationKey="onboarding.tutorial.with.jenkins.pipeline.step2"
46       />
47     </li>
48     <li>
49       <SentenceWithHighlights
50         highlightKeys={
51           [
52             "tab",
53           ]
54         }
55         translationKey="onboarding.tutorial.with.jenkins.pipeline.step3"
56       />
57       <ul
58         className="list-styled"
59       >
60         <li>
61           <LabelActionPair
62             translationKey="onboarding.tutorial.with.jenkins.pipeline.step3.definition"
63           />
64         </li>
65         <li>
66           <SentenceWithHighlights
67             highlightKeys={
68               [
69                 "label",
70                 "branches_to_build",
71               ]
72             }
73             translationKey="onboarding.tutorial.with.jenkins.pipeline.step3.scm"
74           />
75         </li>
76         <li>
77           <LabelActionPair
78             translationKey="onboarding.tutorial.with.jenkins.pipeline.step3.script_path"
79           />
80         </li>
81       </ul>
82     </li>
83     <li>
84       <SentenceWithHighlights
85         highlightKeys={
86           [
87             "save",
88           ]
89         }
90         translationKey="onboarding.tutorial.with.jenkins.pipeline.step4"
91       />
92     </li>
93   </ol>
94   <Button
95     className="big-spacer-top"
96     onClick={[MockFunction]}
97   >
98     continue
99     <ChevronRightIcon
100       size={13}
101     />
102   </Button>
103 </div>
104 `;
105
106 exports[`should render correctly: gitlab content 1`] = `
107 <div
108   className="boxed-group-inner"
109 >
110   <p
111     className="big-spacer-bottom"
112   >
113     onboarding.tutorial.with.jenkins.pipeline.intro
114   </p>
115   <ol
116     className="list-styled"
117   >
118     <li>
119       <SentenceWithHighlights
120         highlightKeys={
121           [
122             "new_item",
123             "type",
124           ]
125         }
126         translationKey="onboarding.tutorial.with.jenkins.pipeline.step1"
127       />
128     </li>
129     <li>
130       <React.Fragment>
131         <SentenceWithHighlights
132           highlightKeys={
133             [
134               "tab",
135               "option",
136             ]
137           }
138           translationKey="onboarding.tutorial.with.jenkins.pipeline.gitlab.step2.trigger"
139         />
140         <ul
141           className="list-styled"
142         >
143           <li>
144             <SentenceWithHighlights
145               highlightKeys={
146                 [
147                   "triggers",
148                   "push_events",
149                 ]
150               }
151               translationKey="onboarding.tutorial.with.jenkins.pipeline.gitlab.step2.pick_triggers"
152             />
153           </li>
154           <li>
155             <SentenceWithHighlights
156               highlightKeys={
157                 [
158                   "advanced",
159                 ]
160               }
161               translationKey="onboarding.tutorial.with.jenkins.pipeline.gitlab.step2.click_advanced"
162             />
163           </li>
164           <li>
165             <SentenceWithHighlights
166               highlightKeys={
167                 [
168                   "secret_token",
169                   "generate",
170                 ]
171               }
172               translationKey="onboarding.tutorial.with.jenkins.pipeline.gitlab.step2.secret_token"
173             />
174           </li>
175         </ul>
176       </React.Fragment>
177     </li>
178     <li>
179       <SentenceWithHighlights
180         highlightKeys={
181           [
182             "tab",
183           ]
184         }
185         translationKey="onboarding.tutorial.with.jenkins.pipeline.step3"
186       />
187       <ul
188         className="list-styled"
189       >
190         <li>
191           <LabelActionPair
192             translationKey="onboarding.tutorial.with.jenkins.pipeline.step3.definition"
193           />
194         </li>
195         <li>
196           <SentenceWithHighlights
197             highlightKeys={
198               [
199                 "label",
200                 "branches_to_build",
201               ]
202             }
203             translationKey="onboarding.tutorial.with.jenkins.pipeline.step3.scm"
204           />
205         </li>
206         <li>
207           <LabelActionPair
208             translationKey="onboarding.tutorial.with.jenkins.pipeline.step3.script_path"
209           />
210         </li>
211       </ul>
212     </li>
213     <li>
214       <SentenceWithHighlights
215         highlightKeys={
216           [
217             "save",
218           ]
219         }
220         translationKey="onboarding.tutorial.with.jenkins.pipeline.step4"
221       />
222     </li>
223   </ol>
224   <Button
225     className="big-spacer-top"
226     onClick={[MockFunction]}
227   >
228     continue
229     <ChevronRightIcon
230       size={13}
231     />
232   </Button>
233 </div>
234 `;