mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
A11y: Fix fastpass issues for /explore with gdev-testdata (#40309)
* A11y: Fix fastpass issues for /explore with gdev-testdata * Chore: changes after PR feedback * Chore: revert file to main * Tests: fix for e2e tests
This commit is contained in:
@@ -209,7 +209,11 @@ export const Components = {
|
||||
},
|
||||
DataSourcePicker: {
|
||||
container: 'Data source picker select container',
|
||||
/**
|
||||
* @deprecated use inputV2 instead
|
||||
*/
|
||||
input: () => 'input[id="data-source-picker"]',
|
||||
inputV2: 'Select a data source',
|
||||
},
|
||||
TimeZonePicker: {
|
||||
container: 'Time zone picker select container',
|
||||
|
||||
@@ -145,6 +145,7 @@ export class DataSourcePicker extends PureComponent<DataSourcePickerProps, DataS
|
||||
return (
|
||||
<div aria-label={selectors.components.DataSourcePicker.container}>
|
||||
<Select
|
||||
aria-label={selectors.components.DataSourcePicker.inputV2}
|
||||
inputId="data-source-picker"
|
||||
menuShouldPortal
|
||||
className={styles.select}
|
||||
|
||||
Reference in New Issue
Block a user