]> source.dussan.org Git - sonarqube.git/blob
091b72035d8d79022ee831feae5eab2a529f8b15
[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={false}
8   renderForm={[Function]}
9   stepTitle="onboarding.tutorial.with.jenkins.prereqs.title"
10 />
11 `;
12
13 exports[`should render correctly: content 1`] = `
14 <div
15   className="boxed-group-inner"
16 >
17   <Alert
18     className="big-spacer-bottom"
19     variant="warning"
20   >
21     <SentenceWithHighlights
22       highlightKeys={
23         Array [
24           "installed",
25           "configured",
26         ]
27       }
28       translationKey="onboarding.tutorial.with.jenkins.prereqs.intro"
29     />
30   </Alert>
31   <ul
32     className="list-styled big-spacer-bottom"
33   >
34     <li>
35       onboarding.tutorial.with.jenkins.prereqs.plugins.branch_source.bitbucket
36     </li>
37     <li>
38       onboarding.tutorial.with.jenkins.prereqs.plugins.sonar_scanner
39     </li>
40   </ul>
41   <p
42     className="big-spacer-bottom"
43   >
44     <FormattedMessage
45       defaultMessage="onboarding.tutorial.with.jenkins.prereqs.step_by_step_guide"
46       id="onboarding.tutorial.with.jenkins.prereqs.step_by_step_guide"
47       values={
48         Object {
49           "link": <Link
50             target="_blank"
51             to="/documentation/analysis/jenkins/"
52           >
53             onboarding.tutorial.with.jenkins.prereqs.step_by_step_guide.link
54           </Link>,
55         }
56       }
57     />
58   </p>
59   <p
60     className="big-spacer-bottom"
61   >
62     onboarding.tutorial.with.jenkins.prereqs.following_are_recommendations
63   </p>
64   <Button
65     className="big-spacer-top"
66     onClick={[MockFunction]}
67   >
68     onboarding.tutorial.with.jenkins.prereqs.done
69     <ChevronRightIcon
70       size={13}
71     />
72   </Button>
73 </div>
74 `;
75
76 exports[`should render correctly: content for branches disabled 1`] = `
77 <div
78   className="boxed-group-inner"
79 >
80   <Alert
81     className="big-spacer-bottom"
82     variant="warning"
83   >
84     <SentenceWithHighlights
85       highlightKeys={
86         Array [
87           "installed",
88           "configured",
89         ]
90       }
91       translationKey="onboarding.tutorial.with.jenkins.prereqs.intro"
92     />
93   </Alert>
94   <ul
95     className="list-styled big-spacer-bottom"
96   >
97     <li>
98       onboarding.tutorial.with.jenkins.prereqs.plugins.sonar_scanner
99     </li>
100   </ul>
101   <p
102     className="big-spacer-bottom"
103   >
104     <FormattedMessage
105       defaultMessage="onboarding.tutorial.with.jenkins.prereqs.step_by_step_guide"
106       id="onboarding.tutorial.with.jenkins.prereqs.step_by_step_guide"
107       values={
108         Object {
109           "link": <Link
110             target="_blank"
111             to="/documentation/analysis/jenkins/"
112           >
113             onboarding.tutorial.with.jenkins.prereqs.step_by_step_guide.link
114           </Link>,
115         }
116       }
117     />
118   </p>
119   <p
120     className="big-spacer-bottom"
121   >
122     onboarding.tutorial.with.jenkins.prereqs.following_are_recommendations
123   </p>
124   <Button
125     className="big-spacer-top"
126     onClick={[MockFunction]}
127   >
128     onboarding.tutorial.with.jenkins.prereqs.done
129     <ChevronRightIcon
130       size={13}
131     />
132   </Button>
133 </div>
134 `;
135
136 exports[`should render correctly: content for branches disabled, gitlab 1`] = `
137 <div
138   className="boxed-group-inner"
139 >
140   <Alert
141     className="big-spacer-bottom"
142     variant="warning"
143   >
144     <SentenceWithHighlights
145       highlightKeys={
146         Array [
147           "installed",
148           "configured",
149         ]
150       }
151       translationKey="onboarding.tutorial.with.jenkins.prereqs.intro"
152     />
153   </Alert>
154   <ul
155     className="list-styled big-spacer-bottom"
156   >
157     <li>
158       onboarding.tutorial.with.jenkins.prereqs.plugins.gitlab_plugin
159     </li>
160     <li>
161       onboarding.tutorial.with.jenkins.prereqs.plugins.sonar_scanner
162     </li>
163   </ul>
164   <p
165     className="big-spacer-bottom"
166   >
167     <FormattedMessage
168       defaultMessage="onboarding.tutorial.with.jenkins.prereqs.step_by_step_guide"
169       id="onboarding.tutorial.with.jenkins.prereqs.step_by_step_guide"
170       values={
171         Object {
172           "link": <Link
173             target="_blank"
174             to="/documentation/analysis/jenkins/"
175           >
176             onboarding.tutorial.with.jenkins.prereqs.step_by_step_guide.link
177           </Link>,
178         }
179       }
180     />
181   </p>
182   <p
183     className="big-spacer-bottom"
184   >
185     onboarding.tutorial.with.jenkins.prereqs.following_are_recommendations
186   </p>
187   <Button
188     className="big-spacer-top"
189     onClick={[MockFunction]}
190   >
191     onboarding.tutorial.with.jenkins.prereqs.done
192     <ChevronRightIcon
193       size={13}
194     />
195   </Button>
196 </div>
197 `;