This commit is contained in:
parent
5dc074a883
commit
82d7659bc1
1 changed files with 4 additions and 4 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue