]> source.dussan.org Git - sonarqube.git/blob
475b40c6b494d66953a98b15ba1410d7486a4f93
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <Fragment>
5   <Helmet
6     defer={true}
7     encodeSpecialCharacters={true}
8     title="my_account.create_new.TRK"
9     titleTemplate="%s"
10   />
11   <A11ySkipTarget
12     anchor="create_project_main"
13   />
14   <div
15     className="page page-limited huge-spacer-bottom position-relative"
16     id="create-project"
17   >
18     <Connect(withAppState(CreateProjectModeSelection))
19       almCounts={
20         Object {
21           "azure": 0,
22           "bitbucket": 0,
23           "github": 0,
24           "gitlab": 0,
25         }
26       }
27       loadingBindings={true}
28       onSelectMode={[Function]}
29     />
30   </div>
31 </Fragment>
32 `;
33
34 exports[`should render correctly if no branch support 1`] = `
35 <Fragment>
36   <Helmet
37     defer={true}
38     encodeSpecialCharacters={true}
39     title="my_account.create_new.TRK"
40     titleTemplate="%s"
41   />
42   <A11ySkipTarget
43     anchor="create_project_main"
44   />
45   <div
46     className="page page-limited huge-spacer-bottom position-relative"
47     id="create-project"
48   >
49     <ManualProjectCreate
50       onProjectCreate={[Function]}
51     />
52   </div>
53 </Fragment>
54 `;
55
56 exports[`should render correctly if the Azure method is selected 1`] = `
57 <Fragment>
58   <Helmet
59     defer={true}
60     encodeSpecialCharacters={true}
61     title="my_account.create_new.TRK"
62     titleTemplate="%s"
63   />
64   <A11ySkipTarget
65     anchor="create_project_main"
66   />
67   <div
68     className="page page-limited huge-spacer-bottom position-relative"
69     id="create-project"
70   >
71     <AzureProjectCreate
72       canAdmin={false}
73       loadingBindings={true}
74       location={
75         Object {
76           "action": "PUSH",
77           "hash": "",
78           "key": "key",
79           "pathname": "/path",
80           "query": Object {
81             "mode": "azure",
82           },
83           "search": "",
84           "state": Object {},
85         }
86       }
87       onProjectCreate={[Function]}
88       router={
89         Object {
90           "createHref": [MockFunction],
91           "createPath": [MockFunction],
92           "go": [MockFunction],
93           "goBack": [MockFunction],
94           "goForward": [MockFunction],
95           "isActive": [MockFunction],
96           "push": [MockFunction],
97           "replace": [MockFunction],
98           "setRouteLeaveHook": [MockFunction],
99         }
100       }
101       settings={Array []}
102     />
103   </div>
104 </Fragment>
105 `;
106
107 exports[`should render correctly if the BBS method is selected 1`] = `
108 <Fragment>
109   <Helmet
110     defer={true}
111     encodeSpecialCharacters={true}
112     title="my_account.create_new.TRK"
113     titleTemplate="%s"
114   />
115   <A11ySkipTarget
116     anchor="create_project_main"
117   />
118   <div
119     className="page page-limited huge-spacer-bottom position-relative"
120     id="create-project"
121   >
122     <BitbucketProjectCreate
123       bitbucketSettings={Array []}
124       canAdmin={false}
125       loadingBindings={true}
126       location={
127         Object {
128           "action": "PUSH",
129           "hash": "",
130           "key": "key",
131           "pathname": "/path",
132           "query": Object {
133             "mode": "bitbucket",
134           },
135           "search": "",
136           "state": Object {},
137         }
138       }
139       onProjectCreate={[Function]}
140     />
141   </div>
142 </Fragment>
143 `;
144
145 exports[`should render correctly if the GitHub method is selected 1`] = `
146 <Fragment>
147   <Helmet
148     defer={true}
149     encodeSpecialCharacters={true}
150     title="my_account.create_new.TRK"
151     titleTemplate="%s"
152   />
153   <A11ySkipTarget
154     anchor="create_project_main"
155   />
156   <div
157     className="page page-limited huge-spacer-bottom position-relative"
158     id="create-project"
159   >
160     <GitHubProjectCreate
161       canAdmin={false}
162       loadingBindings={true}
163       location={
164         Object {
165           "action": "PUSH",
166           "hash": "",
167           "key": "key",
168           "pathname": "/path",
169           "query": Object {
170             "mode": "github",
171           },
172           "search": "",
173           "state": Object {},
174         }
175       }
176       onProjectCreate={[Function]}
177       router={
178         Object {
179           "createHref": [MockFunction],
180           "createPath": [MockFunction],
181           "go": [MockFunction],
182           "goBack": [MockFunction],
183           "goForward": [MockFunction],
184           "isActive": [MockFunction],
185           "push": [MockFunction],
186           "replace": [MockFunction],
187           "setRouteLeaveHook": [MockFunction],
188         }
189       }
190       settings={Array []}
191     />
192   </div>
193 </Fragment>
194 `;
195
196 exports[`should render correctly if the GitLab method is selected 1`] = `
197 <Fragment>
198   <Helmet
199     defer={true}
200     encodeSpecialCharacters={true}
201     title="my_account.create_new.TRK"
202     titleTemplate="%s"
203   />
204   <A11ySkipTarget
205     anchor="create_project_main"
206   />
207   <div
208     className="page page-limited huge-spacer-bottom position-relative"
209     id="create-project"
210   >
211     <GitlabProjectCreate
212       canAdmin={false}
213       loadingBindings={true}
214       location={
215         Object {
216           "action": "PUSH",
217           "hash": "",
218           "key": "key",
219           "pathname": "/path",
220           "query": Object {
221             "mode": "gitlab",
222           },
223           "search": "",
224           "state": Object {},
225         }
226       }
227       onProjectCreate={[Function]}
228       router={
229         Object {
230           "createHref": [MockFunction],
231           "createPath": [MockFunction],
232           "go": [MockFunction],
233           "goBack": [MockFunction],
234           "goForward": [MockFunction],
235           "isActive": [MockFunction],
236           "push": [MockFunction],
237           "replace": [MockFunction],
238           "setRouteLeaveHook": [MockFunction],
239         }
240       }
241       settings={Array []}
242     />
243   </div>
244 </Fragment>
245 `;
246
247 exports[`should render correctly if the manual method is selected 1`] = `
248 <Fragment>
249   <Helmet
250     defer={true}
251     encodeSpecialCharacters={true}
252     title="my_account.create_new.TRK"
253     titleTemplate="%s"
254   />
255   <A11ySkipTarget
256     anchor="create_project_main"
257   />
258   <div
259     className="page page-limited huge-spacer-bottom position-relative"
260     id="create-project"
261   >
262     <ManualProjectCreate
263       onProjectCreate={[Function]}
264     />
265   </div>
266 </Fragment>
267 `;