123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
-
- exports[`should render correctly 1`] = `
- <header
- className="page-header"
- >
- <h1
- className="page-title"
- >
- system_info.page
- </h1>
- <PageActions
- canDownloadLogs={false}
- cluster={true}
- logLevel="INFO"
- onLogLevelChange={[MockFunction]}
- />
- </header>
- `;
-
- exports[`should render correctly 2`] = `
- <header
- className="page-header"
- >
- <h1
- className="page-title"
- >
- system_info.page
- </h1>
- <div
- className="page-actions"
- >
- <i
- className="spinner"
- />
- </div>
- </header>
- `;
-
- exports[`should render correctly 3`] = `
- <header
- className="page-header"
- >
- <h1
- className="page-title"
- >
- system_info.page
- </h1>
- <PageActions
- canDownloadLogs={false}
- cluster={true}
- logLevel="INFO"
- onLogLevelChange={[MockFunction]}
- serverId="foo-bar"
- />
- <div
- className="system-info-copy-paste-id-info boxed-group "
- >
- <div
- className="display-flex-center"
- >
- <div
- className="flex-1"
- >
- <table
- className="width-100"
- >
- <tbody>
- <tr>
- <th>
- <strong>
- system.server_id
- </strong>
- </th>
- <td>
- <code>
- foo-bar
- </code>
- </td>
- </tr>
- <tr>
- <th>
- <strong>
- system.version
- </strong>
- </th>
- <td>
- <AppVersionStatus />
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <ClipboardButton
- className="flex-0"
- copyValue="SonarQube ID information
- Server ID: foo-bar
- Version: 7.7.0.1234
- Date: 2019-01-01
- "
- >
- system.copy_id_info
- </ClipboardButton>
- </div>
- </div>
- </header>
- `;
-
- exports[`should render correctly: on embedded database 1`] = `
- <header
- className="page-header"
- >
- <h1
- className="page-title"
- >
- system_info.page
- </h1>
- <PageActions
- canDownloadLogs={false}
- cluster={true}
- logLevel="INFO"
- onLogLevelChange={[MockFunction]}
- serverId="foo-bar"
- />
- <div
- className="system-info-copy-paste-id-info boxed-group "
- >
- <Alert
- className="width-100"
- variant="warning"
- >
- system.not_production_database_warning
- </Alert>
- <div
- className="display-flex-center"
- >
- <div
- className="flex-1"
- >
- <table
- className="width-100"
- >
- <tbody>
- <tr>
- <th>
- <strong>
- system.server_id
- </strong>
- </th>
- <td>
- <code>
- foo-bar
- </code>
- </td>
- </tr>
- <tr>
- <th>
- <strong>
- system.version
- </strong>
- </th>
- <td>
- <AppVersionStatus />
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <ClipboardButton
- className="flex-0"
- copyValue="SonarQube ID information
- Server ID: foo-bar
- Version: 7.7.0.1234
- Date: 2019-01-01
- "
- >
- system.copy_id_info
- </ClipboardButton>
- </div>
- </div>
- </header>
- `;
|