0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 16:00:19 -05:00
penpot/frontend/playwright/ui/specs/example.spec.js
2024-05-07 10:28:17 +02:00

14 lines
387 B
JavaScript

import { test, expect } from "@playwright/test";
test("Has title", async ({ page }) => {
await page.route("**/api/rpc/command/get-profile", (route) => {
route.fulfill({
status: 200,
contentType: "application/transit+json",
path: "playwright/data/get-profile-anonymous.json",
});
});
await page.goto("/");
await expect(page).toHaveTitle(/Penpot/);
});