]> source.dussan.org Git - sonarqube.git/blob
33452300e00e952fc9217e569aff7ad898d40eab
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <Fragment>
5   <AlmBindingDefinitionFormField
6     autoFocus={true}
7     help="settings.almintegration.form.name.gitlab.help"
8     id="name.gitlab"
9     onFieldChange={[MockFunction]}
10     propKey="key"
11     value=""
12   />
13   <AlmBindingDefinitionFormField
14     help={
15       <React.Fragment>
16         settings.almintegration.form.url.gitlab.help
17         <br />
18         <em>
19           https://gitlab.com/api/v4
20         </em>
21       </React.Fragment>
22     }
23     id="url.gitlab"
24     maxLength={2000}
25     onFieldChange={[MockFunction]}
26     propKey="url"
27     value=""
28   />
29   <AlmBindingDefinitionFormField
30     help={
31       <FormattedMessage
32         defaultMessage="settings.almintegration.form.personal_access_token.gitlab.help"
33         id="settings.almintegration.form.personal_access_token.gitlab.help"
34         values={
35           Object {
36             "doc_link": <Link
37               onlyActiveOnIndex={false}
38               style={Object {}}
39               target="_blank"
40               to="/documentation/analysis/gitlab-integration/"
41             >
42               learn_more
43             </Link>,
44             "pat": <a
45               href="https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html"
46               rel="noopener noreferrer"
47               target="_blank"
48             >
49               settings.almintegration.form.personal_access_token.gitlab.help.url
50             </a>,
51             "permission": <strong>
52               Reporter
53             </strong>,
54             "scope": <strong>
55               api
56             </strong>,
57           }
58         }
59       />
60     }
61     id="personal_access_token"
62     isSecret={true}
63     isTextArea={true}
64     maxLength={2000}
65     onFieldChange={[MockFunction]}
66     overwriteOnly={false}
67     propKey="personalAccessToken"
68     value=""
69   />
70 </Fragment>
71 `;
72
73 exports[`should render correctly 2`] = `
74 <Fragment>
75   <AlmBindingDefinitionFormField
76     autoFocus={true}
77     help="settings.almintegration.form.name.gitlab.help"
78     id="name.gitlab"
79     onFieldChange={[MockFunction]}
80     propKey="key"
81     value="foo"
82   />
83   <AlmBindingDefinitionFormField
84     help={
85       <React.Fragment>
86         settings.almintegration.form.url.gitlab.help
87         <br />
88         <em>
89           https://gitlab.com/api/v4
90         </em>
91       </React.Fragment>
92     }
93     id="url.gitlab"
94     maxLength={2000}
95     onFieldChange={[MockFunction]}
96     propKey="url"
97     value=""
98   />
99   <AlmBindingDefinitionFormField
100     help={
101       <FormattedMessage
102         defaultMessage="settings.almintegration.form.personal_access_token.gitlab.help"
103         id="settings.almintegration.form.personal_access_token.gitlab.help"
104         values={
105           Object {
106             "doc_link": <Link
107               onlyActiveOnIndex={false}
108               style={Object {}}
109               target="_blank"
110               to="/documentation/analysis/gitlab-integration/"
111             >
112               learn_more
113             </Link>,
114             "pat": <a
115               href="https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html"
116               rel="noopener noreferrer"
117               target="_blank"
118             >
119               settings.almintegration.form.personal_access_token.gitlab.help.url
120             </a>,
121             "permission": <strong>
122               Reporter
123             </strong>,
124             "scope": <strong>
125               api
126             </strong>,
127           }
128         }
129       />
130     }
131     id="personal_access_token"
132     isSecret={true}
133     isTextArea={true}
134     maxLength={2000}
135     onFieldChange={[MockFunction]}
136     overwriteOnly={true}
137     propKey="personalAccessToken"
138     value="foobar"
139   />
140 </Fragment>
141 `;