]> source.dussan.org Git - sonarqube.git/blob
3def93d2518667e155cf316ced975967bd34dfe2
[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={2}
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   <h2
19     className="spacer-bottom spacer-top"
20   >
21     onboarding.tutorial.with.gitlab_ci.env_variables.section.title
22   </h2>
23   <FormattedMessage
24     defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.section.description"
25     id="onboarding.tutorial.with.gitlab_ci.env_variables.section.description"
26     values={
27       Object {
28         "link": <strong>
29           onboarding.tutorial.with.gitlab_ci.env_variables.description.link
30         </strong>,
31       }
32     }
33   />
34   <ol
35     className="list-styled big-spacer-top"
36   >
37     <li
38       className="big-spacer-bottom"
39     >
40       <FormattedMessage
41         defaultMessage="onboarding.tutorial.env_variables"
42         id="onboarding.tutorial.with.gitlab_ci.env_variables.step1"
43         values={
44           Object {
45             "extra": <ClipboardIconButton
46               copyValue="SONAR_TOKEN"
47             />,
48             "field": <strong>
49               onboarding.tutorial.with.gitlab_ci.env_variables.step1
50             </strong>,
51             "value": <code
52               className="rule"
53             >
54               SONAR_TOKEN
55             </code>,
56           }
57         }
58       />
59     </li>
60     <TokenStepGenerator
61       component={
62         Object {
63           "breadcrumbs": Array [],
64           "key": "my-project",
65           "name": "MyProject",
66           "qualifier": "TRK",
67           "qualityGate": Object {
68             "isDefault": true,
69             "key": "30",
70             "name": "Sonar way",
71           },
72           "qualityProfiles": Array [
73             Object {
74               "deleted": false,
75               "key": "my-qp",
76               "language": "ts",
77               "name": "Sonar way",
78             },
79           ],
80           "tags": Array [],
81         }
82       }
83       currentUser={
84         Object {
85           "groups": Array [],
86           "isLoggedIn": true,
87           "login": "luke",
88           "name": "Skywalker",
89           "scmAccounts": Array [],
90         }
91       }
92     />
93     <li
94       className="big-spacer-bottom"
95     >
96       onboarding.tutorial.with.gitlab_ci.env_variables.step3
97     </li>
98     <li
99       className="big-spacer-bottom"
100     >
101       onboarding.tutorial.with.gitlab_ci.env_variables.section.step4
102     </li>
103   </ol>
104   <hr
105     className="no-horizontal-margins"
106   />
107   <h2
108     className="spacer-bottom big-spacer-top"
109   >
110     onboarding.tutorial.with.gitlab_ci.env_variables.section2.title
111   </h2>
112   <FormattedMessage
113     defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.section2.description"
114     id="onboarding.tutorial.with.gitlab_ci.env_variables.section2.description"
115     values={
116       Object {
117         "link": <strong>
118           onboarding.tutorial.with.gitlab_ci.env_variables.description.link
119         </strong>,
120       }
121     }
122   />
123   <ol
124     className="list-styled big-spacer-top big-spacer-bottom"
125   >
126     <li
127       className="big-spacer-bottom"
128     >
129       <FormattedMessage
130         defaultMessage="onboarding.tutorial.env_variables"
131         id="onboarding.tutorial.with.gitlab_ci.env_variables.step1"
132         values={
133           Object {
134             "extra": <ClipboardIconButton
135               copyValue="SONAR_HOST_URL"
136             />,
137             "field": <strong>
138               onboarding.tutorial.with.gitlab_ci.env_variables.step1
139             </strong>,
140             "value": <code
141               className="rule"
142             >
143               SONAR_HOST_URL
144             </code>,
145           }
146         }
147       />
148     </li>
149     <li
150       className="big-spacer-bottom"
151     >
152       <FormattedMessage
153         defaultMessage="onboarding.tutorial.env_variables"
154         id="onboarding.tutorial.with.gitlab_ci.env_variables.step2"
155         values={
156           Object {
157             "extra": <ClipboardIconButton
158               copyValue="http://localhost:9000"
159             />,
160             "field": <strong>
161               onboarding.tutorial.env_variables.field
162             </strong>,
163             "value": <code
164               className="rule"
165             >
166               http://localhost:9000
167             </code>,
168           }
169         }
170       />
171     </li>
172     <li
173       className="big-spacer-bottom"
174     >
175       onboarding.tutorial.with.gitlab_ci.env_variables.step3
176     </li>
177     <li
178       className="big-spacer-bottom"
179     >
180       onboarding.tutorial.with.gitlab_ci.env_variables.section2.step4
181     </li>
182   </ol>
183   <Button
184     className="big-spacer-bottom"
185     onClick={[MockFunction]}
186   >
187     continue
188   </Button>
189 </div>
190 `;