Skip to content

Commit

Permalink
Change copy
Browse files Browse the repository at this point in the history
  • Loading branch information
geido committed May 11, 2022
1 parent 3a379af commit b2a4417
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,7 @@ test('Should render default props', () => {
userEvent.click(
screen.getByRole('menuitem', { name: 'Toggle chart description' }),
);
userEvent.click(
screen.getByRole('menuitem', { name: 'View chart in Explore' }),
);
userEvent.click(screen.getByRole('menuitem', { name: 'Edit chart' }));
userEvent.click(screen.getByRole('menuitem', { name: 'Export CSV' }));
userEvent.click(screen.getByRole('menuitem', { name: /Force refresh/ }));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ class SliceHeaderControls extends React.PureComponent<
key={MENU_KEYS.EXPLORE_CHART}
onClick={this.props.onExploreChart}
>
{t('View chart in Explore')}
{t('Edit chart')}
</Menu.Item>
)}

Expand Down

0 comments on commit b2a4417

Please sign in to comment.