]> source.dussan.org Git - sonarqube.git/blob
9b89e852330d05a9795758041556053aae9a3c6c
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should correctly display status message after checking license 1`] = `
4 <p
5   className="alert spacer-top alert-success"
6 >
7   marketplace.license_preview_status.NO_INSTALL.Foo
8 </p>
9 `;
10
11 exports[`should correctly display status message after checking license 2`] = `
12 <p
13   className="alert spacer-top alert-warning"
14 >
15   marketplace.license_preview_status.AUTOMATIC_INSTALL.Foo
16 </p>
17 `;
18
19 exports[`should correctly display status message after checking license 3`] = `
20 <p
21   className="alert spacer-top alert-danger"
22 >
23   marketplace.license_preview_status.MANUAL_INSTALL.Foo
24   <p
25     className="spacer-top"
26   >
27     <a
28       className="button"
29       download="sonarqube-Foo.zip"
30       href="download_url"
31       target="_blank"
32     >
33       marketplace.download_package
34     </a>
35     <a
36       className="spacer-left"
37       href="https://redirect.sonarsource.com/doc/how-to-install-an-edition.html"
38       target="_blank"
39     >
40       marketplace.how_to_install
41     </a>
42   </p>
43 </p>
44 `;
45
46 exports[`should display correctly 1`] = `
47 <div>
48   <label
49     htmlFor="set-license"
50   >
51     marketplace.enter_license_for_x.Foo
52     <em
53       className="mandatory"
54     >
55       *
56     </em>
57   </label>
58   <textarea
59     autoFocus={true}
60     className="spacer-top display-block"
61     cols={62}
62     id="set-license"
63     onChange={[Function]}
64     required={true}
65     rows={6}
66     value=""
67   />
68   <a
69     className="display-inline-block spacer-top"
70     href="license_url"
71     target="_blank"
72   >
73     marketplace.i_need_a_license
74   </a>
75 </div>
76 `;