diff --git a/apps/researcher/cypress/e2e/community.cy.ts b/apps/researcher/cypress/e2e/community.cy.ts index 9aec91b8a..dd453d61d 100644 --- a/apps/researcher/cypress/e2e/community.cy.ts +++ b/apps/researcher/cypress/e2e/community.cy.ts @@ -19,7 +19,7 @@ describe('Community details page', () => { .first() .then($name => { // Navigate to the first community details page. - cy.getBySel('community-item-name').first().find('a').click(); + cy.getBySel('community-item-name').first().parentsUntil('a').click(); // Wait for the page to load. cy.location('pathname', {timeout: 60000}).should( 'include', diff --git a/apps/researcher/src/app/[locale]/communities/community-card.tsx b/apps/researcher/src/app/[locale]/communities/community-card.tsx index 9241377c4..76fc820cb 100644 --- a/apps/researcher/src/app/[locale]/communities/community-card.tsx +++ b/apps/researcher/src/app/[locale]/communities/community-card.tsx @@ -30,7 +30,6 @@ export default function CommunityCard({community, locale}: CommunityCardProps) { return (