Fix passing dataTestSubj to SearchBar (#154059)

## Summary

We are missing passing of dataTestSubj prop to the actual Search Bar,
due to which setting of custom dataTestSubj is not working.

Found during working on implementing Unified SearchBar for APM -
https://github.com/elastic/kibana/issues/152147
This commit is contained in:
Achyut Jhunjhunwala 2023-03-31 09:34:11 +02:00 committed by GitHub
parent 0f03b0c1d2
commit 0ea5cdc52b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -232,6 +232,7 @@ export function createSearchBar({
onTextBasedSavedAndExit={props.onTextBasedSavedAndExit}
displayStyle={props.displayStyle}
isScreenshotMode={isScreenshotMode}
dataTestSubj={props.dataTestSubj}
/>
</core.i18n.Context>
</KibanaContextProvider>