Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Metrics UI][Test Scenario] Metrics Explorer – Saved Views #97758

Closed
13 tasks done
simianhacker opened this issue Apr 20, 2021 · 2 comments
Closed
13 tasks done

[Metrics UI][Test Scenario] Metrics Explorer – Saved Views #97758

simianhacker opened this issue Apr 20, 2021 · 2 comments
Assignees
Labels
Feature:Metrics UI Metrics UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services

Comments

@simianhacker
Copy link
Member

simianhacker commented Apr 20, 2021

Summary

This set of test cases is a smoke test for Metrics Explorer saved view functionality

Setup

  • Create a test cluster in cloud
  • Download the nightly build candidate for Metricbeat
  • Setup Metricbeat locally on your laptop to send data to your test cluster
  • Open Kibana
  • Create an index pattern for metricbeat-*
  • Navigate to the Metrics UI and click on Metrics Explorer

Test Cases

Each of the following test cases assumes that you've navigated to the Metrics UI and clicked on Metrics Explorer for the first time. Since Metrics Explorer has a feature that saves where you left off, you might need to load the "Default View" to reset everything back to the defaults.

Saved Views

This set of tests assumes the Metrics Explorer is configured for Rate of system.network.in.bytes graph per host.name, system.network.name for the Last 1 hour.

  • Click on "Current view" and select "Save new view", enter `Hosts by Network Interface". Ensure that "Current view Unknown" now says "Current view Host by Network Interface"
  • Click on "Current view Hosts by Network Interface", click on "Load view", ensure "Hosts by Network Interface" is checked
  • Click on "Default view" and then the "Load view" button. Ensure the view changes to the defaults and the data loads correctly. (There is a bug with this behavior [Metrics UI] Loading saved views in Metrics Explorer results in 2 requests #72489)
  • Load "Hosts by Network Interface" again
  • Add system.network.out.bytes to metric bar, ensure charts have 2 series
  • Click on "Current view Host by Network Interface", then select "Update view" and "Save view", Load "Default view" then re-load "Host by Network Interface" and ensure the additional metric is present.
  • Click on "Current view Host by Network Interface", then select "Manage views". Ensure a fly out appears with both "Default view" and "Hosts by Network Interface"
  • Ensure you CANNOT delete "Default view"
  • Click on the star next to "Host by Network Interface", then click on "Default view" to load the default view.
  • Click on the "Inventory" tab at the top of the page. Use the developer console to "clear" local storage (localStorage.clear()). Click on "Metrics Explorer" tab and ensure the "Host by Network Interface" view loads by default.
  • Click on "Current view" and select "Manage views", ensure you can't delete the "Default view"
  • Try to delete "Hosts by Network Interface", ensure "Delete view?" button is disabled
  • Click the star icon next to "Default view", delete "Hosts by Network Interface". Ensure the view was deleted and close the fly out.
@simianhacker simianhacker added Feature:Metrics UI Metrics UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services labels Apr 20, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@neptunian neptunian self-assigned this Apr 26, 2021
@neptunian
Copy link
Contributor

Passed all clases im 7.13.0 snapshot on cloud with 7.13.0 metricbeat snapshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Metrics UI Metrics UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services
Projects
None yet
Development

No branches or pull requests

3 participants