debian-mirror-gitlab/spec/frontend/monitoring/components/__snapshots__/dashboard_template_spec.js.snap

132 lines
3.6 KiB
Text
Raw Normal View History

2020-03-13 15:44:24 +05:30
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Dashboard template matches the default snapshot 1`] = `
<div
class="prometheus-graphs"
data-qa-selector="prometheus_graphs"
2020-07-28 23:09:34 +05:30
environmentstate="available"
metricsdashboardbasepath="/monitoring/monitor-project/-/environments/1/metrics"
metricsendpoint="/monitoring/monitor-project/-/environments/1/additional_metrics.json"
prometheusstatus=""
2020-03-13 15:44:24 +05:30
>
<div
2020-04-22 19:07:51 +05:30
class="prometheus-graphs-header d-sm-flex flex-sm-wrap pt-2 pr-1 pb-0 pl-2 border-bottom bg-gray-light"
2020-03-13 15:44:24 +05:30
>
<div
2020-07-28 23:09:34 +05:30
class="mb-2 mr-2 d-flex d-sm-block"
2020-03-13 15:44:24 +05:30
>
2020-04-22 19:07:51 +05:30
<dashboards-dropdown-stub
class="flex-grow-1"
data-qa-selector="dashboards_filter_dropdown"
defaultbranch="master"
id="monitor-dashboards-dropdown"
toggle-class="dropdown-menu-toggle"
/>
</div>
2020-07-28 23:09:34 +05:30
<span
aria-hidden="true"
class="gl-pl-3 border-left gl-mb-3 d-none d-sm-block"
/>
2020-04-22 19:07:51 +05:30
<div
class="mb-2 pr-2 d-flex d-sm-block"
>
2020-11-24 15:15:51 +05:30
<gl-dropdown-stub
2021-02-22 17:27:13 +05:30
category="primary"
2020-04-22 19:07:51 +05:30
class="flex-grow-1"
data-qa-selector="environments_dropdown"
2020-10-24 23:57:45 +05:30
headertext=""
2021-03-08 18:12:59 +05:30
hideheaderborder="true"
2020-04-22 19:07:51 +05:30
id="monitor-environments-dropdown"
menu-class="monitor-environment-dropdown-menu"
2020-10-24 23:57:45 +05:30
size="medium"
2020-04-22 19:07:51 +05:30
text="production"
2020-10-24 23:57:45 +05:30
toggleclass="dropdown-menu-toggle"
variant="default"
2020-03-13 15:44:24 +05:30
>
2020-04-22 19:07:51 +05:30
<div
class="d-flex flex-column overflow-hidden"
2020-03-13 15:44:24 +05:30
>
2020-11-24 15:15:51 +05:30
<gl-dropdown-section-header-stub>
2020-10-24 23:57:45 +05:30
Environment
2020-11-24 15:15:51 +05:30
</gl-dropdown-section-header-stub>
2020-04-22 19:07:51 +05:30
<gl-search-box-by-type-stub
clearbuttontitle="Clear"
value=""
/>
<div
class="flex-fill overflow-auto"
/>
2020-03-13 15:44:24 +05:30
<div
2020-04-22 19:07:51 +05:30
class="text-secondary no-matches-message"
2020-03-13 15:44:24 +05:30
>
2020-06-23 00:09:42 +05:30
No matching results
2020-03-13 15:44:24 +05:30
</div>
2020-04-22 19:07:51 +05:30
</div>
2020-11-24 15:15:51 +05:30
</gl-dropdown-stub>
2020-04-22 19:07:51 +05:30
</div>
<div
class="mb-2 pr-2 d-flex d-sm-block"
>
<date-time-picker-stub
class="flex-grow-1 show-last-dropdown"
customenabled="true"
2020-05-24 23:13:21 +05:30
data-qa-selector="range_picker_dropdown"
2020-04-22 19:07:51 +05:30
options="[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]"
value="[object Object]"
/>
</div>
<div
class="mb-2 pr-2 d-flex d-sm-block"
>
2020-07-28 23:09:34 +05:30
<refresh-button-stub />
2020-04-22 19:07:51 +05:30
</div>
<div
class="flex-grow-1"
/>
<div
class="d-sm-flex"
>
<!---->
2020-03-13 15:44:24 +05:30
2020-04-22 19:07:51 +05:30
<!---->
2020-10-24 23:57:45 +05:30
<div
class="gl-mb-3 gl-mr-3 d-flex d-sm-block"
>
<actions-menu-stub
custommetricspath="/monitoring/monitor-project/prometheus/metrics"
defaultbranch="master"
isootbdashboard="true"
validatequerypath="/monitoring/monitor-project/prometheus/metrics/validate_query"
/>
</div>
2020-07-28 23:09:34 +05:30
<!---->
2020-03-13 15:44:24 +05:30
</div>
</div>
<empty-state-stub
2020-07-28 23:09:34 +05:30
clusterspath="/monitoring/monitor-project/-/clusters"
documentationpath="/help/administration/monitoring/prometheus/index.md"
emptygettingstartedsvgpath="/images/illustrations/monitoring/getting_started.svg"
emptyloadingsvgpath="/images/illustrations/monitoring/loading.svg"
emptynodatasmallsvgpath="/images/illustrations/chart-empty-state-small.svg"
emptynodatasvgpath="/images/illustrations/monitoring/no_data.svg"
emptyunabletoconnectsvgpath="/images/illustrations/monitoring/unable_to_connect.svg"
2020-03-13 15:44:24 +05:30
selectedstate="gettingStarted"
2020-07-28 23:09:34 +05:30
settingspath="/monitoring/monitor-project/-/services/prometheus/edit"
2020-03-13 15:44:24 +05:30
/>
</div>
`;