]> source.dussan.org Git - sonarqube.git/blob
f1f1573b62e08ec32fb9f5d0cc66bd5af383c4a7
[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               "dismissedNotices": Object {
139                 "educationPrinciples": false,
140               },
141               "groups": Array [],
142               "isLoggedIn": true,
143               "login": "luke",
144               "name": "Skywalker",
145               "scmAccounts": Array [],
146             }
147           }
148         />
149       </div>
150       <Button
151         className="big-spacer-top spacer-bottom"
152         onClick={[Function]}
153       >
154         continue
155       </Button>
156     </div>
157   </div>
158 </div>
159 `;
160
161 exports[`should render correctly 4`] = `
162 <div
163   className="boxed-group onboarding-step"
164 >
165   <div
166     className="onboarding-step-number"
167   >
168     3
169   </div>
170   <div
171     className="boxed-group-header"
172   >
173     <h2>
174       onboarding.tutorial.with.azure_pipelines.BranchAnalysis.title
175     </h2>
176   </div>
177   <div
178     className="boxed-group-inner"
179   />
180   <div
181     className="hidden"
182   >
183     <div
184       className="boxed-group-inner"
185     >
186       <div>
187         <withLanguagesContext(BranchAnalysisStepContent)
188           component={
189             Object {
190               "breadcrumbs": Array [],
191               "key": "my-project",
192               "name": "MyProject",
193               "qualifier": "TRK",
194               "qualityGate": Object {
195                 "isDefault": true,
196                 "key": "30",
197                 "name": "Sonar way",
198               },
199               "qualityProfiles": Array [
200                 Object {
201                   "deleted": false,
202                   "key": "my-qp",
203                   "language": "ts",
204                   "name": "Sonar way",
205                 },
206               ],
207               "tags": Array [],
208             }
209           }
210           onStepValidationChange={[Function]}
211         />
212       </div>
213     </div>
214   </div>
215 </div>
216 `;