Skip to content

Commit

Permalink
Fix as per the comments
Browse files Browse the repository at this point in the history
Signed-off-by: Suchit Sahoo <[email protected]>
  • Loading branch information
LDrago27 committed Dec 13, 2024
1 parent e36c0bc commit 5bb43a9
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export function QueryResult(props: { queryStatus: QueryStatus }) {
size="xs"
color="danger"
className="editor__footerItem"
data-test-subj="editorfooterItem"
data-test-subj="editorFooterItem"
>
{i18n.translate('data.query.languageService.queryResults.error', {
defaultMessage: `Error`,
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/data/public/ui/query_editor/editors/shared.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const SingleLineInput: React.FC<SingleLineInputProps> = ({
return (
<div
className="euiFormControlLayout euiFormControlLayout--compressed euiFormControlLayout--group osdQueryBar__wrap"
data-test-subj="euiFormControlLayout euiFormControlLayout--compressed euiFormControlLayout--group osdQueryBar__wrap"
data-test-subj="osdQueryBarWrapper"
>
{prepend}
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export const QueryLanguageSelector = (props: QueryLanguageSelectorProps) => {
<EuiContextMenuItem
key={language.label}
className="languageSelector__menuItem"
data-test-subj="languageSelector"
data-test-subj="languageSelectorMenuItem"
icon={language.label === selectedLanguage.label ? 'check' : 'empty'}
onClick={() => handleLanguageChange(language.value)}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ export default function QueryEditorTopRow(props: QueryEditorTopRowProps) {
onSubmit={onInputSubmit}
persistedLog={persistedLog}
className="osdQueryEditor"
data-test-subj="osdQueryEditor"
dataTestSubj={props.dataTestSubj}
filterBar={props.filterBar}
savedQueryManagement={props.savedQueryManagement}
Expand Down

0 comments on commit 5bb43a9

Please sign in to comment.