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:
Ashley Harrison
2024-02-02 13:26:37 +00:00
committed by GitHub
parent cf6ebb0548
commit a30f8645d1
11 changed files with 50 additions and 65 deletions

View File

@@ -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',