]> source.dussan.org Git - sonarqube.git/blob
6814875f5ba96d57f04ac6688dce80533bf8850c
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should disable install button 1`] = `
4 <div
5   className="boxed-group boxed-group-inner marketplace-edition"
6 >
7   <span
8     className="marketplace-edition-badge badge badge-normal-size"
9   >
10     <CheckIcon
11       className="little-spacer-right text-text-top"
12       size={14}
13     />
14     marketplace.installed
15   </span>
16   <div>
17     <h3
18       className="spacer-bottom"
19     >
20       Foo
21     </h3>
22     <p>
23       Foo desc
24     </p>
25   </div>
26   <div
27     className="marketplace-edition-action spacer-top"
28   >
29     <a
30       href="more_url"
31       target="_blank"
32     >
33       marketplace.learn_more
34     </a>
35     <button
36       className="button-red"
37       disabled={true}
38     >
39       marketplace.uninstall
40     </button>
41   </div>
42 </div>
43 `;
44
45 exports[`should disable uninstall button 1`] = `
46 <div
47   className="boxed-group boxed-group-inner marketplace-edition"
48 >
49   <span
50     className="marketplace-edition-badge badge badge-normal-size"
51   >
52     marketplace.installing
53   </span>
54   <div>
55     <h3
56       className="spacer-bottom"
57     >
58       Foo
59     </h3>
60     <p>
61       Foo desc
62     </p>
63   </div>
64   <div
65     className="marketplace-edition-action spacer-top"
66   >
67     <a
68       href="more_url"
69       target="_blank"
70     >
71       marketplace.learn_more
72     </a>
73     <button
74       disabled={true}
75     >
76       marketplace.install
77     </button>
78   </div>
79 </div>
80 `;
81
82 exports[`should display installed badge 1`] = `
83 <div
84   className="boxed-group boxed-group-inner marketplace-edition"
85 >
86   <span
87     className="marketplace-edition-badge badge badge-normal-size"
88   >
89     <CheckIcon
90       className="little-spacer-right text-text-top"
91       size={14}
92     />
93     marketplace.installed
94   </span>
95   <div>
96     <h3
97       className="spacer-bottom"
98     >
99       Foo
100     </h3>
101     <p>
102       Foo desc
103     </p>
104   </div>
105   <div
106     className="marketplace-edition-action spacer-top"
107   >
108     <a
109       href="more_url"
110       target="_blank"
111     >
112       marketplace.learn_more
113     </a>
114     <button
115       className="button-red"
116       disabled={false}
117     >
118       marketplace.uninstall
119     </button>
120   </div>
121 </div>
122 `;
123
124 exports[`should display installing badge 1`] = `
125 <div
126   className="boxed-group boxed-group-inner marketplace-edition"
127 >
128   <span
129     className="marketplace-edition-badge badge badge-normal-size"
130   >
131     marketplace.installing
132   </span>
133   <div>
134     <h3
135       className="spacer-bottom"
136     >
137       Foo
138     </h3>
139     <p>
140       Foo desc
141     </p>
142   </div>
143   <div
144     className="marketplace-edition-action spacer-top"
145   >
146     <a
147       href="more_url"
148       target="_blank"
149     >
150       marketplace.learn_more
151     </a>
152     <button
153       className="button-red"
154       disabled={false}
155     >
156       marketplace.uninstall
157     </button>
158   </div>
159 </div>
160 `;
161
162 exports[`should display the edition 1`] = `
163 <div
164   className="boxed-group boxed-group-inner marketplace-edition"
165 >
166   <div>
167     <h3
168       className="spacer-bottom"
169     >
170       Foo
171     </h3>
172     <p>
173       Foo desc
174     </p>
175   </div>
176   <div
177     className="marketplace-edition-action spacer-top"
178   >
179     <a
180       href="more_url"
181       target="_blank"
182     >
183       marketplace.learn_more
184     </a>
185     <button
186       disabled={false}
187     >
188       marketplace.install
189     </button>
190   </div>
191 </div>
192 `;