Skip to content

Commit

Permalink
Explore update button labels (apache#3534)
Browse files Browse the repository at this point in the history
* resolve ui ambiguity

* resolve button name ambiguity

* update test
  • Loading branch information
timifasubaa authored and michellethomas committed May 23, 2018
1 parent 88213f9 commit cb447ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

Expand Down

0 comments on commit cb447ee

Please sign in to comment.