]> source.dussan.org Git - sonarqube.git/blob
9792203714fb075db7298185f3aa049513633fec
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <header
5   className="page-header"
6 >
7   <h1
8     className="page-title"
9   >
10     system_info.page
11   </h1>
12   <PageActions
13     canDownloadLogs={false}
14     canRestart={false}
15     cluster={true}
16     logLevel="INFO"
17     onLogLevelChange={[MockFunction]}
18   />
19 </header>
20 `;
21
22 exports[`should render correctly 2`] = `
23 <header
24   className="page-header"
25 >
26   <h1
27     className="page-title"
28   >
29     system_info.page
30   </h1>
31   <div
32     className="page-actions"
33   >
34     <i
35       className="spinner"
36     />
37   </div>
38 </header>
39 `;
40
41 exports[`should render correctly 3`] = `
42 <header
43   className="page-header"
44 >
45   <h1
46     className="page-title"
47   >
48     system_info.page
49   </h1>
50   <PageActions
51     canDownloadLogs={false}
52     canRestart={false}
53     cluster={true}
54     logLevel="INFO"
55     onLogLevelChange={[MockFunction]}
56     serverId="foo-bar"
57   />
58   <div
59     className="system-info-copy-paste-id-info boxed-group display-flex-center"
60   >
61     <div
62       className="flex-1"
63     >
64       <table
65         className="width-100"
66       >
67         <tbody>
68           <tr>
69             <th>
70               <strong>
71                 system.server_id
72               </strong>
73             </th>
74             <td>
75               <code>
76                 foo-bar
77               </code>
78             </td>
79           </tr>
80           <tr>
81             <th>
82               <strong>
83                 system.version
84               </strong>
85             </th>
86             <td>
87               7.7.0.1234
88             </td>
89           </tr>
90         </tbody>
91       </table>
92     </div>
93     <ClipboardButton
94       className="flex-0"
95       copyValue="SonarQube ID information
96 Server ID: foo-bar
97 Version: 7.7.0.1234
98 Date: 2019-01-01
99 "
100     >
101       system.copy_id_info
102     </ClipboardButton>
103   </div>
104 </header>
105 `;