]> source.dussan.org Git - sonarqube.git/blob
dc15c4a504a81371a46d84af3ac2ec531f7b9183
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: loading 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/azure.svg"
15         />
16         onboarding.create_project.azure.title
17       </span>
18     }
19   />
20   <i
21     className="spinner"
22   />
23 </Fragment>
24 `;
25
26 exports[`should render correctly: no settings 1`] = `
27 <Fragment>
28   <CreateProjectPageHeader
29     title={
30       <span
31         className="text-middle"
32       >
33         <img
34           alt=""
35           className="spacer-right"
36           height="24"
37           src="/images/alm/azure.svg"
38         />
39         onboarding.create_project.azure.title
40       </span>
41     }
42   />
43   <WrongBindingCountAlert
44     alm="azure"
45     canAdmin={true}
46   />
47 </Fragment>
48 `;
49
50 exports[`should render correctly: project list 1`] = `
51 <Fragment>
52   <CreateProjectPageHeader
53     title={
54       <span
55         className="text-middle"
56       >
57         <img
58           alt=""
59           className="spacer-right"
60           height="24"
61           src="/images/alm/azure.svg"
62         />
63         onboarding.create_project.azure.title
64       </span>
65     }
66   />
67   <AzureProjectsList />
68 </Fragment>
69 `;
70
71 exports[`should render correctly: token form 1`] = `
72 <Fragment>
73   <CreateProjectPageHeader
74     title={
75       <span
76         className="text-middle"
77       >
78         <img
79           alt=""
80           className="spacer-right"
81           height="24"
82           src="/images/alm/azure.svg"
83         />
84         onboarding.create_project.azure.title
85       </span>
86     }
87   />
88   <div
89     className="display-flex-justify-center"
90   >
91     <AzurePersonalAccessTokenForm
92       almSetting={
93         Object {
94           "alm": "azure",
95           "key": "key",
96         }
97       }
98       onPersonalAccessTokenCreate={[MockFunction]}
99       submitting={false}
100       validationFailed={false}
101     />
102   </div>
103 </Fragment>
104 `;