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