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 528982a
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 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
2 changes: 1 addition & 1 deletion src/plugins/data/public/ui/query_editor/query_editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ export const QueryEditorUI: React.FC<Props> = (props) => {
: languageEditor.TopBar.Expanded && languageEditor.TopBar.Expanded()}
</div>
{languageSelector}
<div className="osdQueryEditor__querycontrols" data-test-subj="osdQueryEditorQuerycontrols">
<div className="osdQueryEditor__querycontrols" data-test-subj="osdQueryEditorQueryControls">
<EuiFlexGroup responsive={false} gutterSize="s" alignItems="center">
<div
ref={queryControlsContainer}
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 528982a

Please sign in to comment.