Skip to content

Commit 0de2435

Browse files
committed
fix tests
1 parent 5c0f05e commit 0de2435

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

packages/frontendmu-astro/src/components/TeamComponent.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const contributors: Contributor[] = Contributors;
105105

106106
return (
107107
<li>
108-
<a href={`/speaker/${person.id}`} class="space-y-4">
108+
<a href={`/speaker/${person.id}`} class="space-y-4" title={person.name}>
109109
<Image
110110
class="mx-auto h-20 w-20 rounded-full border-verse-2 shadow-lg 00 border p-2 lg:w-32 lg:h-32 profile-avatar"
111111
style={vTransitionName("speaker-avatar", person.name)}

packages/frontendmu-astro/src/tests/page-meetup.spec.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,8 @@ test('sandeep pages', async ({ page }) => {
44
await page.goto('/');
55
await page.getByText('View all meetups').first().click();
66
await expect(page.locator('h1').first()).toContainText('All meetups');
7-
await expect(page.getByRole('link', { name: 'The CSS Meetup' })).toBeVisible();
8-
await expect(page.getByRole('link', { name: 'Vue / Tailwind / OpenData' })).toBeVisible();
9-
await expect(page.getByRole('heading', { name: 'ReactJS' })).toBeVisible();
10-
await page.getByTitle('Meetup ReactJS').click(); // Go to the reactjs meetup page
11-
await page.getByTitle('Speaker name: Sandeep Ramgolam').click(); // Go to the speaker page for Sandeep Ramgolam
7+
await page.goto('/team');
8+
await page.getByTitle('Sandeep Ramgolam').first().click(); // Go to the speaker page for Sandeep Ramgolam
129
await page.getByRole('link', { name: 'Sat May 20 2023 Git, CVs &' }).click(); // Go to the meetup page for Git, CVs & getting in to tech
1310
await expect(page.getByRole('heading', { name: 'Git, CVs & getting in to tech' })).toBeVisible(); // Check that we are on the right page
1411
});

0 commit comments

Comments
 (0)