summaryrefslogtreecommitdiff
path: root/spec/frontend/monitoring/components/__snapshots__/group_empty_state_spec.js.snap
blob: c30fb572826b7b5338f27515e7f43fb8daba8488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`GroupEmptyState Renders an empty state for BAD_QUERY 1`] = `
<gl-empty-state-stub
  compact="true"
  primarybuttonlink="/path/to/settings"
  primarybuttontext="Verify configuration"
  svgpath="/path/to/empty-group-illustration.svg"
  title="Query cannot be processed"
/>
`;

exports[`GroupEmptyState Renders an empty state for BAD_QUERY 2`] = `"The Prometheus server responded with \\"bad request\\". Please check your queries are correct and are supported in your Prometheus version. <a href=\\"/path/to/docs\\">More information</a>"`;

exports[`GroupEmptyState Renders an empty state for CONNECTION_FAILED 1`] = `
<gl-empty-state-stub
  compact="true"
  description="We couldn't reach the Prometheus server. Either the server no longer exists or the configuration details need updating."
  primarybuttonlink="/path/to/settings"
  primarybuttontext="Verify configuration"
  svgpath="/path/to/empty-group-illustration.svg"
  title="Connection failed"
/>
`;

exports[`GroupEmptyState Renders an empty state for CONNECTION_FAILED 2`] = `undefined`;

exports[`GroupEmptyState Renders an empty state for FOO STATE 1`] = `
<gl-empty-state-stub
  compact="true"
  description="An error occurred while loading the data. Please try again."
  svgpath="/path/to/empty-group-illustration.svg"
  title="An error has occurred"
/>
`;

exports[`GroupEmptyState Renders an empty state for FOO STATE 2`] = `undefined`;

exports[`GroupEmptyState Renders an empty state for LOADING 1`] = `
<gl-empty-state-stub
  compact="true"
  description="Creating graphs uses the data from the Prometheus server. If this takes a long time, ensure that data is available."
  svgpath="/path/to/empty-group-illustration.svg"
  title="Waiting for performance data"
/>
`;

exports[`GroupEmptyState Renders an empty state for LOADING 2`] = `undefined`;

exports[`GroupEmptyState Renders an empty state for NO_DATA 1`] = `
<gl-empty-state-stub
  compact="true"
  svgpath="/path/to/empty-group-illustration.svg"
  title="No data to display"
/>
`;

exports[`GroupEmptyState Renders an empty state for NO_DATA 2`] = `"The data source is connected, but there is no data to display. <a href=\\"/path/to/docs\\">More information</a>"`;

exports[`GroupEmptyState Renders an empty state for TIMEOUT 1`] = `
<gl-empty-state-stub
  compact="true"
  svgpath="/path/to/empty-group-illustration.svg"
  title="Connection timed out"
/>
`;

exports[`GroupEmptyState Renders an empty state for TIMEOUT 2`] = `"Charts can't be displayed as the request for data has timed out. <a href=\\"/path/to/docs\\">More information</a>"`;

exports[`GroupEmptyState Renders an empty state for UNKNOWN_ERROR 1`] = `
<gl-empty-state-stub
  compact="true"
  description="An error occurred while loading the data. Please try again."
  svgpath="/path/to/empty-group-illustration.svg"
  title="An error has occurred"
/>
`;

exports[`GroupEmptyState Renders an empty state for UNKNOWN_ERROR 2`] = `undefined`;