mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-04 03:00:32 +08:00
21 lines
637 B
TypeScript
21 lines
637 B
TypeScript
import { appConfigWithFixture, expect, test } from "@tests/support/fixtures.js";
|
|
|
|
test.use({
|
|
customAppConfig: true,
|
|
});
|
|
|
|
test("show pinned projects", async ({ page }) => {
|
|
await page.addInitScript(() => localStorage.setItem("experimental", "true"));
|
|
await page.addInitScript(appConfigWithFixture);
|
|
await page.goto("/");
|
|
await expect(page.getByText("Local projects")).toBeVisible();
|
|
|
|
// Shows pinned project name.
|
|
await expect(page.getByText("source-browsing")).toBeVisible();
|
|
//
|
|
// Shows pinned project description.
|
|
await expect(
|
|
page.getByText("Git repository for source browsing tests"),
|
|
).toBeVisible();
|
|
});
|