diff --git a/frontend/pages/SoftwarePage/SoftwareAddPage/SoftwareCustomPackage/SoftwareCustomPackage.tests.tsx b/frontend/pages/SoftwarePage/SoftwareAddPage/SoftwareCustomPackage/SoftwareCustomPackage.tests.tsx index 78772ac44b..528c11de5c 100644 --- a/frontend/pages/SoftwarePage/SoftwareAddPage/SoftwareCustomPackage/SoftwareCustomPackage.tests.tsx +++ b/frontend/pages/SoftwarePage/SoftwareAddPage/SoftwareCustomPackage/SoftwareCustomPackage.tests.tsx @@ -16,12 +16,12 @@ describe("GitOpsCustomPackageBanner", () => { ).toBeInTheDocument(); }); - it("renders the YAML docs link pointing at learn-more-about/software-yaml", () => { + it("renders the YAML docs link pointing at learn-more-about/yaml-software", () => { render(); const link = screen.getByRole("link", { name: /YAML docs/i }); expect(link).toHaveAttribute( "href", - expect.stringMatching(/learn-more-about\/software-yaml$/) + expect.stringMatching(/learn-more-about\/yaml-software$/) ); expect(link).toHaveAttribute("target", "_blank"); }); diff --git a/frontend/pages/SoftwarePage/SoftwareAddPage/SoftwareCustomPackage/SoftwareCustomPackage.tsx b/frontend/pages/SoftwarePage/SoftwareAddPage/SoftwareCustomPackage/SoftwareCustomPackage.tsx index ca494eec35..4d74aeb5f2 100644 --- a/frontend/pages/SoftwarePage/SoftwareAddPage/SoftwareCustomPackage/SoftwareCustomPackage.tsx +++ b/frontend/pages/SoftwarePage/SoftwareAddPage/SoftwareCustomPackage/SoftwareCustomPackage.tsx @@ -45,7 +45,7 @@ export const GitOpsCustomPackageBanner = () => ( adding, copy its SHA-256 hash into your YAML so the next GitOps workflow doesn't delete it.{" "} diff --git a/frontend/pages/SoftwarePage/SoftwareTitleDetailsPage/AddPackageModal/AddPackageModal.tests.tsx b/frontend/pages/SoftwarePage/SoftwareTitleDetailsPage/AddPackageModal/AddPackageModal.tests.tsx index f19d0d4538..d9ef156a65 100644 --- a/frontend/pages/SoftwarePage/SoftwareTitleDetailsPage/AddPackageModal/AddPackageModal.tests.tsx +++ b/frontend/pages/SoftwarePage/SoftwareTitleDetailsPage/AddPackageModal/AddPackageModal.tests.tsx @@ -119,7 +119,7 @@ describe("AddPackageModal", () => { const link = screen.getByRole("link", { name: /YAML docs/i }); expect(link).toHaveAttribute( "href", - expect.stringMatching(/learn-more-about\/software-yaml$/) + expect.stringMatching(/learn-more-about\/yaml-software$/) ); });