]> source.dussan.org Git - sonarqube.git/blob
8150d91badf896f6b87ece76b03cc6286a9777df
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <Fragment>
5   <div
6     className="page-header big-spacer-bottom"
7   >
8     <h1
9       className="page-title"
10     >
11       onboarding.tutorial.with.azure_pipelines.title
12     </h1>
13   </div>
14   <Step
15     finished={false}
16     key="0"
17     onOpen={[Function]}
18     open={true}
19     renderForm={[Function]}
20     stepNumber={1}
21     stepTitle="onboarding.tutorial.with.azure_pipelines.ExtensionInstallation.title"
22   />
23   <Step
24     finished={false}
25     key="1"
26     onOpen={[Function]}
27     open={false}
28     renderForm={[Function]}
29     stepNumber={2}
30     stepTitle="onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.title"
31   />
32   <Step
33     finished={false}
34     key="2"
35     onOpen={[Function]}
36     open={false}
37     renderForm={[Function]}
38     stepNumber={3}
39     stepTitle="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.title"
40   />
41   <AllSetStep
42     alm="azure"
43     open={false}
44     stepNumber={4}
45     willRefreshAutomatically={true}
46   />
47 </Fragment>
48 `;
49
50 exports[`should render correctly 2`] = `
51 <div
52   className="boxed-group onboarding-step is-open"
53 >
54   <div
55     className="onboarding-step-number"
56   >
57     1
58   </div>
59   <div
60     className="boxed-group-header"
61   >
62     <h2>
63       onboarding.tutorial.with.azure_pipelines.ExtensionInstallation.title
64     </h2>
65   </div>
66   <div
67     className=""
68   >
69     <div
70       className="boxed-group-inner"
71     >
72       <div>
73         <ExtensionInstallationStepContent />
74       </div>
75       <Button
76         className="big-spacer-top spacer-bottom"
77         onClick={[Function]}
78       >
79         continue
80       </Button>
81     </div>
82   </div>
83 </div>
84 `;
85
86 exports[`should render correctly 3`] = `
87 <div
88   className="boxed-group onboarding-step"
89 >
90   <div
91     className="onboarding-step-number"
92   >
93     2
94   </div>
95   <div
96     className="boxed-group-header"
97   >
98     <h2>
99       onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.title
100     </h2>
101   </div>
102   <div
103     className="boxed-group-inner"
104   />
105   <div
106     className="hidden"
107   >
108     <div
109       className="boxed-group-inner"
110     >
111       <div>
112         <ServiceEndpointStepContent
113           baseUrl="http://localhost:9000"
114           component={
115             Object {
116               "breadcrumbs": Array [],
117               "key": "my-project",
118               "name": "MyProject",
119               "qualifier": "TRK",
120               "qualityGate": Object {
121                 "isDefault": true,
122                 "key": "30",
123                 "name": "Sonar way",
124               },
125               "qualityProfiles": Array [
126                 Object {
127                   "deleted": false,
128                   "key": "my-qp",
129                   "language": "ts",
130                   "name": "Sonar way",
131                 },
132               ],
133               "tags": Array [],
134             }
135           }
136           currentUser={
137             Object {
138               "groups": Array [],
139               "isLoggedIn": true,
140               "login": "luke",
141               "name": "Skywalker",
142               "scmAccounts": Array [],
143             }
144           }
145         />
146       </div>
147       <Button
148         className="big-spacer-top spacer-bottom"
149         onClick={[Function]}
150       >
151         continue
152       </Button>
153     </div>
154   </div>
155 </div>
156 `;
157
158 exports[`should render correctly 4`] = `
159 <div
160   className="boxed-group onboarding-step"
161 >
162   <div
163     className="onboarding-step-number"
164   >
165     3
166   </div>
167   <div
168     className="boxed-group-header"
169   >
170     <h2>
171       onboarding.tutorial.with.azure_pipelines.BranchAnalysis.title
172     </h2>
173   </div>
174   <div
175     className="boxed-group-inner"
176   />
177   <div
178     className="hidden"
179   >
180     <div
181       className="boxed-group-inner"
182     >
183       <div>
184         <withLanguagesContext(BranchAnalysisStepContent)
185           component={
186             Object {
187               "breadcrumbs": Array [],
188               "key": "my-project",
189               "name": "MyProject",
190               "qualifier": "TRK",
191               "qualityGate": Object {
192                 "isDefault": true,
193                 "key": "30",
194                 "name": "Sonar way",
195               },
196               "qualityProfiles": Array [
197                 Object {
198                   "deleted": false,
199                   "key": "my-qp",
200                   "language": "ts",
201                   "name": "Sonar way",
202                 },
203               ],
204               "tags": Array [],
205             }
206           }
207           onStepValidationChange={[Function]}
208         />
209       </div>
210     </div>
211   </div>
212 </div>
213 `;