]> source.dussan.org Git - sonarqube.git/blob
0840eb183495580c24997f33987410a2ac170556
[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.gitlab_ci.env_variables.title"
11 />
12 `;
13
14 exports[`should render correctly: initial content 1`] = `
15 <div
16   className="boxed-group-inner"
17 >
18   <ol
19     className="list-styled"
20   >
21     <li>
22       <p
23         className="big-spacer-bottom"
24       >
25         onboarding.tutorial.with.gitlab_ci.env_variables.section.title
26       </p>
27       <FormattedMessage
28         defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.section.description"
29         id="onboarding.tutorial.with.gitlab_ci.env_variables.section.description"
30         values={
31           {
32             "link": <strong>
33               onboarding.tutorial.with.gitlab_ci.env_variables.description.link
34             </strong>,
35           }
36         }
37       />
38       <ul
39         className="list-styled list-alpha big-spacer-top"
40       >
41         <li
42           className="big-spacer-bottom"
43         >
44           <FormattedMessage
45             defaultMessage="onboarding.tutorial.env_variables"
46             id="onboarding.tutorial.with.gitlab_ci.env_variables.step1"
47             values={
48               {
49                 "extra": <ClipboardIconButton
50                   copyValue="SONAR_TOKEN"
51                 />,
52                 "field": <strong>
53                   onboarding.tutorial.with.gitlab_ci.env_variables.step1
54                 </strong>,
55                 "value": <code
56                   className="rule"
57                 >
58                   SONAR_TOKEN
59                 </code>,
60               }
61             }
62           />
63         </li>
64         <TokenStepGenerator
65           component={
66             {
67               "breadcrumbs": [],
68               "key": "my-project",
69               "name": "MyProject",
70               "qualifier": "TRK",
71               "qualityGate": {
72                 "isDefault": true,
73                 "key": "30",
74                 "name": "Sonar way",
75               },
76               "qualityProfiles": [
77                 {
78                   "deleted": false,
79                   "key": "my-qp",
80                   "language": "ts",
81                   "name": "Sonar way",
82                 },
83               ],
84               "tags": [],
85             }
86           }
87           currentUser={
88             {
89               "dismissedNotices": {
90                 "educationPrinciples": false,
91               },
92               "groups": [],
93               "isLoggedIn": true,
94               "login": "luke",
95               "name": "Skywalker",
96               "scmAccounts": [],
97             }
98           }
99         />
100         <li
101           className="big-spacer-bottom"
102         >
103           <FormattedMessage
104             defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.step3"
105             id="onboarding.tutorial.with.gitlab_ci.env_variables.step3"
106             values={
107               {
108                 "value": <strong>
109                   onboarding.tutorial.with.gitlab_ci.env_variables.step3.value
110                 </strong>,
111               }
112             }
113           />
114         </li>
115         <li
116           className="big-spacer-bottom"
117         >
118           <FormattedMessage
119             defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.section.step4"
120             id="onboarding.tutorial.with.gitlab_ci.env_variables.section.step4"
121             values={
122               {
123                 "value": <strong>
124                   onboarding.tutorial.with.gitlab_ci.env_variables.section.step4.value
125                 </strong>,
126               }
127             }
128           />
129         </li>
130       </ul>
131       <hr
132         className="no-horizontal-margins"
133       />
134     </li>
135     <li>
136       <p
137         className="big-spacer-bottom big-spacer-top"
138       >
139         onboarding.tutorial.with.gitlab_ci.env_variables.section2.title
140       </p>
141       <FormattedMessage
142         defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.section2.description"
143         id="onboarding.tutorial.with.gitlab_ci.env_variables.section2.description"
144         values={
145           {
146             "link": <strong>
147               onboarding.tutorial.with.gitlab_ci.env_variables.description.link
148             </strong>,
149           }
150         }
151       />
152       <ul
153         className="list-styled list-alpha big-spacer-top big-spacer-bottom"
154       >
155         <li
156           className="big-spacer-bottom"
157         >
158           <FormattedMessage
159             defaultMessage="onboarding.tutorial.env_variables"
160             id="onboarding.tutorial.with.gitlab_ci.env_variables.step1"
161             values={
162               {
163                 "extra": <ClipboardIconButton
164                   copyValue="SONAR_HOST_URL"
165                 />,
166                 "field": <strong>
167                   onboarding.tutorial.with.gitlab_ci.env_variables.step1
168                 </strong>,
169                 "value": <code
170                   className="rule"
171                 >
172                   SONAR_HOST_URL
173                 </code>,
174               }
175             }
176           />
177         </li>
178         <li
179           className="big-spacer-bottom"
180         >
181           <FormattedMessage
182             defaultMessage="onboarding.tutorial.env_variables"
183             id="onboarding.tutorial.with.gitlab_ci.env_variables.step2"
184             values={
185               {
186                 "extra": <ClipboardIconButton
187                   copyValue="http://localhost:9000"
188                 />,
189                 "field": <strong>
190                   onboarding.tutorial.env_variables.field
191                 </strong>,
192                 "value": <code
193                   className="rule"
194                 >
195                   http://localhost:9000
196                 </code>,
197               }
198             }
199           />
200         </li>
201         <li
202           className="big-spacer-bottom"
203         >
204           <FormattedMessage
205             defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.step3"
206             id="onboarding.tutorial.with.gitlab_ci.env_variables.step3"
207             values={
208               {
209                 "value": <strong>
210                   onboarding.tutorial.with.gitlab_ci.env_variables.step3.value
211                 </strong>,
212               }
213             }
214           />
215         </li>
216         <li
217           className="big-spacer-bottom"
218         >
219           <FormattedMessage
220             defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.section2.step4"
221             id="onboarding.tutorial.with.gitlab_ci.env_variables.section2.step4"
222             values={
223               {
224                 "value": <strong>
225                   onboarding.tutorial.with.gitlab_ci.env_variables.section.step4.value
226                 </strong>,
227               }
228             }
229           />
230         </li>
231       </ul>
232       <Button
233         className="big-spacer-bottom"
234         onClick={[MockFunction]}
235       >
236         continue
237       </Button>
238     </li>
239   </ol>
240 </div>
241 `;