Skip to content

Commit

Permalink
more data test subjects
Browse files Browse the repository at this point in the history
Signed-off-by: abbyhu2000 <[email protected]>
  • Loading branch information
abbyhu2000 committed Oct 22, 2024
1 parent ba83a53 commit 43fbef2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/plugins/data/public/ui/dataset_selector/configurator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ export const Configurator = ({
setDataset({ ...dataset, timeFieldName: value });
}}
hasNoInitialSelection
data-test-subj="advancedSelectorTimeFieldSelect"
/>
</EuiFormRow>
))}
Expand All @@ -197,6 +198,7 @@ export const Configurator = ({
}}
fill
disabled={submitDisabled}
data-test-subj="advancedSelectorConfirmButton"
>
<FormattedMessage
id="data.explorer.datasetSelector.advancedSelector.confirm"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ export const DatasetExplorer = ({
<FormattedMessage
id="data.explorer.datasetSelector.advancedSelector.cancel"
defaultMessage="Cancel"
data-test-subj="datasetSelectorCancel"
/>
</EuiButtonEmpty>
<EuiButton
Expand All @@ -237,6 +238,7 @@ export const DatasetExplorer = ({
iconType="arrowRight"
iconSide="right"
fill
data-test-subj="datasetSelectorNext"
>
<FormattedMessage
id="data.explorer.datasetSelector.advancedSelector.next"
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 @@ -379,7 +379,7 @@ export default class QueryEditorUI extends Component<Props, State> {
<EuiText size="xs" color="subdued">
{`${this.state.lineCount} ${this.state.lineCount === 1 ? 'line' : 'lines'}`}
</EuiText>,
<EuiText size="xs" color="subdued">
<EuiText size="xs" color="subdued" data-test-subj="queryEditorFooterTimestamp">
{this.props.query.dataset?.timeFieldName || ''}
</EuiText>,
<QueryResult queryStatus={this.props.queryStatus!} />,
Expand Down

0 comments on commit 43fbef2

Please sign in to comment.