diff --git a/e2e/landing.spec.js b/e2e/landing.spec.js index b2be7233..8c51dbab 100644 --- a/e2e/landing.spec.js +++ b/e2e/landing.spec.js @@ -33,11 +33,5 @@ test("landing has dashboard link", async ({ page }) => { test("landing shows footer", async ({ page }) => { await page.goto("/"); - await expect(page.getByRole("contentinfo")).toBeVisible(); -}); - -test("landing has dashboard link", async ({ page }) => { - await page.goto("/"); - - await expect(page.getByRole("link", { name: "Dashboard" })).toBeVisible(); + await expect(page.getByRole("contentinfo").first()).toBeVisible(); }); diff --git a/src/components/TopRepos.tsx b/src/components/TopRepos.tsx index 4f7a5915..fd258640 100644 --- a/src/components/TopRepos.tsx +++ b/src/components/TopRepos.tsx @@ -211,7 +211,9 @@ export default function TopRepos() {
-

Top Repositories

+

+ Top Repositories{!loading && repos.length > 0 && ` (${repos.length})`} +

{pinError && (

{pinError}

)}