diff options
Diffstat (limited to 'spec/frontend/monitoring/components/__snapshots__/empty_state_spec.js.snap')
-rw-r--r-- | spec/frontend/monitoring/components/__snapshots__/empty_state_spec.js.snap | 68 |
1 files changed, 40 insertions, 28 deletions
diff --git a/spec/frontend/monitoring/components/__snapshots__/empty_state_spec.js.snap b/spec/frontend/monitoring/components/__snapshots__/empty_state_spec.js.snap index 31b3ad1bd76..4f8a82692b8 100644 --- a/spec/frontend/monitoring/components/__snapshots__/empty_state_spec.js.snap +++ b/spec/frontend/monitoring/components/__snapshots__/empty_state_spec.js.snap @@ -1,37 +1,49 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`EmptyState shows gettingStarted state 1`] = ` -<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> + <!----> + + <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 loading state 1`] = ` -<gl-empty-state-stub - description="Creating graphs uses the data from the Prometheus server. If this takes a long time, ensure that data is available." - primarybuttonlink="/documentationPath" - primarybuttontext="View documentation" - secondarybuttonlink="" - secondarybuttontext="" - svgpath="/path/to/loading.svg" - title="Waiting for performance data" -/> +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`] = ` -<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> + <!----> + + <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> `; |