Skip to content

Commit

Permalink
fix(workspaces): address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinandan13jan committed Aug 13, 2024
1 parent 3b80e63 commit 33a985a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/components/UserAccess/UserAccessForm/UsernameSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ export const UsernameSection: React.FC<React.PropsWithChildren<Props>> = ({ disa
label="Enter usernames"
labelIcon={
<HelpPopover
aria-label="Usernames in KONFLUX"
headerContent="Usernames in KONFLUX"
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."
/>
}
Expand Down Expand Up @@ -116,7 +116,7 @@ export const UsernameSection: React.FC<React.PropsWithChildren<Props>> = ({ disa
</HelperTextItem>
) : (
<HelperTextItem>
Provide KONFLUX 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 KONFLUX 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 33a985a

Please sign in to comment.