Add tests to cover multiple time series in the time_series components
Currently in our time_series.vue
component that is part of the monitoring dashboard application, the tests cover the functionality of the component with only a single time series, we should add tests that include at least some of the following scenarios:
- Multiple time series and the colors for the area (on the area-chart component) and the lines that the chart contains.
- Multiple alert support for the multiple time series, this is a new feature that is not scheduled as a deliverable for %12.9
This is a follow up issue from: !24921 (comment 286577366)
I suggest we open an issue to follow this up and test with more series than available colors (e.g. 5 series) to check that the colors circle back. Our component doesn't depend on vuex but spec does, and this leads to rigidity in the mock data sources, so that should be our goal there.
Edited by Jose Ivan Vargas