Skip to content

Commit

Permalink
Update tooltip texts (#1979)
Browse files Browse the repository at this point in the history
* Update sap link tooltip text

* Update sap instance not registered tooltip text
  • Loading branch information
arbulu89 committed Nov 7, 2023
1 parent 7579b18 commit d49628e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/js/components/InstanceOverview/InstanceOverview.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function InstanceOverview({
<div className={rowClasses}>
<div className="table-cell p-2 px-5 align-center">
<Tooltip
content="Instance currently not found."
content="Registered instance not found."
place="bottom"
isEnabled={!!absentAt}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe('InstanceOverview', () => {
expect(screen.queryByRole('button', { name: 'Clean up' })).toBeVisible();
await act(async () => user.hover(healthIcon));
await waitFor(() =>
expect(screen.queryByText('Instance currently not found.')).toBeVisible()
expect(screen.queryByText('Registered instance not found.')).toBeVisible()
);
});

Expand Down
2 changes: 1 addition & 1 deletion assets/js/components/SapSystemLink.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function SapSystemLink({ systemType, sapSystemId, children }) {
{children}
</Link>
) : (
<Tooltip content="SAP System currently not registered." place="bottom">
<Tooltip content="System currently not registered." place="bottom">
<span className="group flex items-center relative">
<EOS_WARNING_OUTLINED
size="base"
Expand Down
2 changes: 1 addition & 1 deletion assets/js/components/SapSystemLink.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('SapSystemLink', () => {
await act(async () => user.hover(sidElement));

expect(
screen.getByText('SAP System currently not registered.')
screen.getByText('System currently not registered.')
).toBeInTheDocument();
});
});

0 comments on commit d49628e

Please sign in to comment.