grafana/public/app/features/explore/__snapshots__/Graph.test.tsx.snap

316 lines
6.6 KiB
Plaintext
Raw Normal View History

2018-09-25 04:50:55 -05:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Render should render component 1`] = `
<Fragment>
2018-09-25 04:50:55 -05:00
<div
className="explore-graph"
id="graph"
style={
Object {
2019-02-05 07:09:25 -06:00
"height": 100,
2018-09-25 04:50:55 -05:00
}
}
/>
<GraphLegend
displayMode="list"
items={
Array [
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
]
}
onLabelClick={[Function]}
placement="under"
/>
</Fragment>
2018-09-25 04:50:55 -05:00
`;
exports[`Render should render component with disclaimer 1`] = `
<Fragment>
2018-09-25 04:50:55 -05:00
<div
className="time-series-disclaimer"
>
<i
className="fa fa-fw fa-warning disclaimer-icon"
/>
2018-09-28 05:58:01 -05:00
Showing only 20 time series.
2018-09-25 04:50:55 -05:00
<span
className="show-all-time-series"
onClick={[Function]}
>
Show all 27
</span>
</div>
<div
className="explore-graph"
id="graph"
style={
Object {
2019-02-05 07:09:25 -06:00
"height": 100,
2018-09-25 04:50:55 -05:00
}
}
/>
<GraphLegend
displayMode="list"
items={
Array [
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
Object {
"color": undefined,
"isVisible": true,
"label": undefined,
"yAxis": 1,
},
]
}
onLabelClick={[Function]}
placement="under"
/>
</Fragment>
2018-09-25 04:50:55 -05:00
`;
exports[`Render should show query return no time series 1`] = `
<Fragment>
2018-09-25 04:50:55 -05:00
<div
className="explore-graph"
id="graph"
style={
Object {
2019-02-05 07:09:25 -06:00
"height": 100,
}
}
/>
<GraphLegend
displayMode="list"
items={Array []}
onLabelClick={[Function]}
placement="under"
/>
</Fragment>
2018-09-25 04:50:55 -05:00
`;