]> source.dussan.org Git - sonarqube.git/blob
eb413b12cc67fa9d65935903656037c6f8e780ed
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`Should render correctly 1`] = `
4 <Fragment>
5   <CreateProjectPageHeader
6     title={
7       <span
8         className="text-middle"
9       >
10         <img
11           alt=""
12           className="spacer-right"
13           height="24"
14           src="/images/alm/bitbucket.svg"
15         />
16         onboarding.create_project.bitbucketcloud.title
17       </span>
18     }
19   />
20   <BitbucketCloudSearchForm
21     isLastPage={true}
22     loadingMore={false}
23     onImport={[MockFunction]}
24     onLoadMore={[MockFunction]}
25     onSearch={[MockFunction]}
26     searchQuery=""
27     searching={false}
28   />
29 </Fragment>
30 `;
31
32 exports[`Should render correctly: Loading... 1`] = `
33 <Fragment>
34   <CreateProjectPageHeader
35     title={
36       <span
37         className="text-middle"
38       >
39         <img
40           alt=""
41           className="spacer-right"
42           height="24"
43           src="/images/alm/bitbucket.svg"
44         />
45         onboarding.create_project.bitbucketcloud.title
46       </span>
47     }
48   />
49   <i
50     className="spinner"
51   />
52 </Fragment>
53 `;
54
55 exports[`Should render correctly: Need App password 1`] = `
56 <Fragment>
57   <CreateProjectPageHeader
58     title={
59       <span
60         className="text-middle"
61       >
62         <img
63           alt=""
64           className="spacer-right"
65           height="24"
66           src="/images/alm/bitbucket.svg"
67         />
68         onboarding.create_project.bitbucketcloud.title
69       </span>
70     }
71   />
72   <PersonalAccessTokenForm
73     almSetting={
74       Object {
75         "alm": "bitbucketcloud",
76         "key": "key",
77       }
78     }
79     onPersonalAccessTokenCreated={[MockFunction]}
80     resetPat={false}
81   />
82 </Fragment>
83 `;
84
85 exports[`Should render correctly: Wrong config 1`] = `
86 <Fragment>
87   <CreateProjectPageHeader
88     title={
89       <span
90         className="text-middle"
91       >
92         <img
93           alt=""
94           className="spacer-right"
95           height="24"
96           src="/images/alm/bitbucket.svg"
97         />
98         onboarding.create_project.bitbucketcloud.title
99       </span>
100     }
101   />
102   <WrongBindingCountAlert
103     alm="bitbucketcloud"
104     canAdmin={false}
105   />
106 </Fragment>
107 `;