diff --git a/apps/landing/src/components/CategoryCards.astro b/apps/landing/src/components/CategoryCards.astro index a1faf424..ade50c68 100644 --- a/apps/landing/src/components/CategoryCards.astro +++ b/apps/landing/src/components/CategoryCards.astro @@ -51,7 +51,7 @@ const MODALITIES = [ { id: "file", section: "files", - label: "Files", + label: "File Tools", blurb: "Convert and transform", icon: "Database", color: "#5C8642", diff --git a/tests/e2e-landing/homepage.spec.ts b/tests/e2e-landing/homepage.spec.ts index 5bf52d18..1b753221 100644 --- a/tests/e2e-landing/homepage.spec.ts +++ b/tests/e2e-landing/homepage.spec.ts @@ -40,7 +40,7 @@ test.describe("Landing Homepage", () => { }); test("hero modality cards render", async ({ page }) => { - const cards = ["Image Tools", "Video Tools", "Audio Tools", "PDF & Documents", "Files"]; + const cards = ["Image Tools", "Video Tools", "Audio Tools", "PDF & Documents", "File Tools"]; for (const card of cards) { await expect(page.getByText(card, { exact: true }).first()).toBeVisible(); } diff --git a/tests/e2e/helpers.ts b/tests/e2e/helpers.ts index c3b24ae5..3d1faa0e 100644 --- a/tests/e2e/helpers.ts +++ b/tests/e2e/helpers.ts @@ -34,7 +34,7 @@ export function getTestImagePath(): string { try { const script = [ "const sharp = require('sharp');", - `sharp({create:{width:100,height:100,channels:4,background:{r:255,g:0,b:0,alpha:1}}}).png().toFile('${_testImagePath.replace(/'/g, "\\'")}')`, + `sharp({create:{width:100,height:100,channels:4,background:{r:255,g:0,b:0,alpha:1}}}).png().toFile(${JSON.stringify(_testImagePath)})`, ].join(" "); execFileSync("node", ["-e", script], { cwd: process.cwd(),