Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion apps/site/e2e/foundation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,11 @@ test("the repository page has avatars, one chart, and none of the panels the Sit
await expect(page.getByRole("heading", { name: "Commits over time" })).toHaveCount(1);
await expect(page.getByRole("list", { name: "Contributors" }).getByRole("listitem")).toHaveCount(3);
await expect(page.getByRole("list", { name: "Contributors" }).locator("[class*=avatar]").first()).toBeVisible();
await page.keyboard.press("Control+k");
const palette = page.getByRole("dialog", { name: "Search people, folders, files and commits" });
await expect(async () => {
await page.keyboard.press("Control+k");
await expect(palette).toBeVisible({ timeout: 1000 });
}).toPass();
await page.keyboard.type("Carol");
await expect(page.getByRole("option", { name: "Carol", exact: true })).toBeVisible();
await expect(page.getByRole("option", { name: /Commits that mention/ })).toBeVisible();
Expand Down
2 changes: 1 addition & 1 deletion apps/site/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default defineConfig({
devtools(),
tailwindcss(),
tanstackStart(),
nitro({ traceDeps: ["satori*", "harfbuzzjs*", "@resvg/resvg-js*", "pdfkit*"] }),
nitro({ traceDeps: ["satori*", "harfbuzzjs*", "@resvg/resvg-js*", "pdfkit*", "react", "react-dom"] }),
react(),
sentryTanstackStart({
org: process.env.SENTRY_ORG,
Expand Down
Loading