]> source.dussan.org Git - sonarqube.git/blob
7a8eff48339a1100062e678801b4138480b9432c
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <div
5   className="boxed-group-inner"
6 >
7   <p
8     className="big-spacer-bottom"
9   >
10     <FormattedMessage
11       defaultMessage="onboarding.tutorial.with.bitbucket_pipelines.variables.intro"
12       id="onboarding.tutorial.with.bitbucket_pipelines.variables.intro"
13       values={
14         {
15           "repository_variables": <strong>
16             onboarding.tutorial.with.bitbucket_pipelines.variables.intro.link
17           </strong>,
18         }
19       }
20     />
21   </p>
22   <ol
23     className="list-styled"
24   >
25     <li>
26       <SentenceWithHighlights
27         highlightKeys={
28           [
29             "name",
30           ]
31         }
32         translationKey="onboarding.tutorial.with.bitbucket_pipelines.variables.name"
33       />
34       <code
35         className="rule little-spacer-left"
36       >
37         SONAR_TOKEN
38       </code>
39       <ClipboardIconButton
40         copyValue="SONAR_TOKEN"
41       />
42     </li>
43     <TokenStepGenerator
44       component={
45         {
46           "breadcrumbs": [],
47           "key": "my-project",
48           "name": "MyProject",
49           "qualifier": "TRK",
50           "qualityGate": {
51             "isDefault": true,
52             "key": "30",
53             "name": "Sonar way",
54           },
55           "qualityProfiles": [
56             {
57               "deleted": false,
58               "key": "my-qp",
59               "language": "ts",
60               "name": "Sonar way",
61             },
62           ],
63           "tags": [],
64         }
65       }
66       currentUser={
67         {
68           "dismissedNotices": {
69             "educationPrinciples": false,
70           },
71           "groups": [],
72           "isLoggedIn": true,
73           "login": "luke",
74           "name": "Skywalker",
75           "scmAccounts": [],
76         }
77       }
78     />
79     <li>
80       <SentenceWithHighlights
81         highlightKeys={
82           [
83             "secured",
84           ]
85         }
86         translationKey="onboarding.tutorial.with.bitbucket_pipelines.variables.secured"
87       />
88     </li>
89     <li>
90       <SentenceWithHighlights
91         highlightKeys={
92           [
93             "add",
94           ]
95         }
96         translationKey="onboarding.tutorial.with.bitbucket_pipelines.variables.add"
97       />
98     </li>
99   </ol>
100   <hr
101     className="no-horizontal-margins"
102   />
103   <ol
104     className="list-styled big-spacer-top big-spacer-bottom"
105   >
106     <li>
107       <SentenceWithHighlights
108         highlightKeys={
109           [
110             "name",
111           ]
112         }
113         translationKey="onboarding.tutorial.with.bitbucket_pipelines.variables.name"
114       />
115       <code
116         className="rule little-spacer-left"
117       >
118         SONAR_HOST_URL
119       </code>
120       <ClipboardIconButton
121         copyValue="SONAR_HOST_URL"
122       />
123     </li>
124     <li
125       className="big-spacer-bottom"
126     >
127       <FormattedMessage
128         defaultMessage="onboarding.tutorial.env_variables"
129         id="onboarding.tutorial.env_variables"
130         values={
131           {
132             "extra": <ClipboardIconButton
133               copyValue="test"
134             />,
135             "field": <strong>
136               onboarding.tutorial.env_variables.field
137             </strong>,
138             "value": <code
139               className="rule"
140             >
141               test
142             </code>,
143           }
144         }
145       />
146     </li>
147     <li>
148       <SentenceWithHighlights
149         highlightKeys={
150           [
151             "add",
152           ]
153         }
154         translationKey="onboarding.tutorial.with.bitbucket_pipelines.variables.add"
155       />
156     </li>
157   </ol>
158   <Button
159     onClick={[MockFunction]}
160   >
161     continue
162   </Button>
163 </div>
164 `;