mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
Some checks failed
_STAGING / build-bundle (push) Has been cancelled
_STAGING / build-docker (push) Has been cancelled
_DEVELOP / build-bundle (push) Has been cancelled
_DEVELOP / build-docker (push) Has been cancelled
Commit Message Check / Check Commit Message (push) Has been cancelled
* 🎉 Add management RPC API And refactor internal http auth flow * 📎 Adjust final url namings * 📚 Update changelog
15 lines
388 B
JavaScript
15 lines
388 B
JavaScript
import { test, expect } from "@playwright/test";
|
|
|
|
test("Has title", async ({ page }) => {
|
|
await page.route("**/api/main/methods/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/);
|
|
});
|