Initial commit: site monorepo with API, web, and infra.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
влад
2026-07-16 10:11:54 +03:00
co-authored by Cursor
commit 016910ffb7
447 changed files with 73972 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import { expect, test } from "@playwright/test";
import { registerUser, uniqueEmail } from "../helpers/api";
test.describe("§15.7 scenario 6: Pending user", () => {
test("pending user cannot access /profile", async ({ page, request }) => {
const email = uniqueEmail("e2e-pending");
await registerUser(request, email, "Valid1234");
await page.goto("/profile");
await expect(page).toHaveURL(/\/login$/);
await page.goto("/login");
await page.getByPlaceholder("Email").fill(email);
await page.getByPlaceholder("Password").fill("Valid1234");
await page.getByRole("button", { name: "Login" }).click();
await expect(page).toHaveURL(/\/login$/);
});
});