Prometheus: Migrate remaining selectors to data-testid (#106564)

This commit is contained in:
Ida Štambuk
2025-06-26 10:22:42 +00:00
committed by GitHub
parent 2297417374
commit 2e9c4a76c4
7 changed files with 11 additions and 14 deletions
@@ -250,13 +250,13 @@ export const versionedComponents = {
'10.4.0': 'data-testid prometheus format',
},
step: {
'10.4.0': 'prometheus-step', // id for autosize component
'10.4.0': 'data-testid prometheus-step', // id for autosize component
},
type: {
'10.4.0': 'data-testid prometheus type', //wrapper for radio button group
},
exemplars: {
'10.4.0': 'prometheus-exemplars', // id for editor switch component
'10.4.0': 'data-testid prometheus-exemplars', // id for editor switch component
},
builder: {
// see QueryBuilder below for commented selectors
@@ -349,7 +349,7 @@ export const versionedComponents = {
},
annotations: {
minStep: {
'10.4.0': 'prometheus-annotation-min-step', // id for autosize input
'10.4.0': 'data-testid prometheus-annotation-min-step', // id for autosize input
},
title: {
'10.4.0': 'data-testid prometheus annotation title',