]> source.dussan.org Git - sonarqube.git/blob
68e71143079fcfa86214ea9d7510645c3037b55c
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: invalid settings 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/gitlab.svg"
15         />
16         onboarding.create_project.gitlab.title
17       </span>
18     }
19   />
20   <WrongBindingCountAlert
21     alm="gitlab"
22     canAdmin={false}
23   />
24 </Fragment>
25 `;
26
27 exports[`should render correctly: invalid settings, admin user 1`] = `
28 <Fragment>
29   <CreateProjectPageHeader
30     title={
31       <span
32         className="text-middle"
33       >
34         <img
35           alt=""
36           className="spacer-right"
37           height="24"
38           src="/images/alm/gitlab.svg"
39         />
40         onboarding.create_project.gitlab.title
41       </span>
42     }
43   />
44   <WrongBindingCountAlert
45     alm="gitlab"
46     canAdmin={true}
47   />
48 </Fragment>
49 `;
50
51 exports[`should render correctly: loading 1`] = `
52 <Fragment>
53   <CreateProjectPageHeader
54     title={
55       <span
56         className="text-middle"
57       >
58         <img
59           alt=""
60           className="spacer-right"
61           height="24"
62           src="/images/alm/gitlab.svg"
63         />
64         onboarding.create_project.gitlab.title
65       </span>
66     }
67   />
68   <i
69     className="spinner"
70   />
71 </Fragment>
72 `;
73
74 exports[`should render correctly: pat form 1`] = `
75 <Fragment>
76   <CreateProjectPageHeader
77     title={
78       <span
79         className="text-middle"
80       >
81         <img
82           alt=""
83           className="spacer-right"
84           height="24"
85           src="/images/alm/gitlab.svg"
86         />
87         onboarding.create_project.gitlab.title
88       </span>
89     }
90   />
91   <PersonalAccessTokenForm
92     almSetting={
93       Object {
94         "alm": "gitlab",
95         "key": "key",
96       }
97     }
98     onPersonalAccessTokenCreated={[MockFunction]}
99     resetPat={false}
100   />
101 </Fragment>
102 `;
103
104 exports[`should render correctly: project selection form 1`] = `
105 <Fragment>
106   <CreateProjectPageHeader
107     title={
108       <span
109         className="text-middle"
110       >
111         <img
112           alt=""
113           className="spacer-right"
114           height="24"
115           src="/images/alm/gitlab.svg"
116         />
117         onboarding.create_project.gitlab.title
118       </span>
119     }
120   />
121   <GitlabProjectSelectionForm
122     loadingMore={false}
123     onImport={[MockFunction]}
124     onLoadMore={[MockFunction]}
125     onSearch={[MockFunction]}
126     projectsPaging={
127       Object {
128         "pageIndex": 1,
129         "pageSize": 30,
130         "total": 0,
131       }
132     }
133     searchQuery=""
134     searching={false}
135   />
136 </Fragment>
137 `;