From 82d7659bc17601bb87cedbf9d95651716ddebf6c Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Wed, 10 Jan 2024 01:57:49 +0530 Subject: [PATCH] feat: fix title string --- tests/auth.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/auth.spec.ts b/tests/auth.spec.ts index 2309537..f4845d3 100644 --- a/tests/auth.spec.ts +++ b/tests/auth.spec.ts @@ -8,7 +8,7 @@ import User from "./user"; test("has title", async ({ page }) => { await page.goto(config.INSTANCE_URL.toString()); - await expect(page).toHaveTitle("Forgejo: Beyond coding. We Forge."); + await expect(page).toHaveTitle("Forgejo: Beyond coding. We forge."); }); test("Go to explore page", async ({ page }) => { @@ -16,7 +16,7 @@ test("Go to explore page", async ({ page }) => { await page.getByRole("link", { name: "Explore" }).click(); await page.waitForURL("**/explore/repos"); - await expect(page).toHaveTitle("Explore - Forgejo: Beyond coding. We Forge."); + await expect(page).toHaveTitle("Explore - Forgejo: Beyond coding. We forge."); }); test("Go to register page", async ({ page }) => { @@ -37,7 +37,7 @@ test("Go to register page", async ({ page }) => { await page.getByRole("button", { name: "Register Account" }).click(); await expect(page).toHaveTitle( - "Register - Forgejo: Beyond coding. We Forge." + "Register - Forgejo: Beyond coding. We forge." ); expect(page.locator(".negative > p:nth-child(1)")).toContainText( "passwords do not match" @@ -62,7 +62,7 @@ test("Go to register page", async ({ page }) => { console.log(page.locator(".positive > p:nth-child(1)")); await expect(page).toHaveTitle( - `${user.username} - Dashboard - Forgejo: Beyond coding. We Forge.` + `${user.username} - Dashboard - Forgejo: Beyond coding. We forge.` ); expect(page.locator(".positive > p:nth-child(1)")).toContainText(