diff --git a/frontend/e2e/home-events.spec.ts b/frontend/e2e/home-events.spec.ts index 88ca1a8..63731ec 100644 --- a/frontend/e2e/home-events.spec.ts +++ b/frontend/e2e/home-events.spec.ts @@ -139,7 +139,7 @@ test.describe('US5: Visual Distinction for Event Roles', () => { const card = page.locator('.event-card').filter({ hasText: 'Summer BBQ' }) const badge = card.locator('.event-card__badge') await expect(badge).toBeVisible() - await expect(badge).toHaveText('Organizer') + await expect(badge).toHaveText('Organizing') await expect(badge).toHaveClass(/event-card__badge--organizer/) }) @@ -150,7 +150,7 @@ test.describe('US5: Visual Distinction for Event Roles', () => { const card = page.locator('.event-card').filter({ hasText: 'Team Meeting' }) const badge = card.locator('.event-card__badge') await expect(badge).toBeVisible() - await expect(badge).toHaveText('Attendee') + await expect(badge).toHaveText('Attending') await expect(badge).toHaveClass(/event-card__badge--attendee/) }) diff --git a/frontend/e2e/watch-event.spec.ts b/frontend/e2e/watch-event.spec.ts index 94b936e..d919967 100644 --- a/frontend/e2e/watch-event.spec.ts +++ b/frontend/e2e/watch-event.spec.ts @@ -110,7 +110,7 @@ test.describe('US3: Bookmark reflects attending status', () => { // Navigate to list via back link await page.locator('.detail__back').click() - await expect(page.getByText('Attendee')).toBeVisible() + await expect(page.getByText('Attending')).toBeVisible() await expect(page.getByText('Watching')).not.toBeVisible() }) }) @@ -139,7 +139,7 @@ test.describe('US4: RSVP cancellation preserves watch status', () => { // Navigate to list via back link await page.locator('.detail__back').click() await expect(page.getByText('Watching')).toBeVisible() - await expect(page.getByText('Attendee')).not.toBeVisible() + await expect(page.getByText('Attending')).not.toBeVisible() }) }) @@ -212,7 +212,7 @@ test.describe('US7: Watcher upgrades to attendee', () => { // Navigate to list via back link await page.locator('.detail__back').click() - await expect(page.getByText('Attendee')).toBeVisible() + await expect(page.getByText('Attending')).toBeVisible() await expect(page.getByText('Watching')).not.toBeVisible() }) }) diff --git a/frontend/src/components/EventCard.vue b/frontend/src/components/EventCard.vue index 705870d..19895a5 100644 --- a/frontend/src/components/EventCard.vue +++ b/frontend/src/components/EventCard.vue @@ -12,7 +12,7 @@ {{ displayTime }} - {{ eventRole === 'organizer' ? 'Organizer' : eventRole === 'attendee' ? 'Attendee' : 'Watching' }} + {{ eventRole === 'organizer' ? 'Organizing' : eventRole === 'attendee' ? 'Attending' : 'Watching' }}