]> source.dussan.org Git - sonarqube.git/blob
352798750668875b5cba46529b1dfe3f91c02131
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <div
5   className="bordered"
6 >
7   <AlmTab
8     additionalColumnsHeaders={
9       Array [
10         "settings.almintegration.table.column.bitbucket.url",
11       ]
12     }
13     additionalColumnsKeys={
14       Array [
15         "url",
16       ]
17     }
18     additionalTableInfo={
19       <Alert
20         className="big-spacer-bottom width-50"
21         variant="info"
22       >
23         <FormattedMessage
24           defaultMessage="settings.almintegration.feature.alm_repo_import.disabled_if_multiple_bbs_instances"
25           id="settings.almintegration.feature.alm_repo_import.disabled_if_multiple_bbs_instances"
26           values={
27             Object {
28               "feature": <em>
29                 settings.almintegration.feature.alm_repo_import.title
30               </em>,
31             }
32           }
33         />
34       </Alert>
35     }
36     alm="bitbucket"
37     createConfiguration={[Function]}
38     defaultBinding={
39       Object {
40         "key": "",
41         "personalAccessToken": "",
42         "url": "",
43       }
44     }
45     definitions={
46       Array [
47         Object {
48           "key": "key",
49           "personalAccessToken": "asdf1234",
50           "url": "http://bbs.enterprise.com",
51         },
52       ]
53     }
54     features={
55       Array [
56         Object {
57           "active": true,
58           "description": "settings.almintegration.feature.pr_decoration.description",
59           "inactiveReason": "settings.almintegration.feature.need_at_least_1_binding",
60           "name": "settings.almintegration.feature.pr_decoration.title",
61         },
62         Object {
63           "active": true,
64           "description": "settings.almintegration.feature.alm_repo_import.description",
65           "inactiveReason": "onboarding.create_project.too_many_bbs_instances_X.1",
66           "name": "settings.almintegration.feature.alm_repo_import.title",
67         },
68       ]
69     }
70     form={[Function]}
71     help={
72       <React.Fragment>
73         <h3>
74           onboarding.create_project.pat_help.title
75         </h3>
76         <p
77           className="big-spacer-top"
78         >
79           settings.almintegration.bitbucket.help_1
80         </p>
81         <ul
82           className="big-spacer-top list-styled"
83         >
84           <li>
85             settings.almintegration.bitbucket.help_2
86           </li>
87           <li>
88             settings.almintegration.bitbucket.help_3
89           </li>
90         </ul>
91         <p
92           className="big-spacer-top big-spacer-bottom"
93         >
94           <Link
95             onlyActiveOnIndex={false}
96             style={Object {}}
97             target="_blank"
98             to="/documentation/analysis/pr-decoration/"
99           >
100             learn_more
101           </Link>
102         </p>
103       </React.Fragment>
104     }
105     loading={false}
106     multipleAlmEnabled={true}
107     onDelete={[MockFunction]}
108     onUpdateDefinitions={[MockFunction]}
109     updateConfiguration={[Function]}
110   />
111 </div>
112 `;