]> source.dussan.org Git - sonarqube.git/blob
1e17f87e2c07ef10ef8086d03f16f4eca3d2c404
[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         [
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         {
49           "link": <withAppStateContext(DocLink)
50             to="/analyzing-source-code/ci-integration/jenkins-integration/"
51           >
52             onboarding.tutorial.with.jenkins.prereqs.step_by_step_guide.link
53           </withAppStateContext(DocLink)>,
54         }
55       }
56     />
57   </p>
58   <p
59     className="big-spacer-bottom"
60   >
61     onboarding.tutorial.with.jenkins.prereqs.following_are_recommendations
62   </p>
63   <Button
64     className="big-spacer-top"
65     onClick={[MockFunction]}
66   >
67     onboarding.tutorial.with.jenkins.prereqs.done
68     <ChevronRightIcon
69       size={13}
70     />
71   </Button>
72 </div>
73 `;
74
75 exports[`should render correctly: content for branches disabled 1`] = `
76 <div
77   className="boxed-group-inner"
78 >
79   <Alert
80     className="big-spacer-bottom"
81     variant="warning"
82   >
83     <SentenceWithHighlights
84       highlightKeys={
85         [
86           "installed",
87           "configured",
88         ]
89       }
90       translationKey="onboarding.tutorial.with.jenkins.prereqs.intro"
91     />
92   </Alert>
93   <ul
94     className="list-styled big-spacer-bottom"
95   >
96     <li>
97       onboarding.tutorial.with.jenkins.prereqs.plugins.sonar_scanner
98     </li>
99   </ul>
100   <p
101     className="big-spacer-bottom"
102   >
103     <FormattedMessage
104       defaultMessage="onboarding.tutorial.with.jenkins.prereqs.step_by_step_guide"
105       id="onboarding.tutorial.with.jenkins.prereqs.step_by_step_guide"
106       values={
107         {
108           "link": <withAppStateContext(DocLink)
109             to="/analyzing-source-code/ci-integration/jenkins-integration/"
110           >
111             onboarding.tutorial.with.jenkins.prereqs.step_by_step_guide.link
112           </withAppStateContext(DocLink)>,
113         }
114       }
115     />
116   </p>
117   <p
118     className="big-spacer-bottom"
119   >
120     onboarding.tutorial.with.jenkins.prereqs.following_are_recommendations
121   </p>
122   <Button
123     className="big-spacer-top"
124     onClick={[MockFunction]}
125   >
126     onboarding.tutorial.with.jenkins.prereqs.done
127     <ChevronRightIcon
128       size={13}
129     />
130   </Button>
131 </div>
132 `;
133
134 exports[`should render correctly: content for branches disabled, gitlab 1`] = `
135 <div
136   className="boxed-group-inner"
137 >
138   <Alert
139     className="big-spacer-bottom"
140     variant="warning"
141   >
142     <SentenceWithHighlights
143       highlightKeys={
144         [
145           "installed",
146           "configured",
147         ]
148       }
149       translationKey="onboarding.tutorial.with.jenkins.prereqs.intro"
150     />
151   </Alert>
152   <ul
153     className="list-styled big-spacer-bottom"
154   >
155     <li>
156       onboarding.tutorial.with.jenkins.prereqs.plugins.gitlab_plugin
157     </li>
158     <li>
159       onboarding.tutorial.with.jenkins.prereqs.plugins.sonar_scanner
160     </li>
161   </ul>
162   <p
163     className="big-spacer-bottom"
164   >
165     <FormattedMessage
166       defaultMessage="onboarding.tutorial.with.jenkins.prereqs.step_by_step_guide"
167       id="onboarding.tutorial.with.jenkins.prereqs.step_by_step_guide"
168       values={
169         {
170           "link": <withAppStateContext(DocLink)
171             to="/analyzing-source-code/ci-integration/jenkins-integration/"
172           >
173             onboarding.tutorial.with.jenkins.prereqs.step_by_step_guide.link
174           </withAppStateContext(DocLink)>,
175         }
176       }
177     />
178   </p>
179   <p
180     className="big-spacer-bottom"
181   >
182     onboarding.tutorial.with.jenkins.prereqs.following_are_recommendations
183   </p>
184   <Button
185     className="big-spacer-top"
186     onClick={[MockFunction]}
187   >
188     onboarding.tutorial.with.jenkins.prereqs.done
189     <ChevronRightIcon
190       size={13}
191     />
192   </Button>
193 </div>
194 `;