diff --git a/apps/potlock/widget/Pots/Card.jsx b/apps/potlock/widget/Pots/Card.jsx index e0d9a8d..2734f30 100644 --- a/apps/potlock/widget/Pots/Card.jsx +++ b/apps/potlock/widget/Pots/Card.jsx @@ -256,12 +256,13 @@ const Tag = (props) => ( : {}), }} /> - ); - - - return ( - +); + +return ( + {title} @@ -286,5 +287,4 @@ const Tag = (props) => ( {tags.map((tag) => (tag.visibility ? : ""))} - ); - \ No newline at end of file +); diff --git a/playwright-tests/tests/pots.spec.js b/playwright-tests/tests/pots.spec.js index 3c8fd4b..fac5849 100644 --- a/playwright-tests/tests/pots.spec.js +++ b/playwright-tests/tests/pots.spec.js @@ -54,19 +54,16 @@ test("clicking learn more button should...", async ({ page }) => { test("should show active pots", async ({ page }) => { await page.goto(`${ROOT_SRC}?tab=pots`); - + const activePots = page.locator('[data-testid="active-pot"]'); - - - await activePots.first().waitFor(); - - + + await activePots.first().waitFor(); + const count = await activePots.count(); for (let i = 0; i < count; i++) { await expect(activePots.nth(i)).toBeVisible(); } - }); - +}); test("should show completed pots", async ({ page }) => { // TODO: