diff --git a/changes/issue-7533-change-create-teams-suggestion b/changes/issue-7533-change-create-teams-suggestion new file mode 100644 index 0000000000..8df1b8078a --- /dev/null +++ b/changes/issue-7533-change-create-teams-suggestion @@ -0,0 +1 @@ +* Create teams modal has better team name suggestions \ No newline at end of file diff --git a/frontend/components/InfoBanner/InfoBanner.tests.tsx b/frontend/components/InfoBanner/InfoBanner.tests.tsx new file mode 100644 index 0000000000..f73a01c773 --- /dev/null +++ b/frontend/components/InfoBanner/InfoBanner.tests.tsx @@ -0,0 +1,15 @@ +import React from "react"; + +import { render, screen } from "@testing-library/react"; + +import InfoBanner from "./InfoBanner"; + +describe("InfoBanner - component", () => { + it("info banner renders text", () => { + render(Info banner testing text); + + const title = screen.getByText("Info banner testing text"); + + expect(title).toBeInTheDocument(); + }); +}); diff --git a/frontend/pages/admin/TeamManagementPage/components/CreateTeamModal/CreateTeamModal.tsx b/frontend/pages/admin/TeamManagementPage/components/CreateTeamModal/CreateTeamModal.tsx index 35fe247739..32129e4671 100644 --- a/frontend/pages/admin/TeamManagementPage/components/CreateTeamModal/CreateTeamModal.tsx +++ b/frontend/pages/admin/TeamManagementPage/components/CreateTeamModal/CreateTeamModal.tsx @@ -62,19 +62,14 @@ const CreateTeamModal = ({ name="name" onChange={onInputChange} label="Team name" - placeholder="Team name" + placeholder="Workstations" value={name} error={errors.name} /> -

- Need to test queries and configurations before deploying? -

-

- A popular pattern is to end a team’s name with “- Sandbox”, then you - can use this to test new queries and configuration with staging - hosts or volunteers acting as canaries. -

+ To organize your hosts, create a team, like + “Workstations,” “Servers,” or “Servers + (canary)”.