mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Migrate frontend platform code to use data-testid for selectors (#81787)
* migrate some stuff from aria-label to data-testid * convert styles to objects * fix unit tests * empty commit to kick drone now enterprise branch is there
This commit is contained in:
@@ -285,7 +285,7 @@ export const Components = {
|
||||
rows: 'Query editor row',
|
||||
},
|
||||
QueryEditorRow: {
|
||||
actionButton: (title: string) => `${title}`,
|
||||
actionButton: (title: string) => `data-testid ${title}`,
|
||||
title: (refId: string) => `Query editor row title ${refId}`,
|
||||
container: (refId: string) => `Query editor row ${refId}`,
|
||||
},
|
||||
@@ -392,7 +392,7 @@ export const Components = {
|
||||
*/
|
||||
container: 'Folder picker select container',
|
||||
containerV2: 'data-testid Folder picker select container',
|
||||
input: 'Select a folder',
|
||||
input: 'data-testid folder-picker-input',
|
||||
},
|
||||
ReadonlyFolderPicker: {
|
||||
container: 'data-testid Readonly folder picker select container',
|
||||
|
||||
Reference in New Issue
Block a user