mirror of https://github.com/apache/superset.git
Explore update button labels (#3534)
* resolve ui ambiguity * resolve button name ambiguity * update test
This commit is contained in:
parent
17c7ca239a
commit
82b85d1d6c
|
@ -93,7 +93,7 @@ export default class DisplayQueryButton extends React.PureComponent {
|
|||
<ModalTrigger
|
||||
animation={this.props.animation}
|
||||
isButton
|
||||
triggerNode={<span>Query</span>}
|
||||
triggerNode={<span>View Query</span>}
|
||||
modalTitle={t('Query')}
|
||||
bsSize="large"
|
||||
beforeOpen={this.beforeOpen}
|
||||
|
|
|
@ -41,7 +41,7 @@ export default function QueryAndSaveBtns(
|
|||
bsStyle={qryButtonStyle}
|
||||
disabled={!!errorMessage}
|
||||
>
|
||||
<i className="fa fa-bolt" /> Query
|
||||
<i className="fa fa-bolt" /> Run Query
|
||||
</Button>
|
||||
);
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ describe('QueryAndSaveButtons', () => {
|
|||
});
|
||||
|
||||
it('renders buttons with correct text', () => {
|
||||
expect(wrapper.find(Button).contains(' Query')).to.eql(true);
|
||||
expect(wrapper.find(Button).contains(' Run Query')).to.eql(true);
|
||||
expect(wrapper.find(Button).contains(' Save')).to.eql(true);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue