mirror of
https://github.com/apache/superset.git
synced 2026-05-12 03:15:55 +00:00
chore: Added data-test attributes for testing (#11254)
* Added data-test attributes for testing * fixed incorrect naming change * review changes
This commit is contained in:
committed by
GitHub
parent
0262daa228
commit
fc03549299
@@ -238,6 +238,7 @@ export class DisplayQueryButton extends React.PureComponent {
|
||||
return (
|
||||
<DropdownButton
|
||||
noCaret
|
||||
data-test="query-dropdown"
|
||||
title={
|
||||
<span>
|
||||
<i className="fa fa-bars" />
|
||||
@@ -265,7 +266,9 @@ export class DisplayQueryButton extends React.PureComponent {
|
||||
<ModalTrigger
|
||||
isMenuItem
|
||||
animation={animation}
|
||||
triggerNode={<span>{t('View query')}</span>}
|
||||
triggerNode={
|
||||
<span data-test="view-query-menu-item">{t('View query')}</span>
|
||||
}
|
||||
modalTitle={t('View query')}
|
||||
bsSize="large"
|
||||
beforeOpen={() => this.beforeOpen('query')}
|
||||
|
||||
Reference in New Issue
Block a user