changes to the login and signup, similar to in the saas repo (#6577)

Co-authored-by: Anthony Stirling <[email protected]>
This commit is contained in:
EthanHealy01
2026-06-10 13:49:27 +01:00
committed by GitHub
co-authored by Anthony Stirling
parent 3675db5907
commit f15e405759
12 changed files with 534 additions and 194 deletions
@@ -19,12 +19,7 @@ test.describe("1. Authentication and Login", () => {
.first(),
).toBeVisible();
// Step 3: Confirm the heading for "Sign In" / "Login" is visible
await expect(
page.getByRole("heading", { name: /sign in|login|masuk/i }),
).toBeVisible();
// Step 4: Confirm a "Username" text input field is present and empty
// Step 3: Confirm a "Username" text input field is present and empty
const usernameInput = page.locator("#email");
await expect(usernameInput).toBeVisible();
await expect(usernameInput).toHaveValue("");