feat: initial commit for Kerf Studio with IRANSans typography, Persian localization, and RTL support

This commit is contained in:
s.esmaeili
2026-10-04 07:23:11 +03:30
commit 8511fd0e89
59 changed files with 4754 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
import { expect, test } from "@playwright/test";
test("loads without browser or network errors", async ({ page }) => {
const problems = [];
const report = (kind, detail) => problems.push(`${kind}: ${detail}`);
page.on("console", (message) => {
if (message.type() === "error") {
report("Console error", message.text());
}
});
page.on("pageerror", (error) => report("Uncaught exception", error.message));
page.on("requestfailed", (request) => report("Request failed", `${request.method()} ${request.url()}`));
page.on("response", (response) => {
if (response.status() >= 400) {
report("HTTP error", `${response.status()} ${response.url()}`);
}
});
await page.goto("/");
await expect(page.locator("#root > *").first()).toBeAttached();
expect(problems).toEqual([]);
});