]> source.dussan.org Git - sonarqube.git/blob
7677001d16fdc70c6f78cb637f4fed9ac6ccebb9
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <div
5   className="page-actions"
6 >
7   <span>
8     system.logs_level
9     :
10     <strong
11       className="little-spacer-left"
12     >
13       INFO
14     </strong>
15     <a
16       className="spacer-left link-no-underline"
17       href="#"
18       id="edit-logs-level-button"
19       onClick={[Function]}
20     >
21       <EditIcon
22         className="little-spacer-top"
23       />
24     </a>
25   </span>
26   <div
27     className="display-inline-block dropdown spacer-left"
28   >
29     <button
30       data-toggle="dropdown"
31     >
32       system.download_logs
33       <i
34         className="icon-dropdown little-spacer-left"
35       />
36     </button>
37     <ul
38       className="dropdown-menu"
39     >
40       <li>
41         <a
42           download="sonarqube_app.log"
43           href="/api/system/logs?process=app"
44           id="logs-link"
45           target="_blank"
46         >
47           Main Process
48         </a>
49       </li>
50       <li>
51         <a
52           download="sonarqube_ce.log"
53           href="/api/system/logs?process=ce"
54           id="ce-logs-link"
55           target="_blank"
56         >
57           Compute Engine
58         </a>
59       </li>
60       <li>
61         <a
62           download="sonarqube_es.log"
63           href="/api/system/logs?process=es"
64           id="es-logs-link"
65           target="_blank"
66         >
67           Elasticsearch
68         </a>
69       </li>
70       <li>
71         <a
72           download="sonarqube_web.log"
73           href="/api/system/logs?process=web"
74           id="web-logs-link"
75           target="_blank"
76         >
77           Web Server
78         </a>
79       </li>
80     </ul>
81   </div>
82   <a
83     className="button spacer-left"
84     download="sonarqube_system_info.json"
85     href="/api/system/info"
86     id="download-link"
87     onClick={[Function]}
88     target="_blank"
89   >
90     system.download_system_info
91   </a>
92   <button
93     className="spacer-left"
94     id="restart-server-button"
95     onClick={[Function]}
96   >
97     system.restart_server
98   </button>
99 </div>
100 `;
101
102 exports[`should render without restart and log download 1`] = `
103 <div
104   className="page-actions"
105 >
106   <span>
107     system.logs_level
108     :
109     <strong
110       className="little-spacer-left"
111     >
112       INFO
113     </strong>
114     <a
115       className="spacer-left link-no-underline"
116       href="#"
117       id="edit-logs-level-button"
118       onClick={[Function]}
119     >
120       <EditIcon
121         className="little-spacer-top"
122       />
123     </a>
124   </span>
125   <a
126     className="button spacer-left"
127     download="sonarqube_system_info.json"
128     href="/api/system/info"
129     id="download-link"
130     onClick={[Function]}
131     target="_blank"
132   >
133     system.download_system_info
134   </a>
135 </div>
136 `;