Skip to content

Commit

Permalink
Explore update button labels (#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 mistercrunch committed Sep 28, 2017
1 parent 17c7ca2 commit 82b85d1
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 82b85d1

Please sign in to comment.