Alerting: Migrate from aria-label e2e selectors to data-testid (#78437)

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
This commit is contained in:
Khushi Jain
2023-11-27 20:54:31 +05:30
committed by GitHub
parent 6708848056
commit b7c74a1af6
5 changed files with 10 additions and 13 deletions

View File

@@ -214,7 +214,7 @@ export const Components = {
container: (refId: string) => `Query editor row ${refId}`,
},
AlertTab: {
content: 'Alert editor tab content',
content: 'data-testid Alert editor tab content',
},
Alert: {
/**
@@ -405,7 +405,7 @@ export const Components = {
submit: 'data-testid-import-dashboard-submit',
},
PanelAlertTabContent: {
content: 'Unified alert editor tab content',
content: 'data-testid Unified alert editor tab content',
},
VisualizationPreview: {
card: (name: string) => `data-testid suggestion-${name}`,