]> source.dussan.org Git - sonarqube.git/blob
d37c402146397e67ce9d52745d072b515cb7fe5c
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: Step wrapper 1`] = `
4 <Fragment>
5   <Step
6     finished={false}
7     onOpen={[MockFunction]}
8     open={true}
9     renderForm={[Function]}
10     stepNumber={2}
11     stepTitle="onboarding.tutorial.with.gitlab_ci.env_variables.title"
12   />
13 </Fragment>
14 `;
15
16 exports[`should render correctly: initial content 1`] = `
17 <div
18   className="boxed-group-inner"
19 >
20   <h2
21     className="spacer-bottom spacer-top"
22   >
23     onboarding.tutorial.with.gitlab_ci.env_variables.section.title
24   </h2>
25   <FormattedMessage
26     defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.section.description"
27     id="onboarding.tutorial.with.gitlab_ci.env_variables.section.description"
28     values={
29       Object {
30         "link": <strong>
31           onboarding.tutorial.with.gitlab_ci.env_variables.description.link
32         </strong>,
33       }
34     }
35   />
36   <ol
37     className="list-styled big-spacer-top"
38   >
39     <li
40       className="big-spacer-bottom"
41     >
42       <FormattedMessage
43         defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.enter_field_value"
44         id="onboarding.tutorial.with.gitlab_ci.env_variables.step1"
45         values={
46           Object {
47             "extra": <ClipboardIconButton
48               copyValue="SONAR_TOKEN"
49             />,
50             "field": "onboarding.tutorial.with.gitlab_ci.env_variables.step1",
51             "value": <code
52               className="rule"
53             >
54               SONAR_TOKEN
55             </code>,
56           }
57         }
58       />
59     </li>
60     <li
61       className="big-spacer-bottom"
62     >
63       <FormattedMessage
64         defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.enter_field_value"
65         id="onboarding.tutorial.with.gitlab_ci.env_variables.step2"
66         values={
67           Object {
68             "extra": <Button
69               className="spacer-left"
70               onClick={[Function]}
71             >
72               onboarding.token.generate_token
73             </Button>,
74             "field": "onboarding.tutorial.with.gitlab_ci.env_variables.step2",
75             "value": "onboarding.tutorial.with.gitlab_ci.env_variables.section.step2.value",
76           }
77         }
78       />
79     </li>
80     <li
81       className="big-spacer-bottom"
82     >
83       onboarding.tutorial.with.gitlab_ci.env_variables.step3
84     </li>
85     <li
86       className="big-spacer-bottom"
87     >
88       onboarding.tutorial.with.gitlab_ci.env_variables.section.step4
89     </li>
90   </ol>
91   <hr
92     className="no-horizontal-margins"
93   />
94   <h2
95     className="spacer-bottom big-spacer-top"
96   >
97     onboarding.tutorial.with.gitlab_ci.env_variables.section2.title
98   </h2>
99   <FormattedMessage
100     defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.section2.description"
101     id="onboarding.tutorial.with.gitlab_ci.env_variables.section2.description"
102     values={
103       Object {
104         "link": <strong>
105           onboarding.tutorial.with.gitlab_ci.env_variables.description.link
106         </strong>,
107       }
108     }
109   />
110   <ol
111     className="list-styled big-spacer-top big-spacer-bottom"
112   >
113     <li
114       className="big-spacer-bottom"
115     >
116       <FormattedMessage
117         defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.enter_field_value"
118         id="onboarding.tutorial.with.gitlab_ci.env_variables.step1"
119         values={
120           Object {
121             "extra": <ClipboardIconButton
122               copyValue="SONAR_HOST_URL"
123             />,
124             "field": "onboarding.tutorial.with.gitlab_ci.env_variables.step1",
125             "value": <code
126               className="rule"
127             >
128               SONAR_HOST_URL
129             </code>,
130           }
131         }
132       />
133     </li>
134     <li
135       className="big-spacer-bottom"
136     >
137       <FormattedMessage
138         defaultMessage="onboarding.tutorial.with.gitlab_ci.env_variables.enter_field_value"
139         id="onboarding.tutorial.with.gitlab_ci.env_variables.step2"
140         values={
141           Object {
142             "extra": <ClipboardIconButton
143               copyValue="http://localhost"
144             />,
145             "field": "onboarding.tutorial.with.gitlab_ci.env_variables.step2",
146             "value": <code
147               className="rule"
148             >
149               http://localhost
150             </code>,
151           }
152         }
153       />
154     </li>
155     <li
156       className="big-spacer-bottom"
157     >
158       onboarding.tutorial.with.gitlab_ci.env_variables.step3
159     </li>
160     <li
161       className="big-spacer-bottom"
162     >
163       onboarding.tutorial.with.gitlab_ci.env_variables.section2.step4
164     </li>
165   </ol>
166   <Button
167     className="big-spacer-bottom"
168     onClick={[MockFunction]}
169   >
170     continue
171   </Button>
172 </div>
173 `;