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