summaryrefslogtreecommitdiff
path: root/spec/frontend/monitoring/components/__snapshots__/empty_state_spec.js.snap
blob: 4f8a82692b8ae76bdfc4736330ca48c83d6b55c0 (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
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`EmptyState shows gettingStarted state 1`] = `
<div>
  <!---->
   
  <gl-empty-state-stub
    description="Stay updated about the performance and health of your environment by configuring Prometheus to monitor your deployments."
    primarybuttonlink="/clustersPath"
    primarybuttontext="Install on clusters"
    secondarybuttonlink="/settingsPath"
    secondarybuttontext="Configure existing installation"
    svgpath="/path/to/getting-started.svg"
    title="Get started with performance monitoring"
  />
</div>
`;

exports[`EmptyState shows noData state 1`] = `
<div>
  <!---->
   
  <gl-empty-state-stub
    description="You are connected to the Prometheus server, but there is currently no data to display."
    primarybuttonlink="/settingsPath"
    primarybuttontext="Configure Prometheus"
    secondarybuttonlink=""
    secondarybuttontext=""
    svgpath="/path/to/no-data.svg"
    title="No data found"
  />
</div>
`;

exports[`EmptyState shows unableToConnect state 1`] = `
<div>
  <!---->
   
  <gl-empty-state-stub
    description="Ensure connectivity is available from the GitLab server to the Prometheus server"
    primarybuttonlink="/documentationPath"
    primarybuttontext="View documentation"
    secondarybuttonlink="/settingsPath"
    secondarybuttontext="Configure Prometheus"
    svgpath="/path/to/unable-to-connect.svg"
    title="Unable to connect to Prometheus server"
  />
</div>
`;