Skip to content

Commit

Permalink
Merge pull request openshift#972 from abhinandan13jan/update-workspac…
Browse files Browse the repository at this point in the history
…e-tooltip

Update workspace tooltip
  • Loading branch information
openshift-merge-bot[bot] authored Aug 21, 2024
2 parents 2f65b6f + 33a985a commit 66b2184
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/components/UserAccess/UserAccessForm/UsernameSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ export const UsernameSection: React.FC<React.PropsWithChildren<Props>> = ({ disa
label="Enter usernames"
labelIcon={
<HelpPopover
aria-label="Usernames in RHTAP"
headerContent="Usernames in RHTAP"
bodyContent="To find their username, the user you want to invite should log into RHTAP and click Workspaces. Their username is the first item in the breadcrumb navigation."
aria-label="Usernames in Konflux"
headerContent="Usernames in Konflux"
bodyContent="Your username is the name of your default workspace. To find a list of your workspaces, navigate to the Applications pane and select the options icon in the breadcrumb navigation."
/>
}
isRequired
Expand Down Expand Up @@ -116,7 +116,7 @@ export const UsernameSection: React.FC<React.PropsWithChildren<Props>> = ({ disa
</HelperTextItem>
) : (
<HelperTextItem>
Provide RHTAP usernames for the users you want to invite.
Provide Konflux usernames for the users you want to invite.
</HelperTextItem>
)}
</HelperText>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('UsernameSection', () => {
validateMock.mockResolvedValue(false);
formikRenderer(<UsernameSection />, { usernames: [] });
expect(
screen.getByText('Provide RHTAP usernames for the users you want to invite.'),
screen.getByText('Provide Konflux usernames for the users you want to invite.'),
).toBeVisible();
await act(async () => {
fireEvent.input(screen.getByRole('searchbox'), { target: { value: 'user!@#' } });
Expand Down

0 comments on commit 66b2184

Please sign in to comment.