-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
None
-
False
-
-
False
-
1
-
None
-
None
-
Sprint 275
Observe > Metrics > Add query - Run queries - Kebab icon
- Go To Observe > Metrics
- Click on Insert example query button
- Click on Add query
- Verify Expression rows
- There should be 2 rows
- 1st empty
- 2nd with sort_desc(sum(sum_over_time(ALERTS{alertstate="firing"}[24h])) by (alertname))
- Click on Kebab icon > Delete query
- Verify Expression rows
- There should be 1 row
- Click on Kebab icon > Disable query
- Empty state: Insert example query should be displayed
- Toggle off
- Collapsed row
- Svg viewBox= 0 0 320 512
or
- <path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path>
- Click on Kebab icon
- Verify Export as CSV
- It should not be displayed for disabled query //*[@class="pf-v5-c-menu__list-item"][5]
- Click on Toggle on
- Reset zoom should be displayed pf-v5-c-button pf-m-tertiary query-browser__inline-control
- Expanded row
- M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z
- Click on Kebab icon > Hide all series
- No datapoints found Div class text-secondary
- Legend disabled button class pf-v5-c-button pf-m-plain query-browser_series-btn query-browser_series-btn--disabled
- Click on Kebab icon > Show all series
- Legend enabled button class pf-v5-c-button pf-m-plain query-browser__series-btn
- Click on Kebab icon > Duplicate query
- There should be 2 rows
- Same expression
- 1st row: Toggle off
- 2nd row: Toggle on
- Click on Kebab icon > Delete query
- Empty state