diff --git a/app/components/ContributionAmountField.vue b/app/components/ContributionAmountField.vue index b8a331a..ffc596c 100644 --- a/app/components/ContributionAmountField.vue +++ b/app/components/ContributionAmountField.vue @@ -261,7 +261,7 @@ const onCadenceChange = (newCadence) => { border-style: solid; border-color: var(--candle); background: var(--parch); - color: var(--text-bright); + color: var(--parch-text); } .contribution-guidance { diff --git a/app/pages/admin/events/create.vue b/app/pages/admin/events/create.vue index b388e9b..d5625a2 100644 --- a/app/pages/admin/events/create.vue +++ b/app/pages/admin/events/create.vue @@ -350,6 +350,7 @@
  • { .fill('e2e test event description') await adminPage - .getByPlaceholder('e.g., https://zoom.us/j/123... or #channel-name') + .getByPlaceholder('e.g., https://zoom.us/j/123..., #channel-name, or TBD') .fill('https://example.com/zoom') const startInput = adminPage.getByPlaceholder( diff --git a/e2e/events.spec.js b/e2e/events.spec.js index 3453fdd..a1a11fe 100644 --- a/e2e/events.spec.js +++ b/e2e/events.spec.js @@ -11,7 +11,7 @@ test.describe('Events list page', () => { const filterBar = page.locator('.filter-bar') await expect(filterBar).toBeVisible() - for (const label of ['All', 'Workshops', 'Community', 'Social', 'Showcase']) { + for (const label of ['All', 'Talk / Presentation', 'Workshop', 'Community Meetup', 'Co-working Session', 'Peer Session', 'Skills Share', 'Info Session']) { await expect(filterBar.locator('button', { hasText: label })).toBeVisible() } }) @@ -36,7 +36,7 @@ test.describe('Events list page', () => { // Wait for Vue hydration — the "All" filter should have the active class once reactive const allBtn = page.locator('.filter-btn', { hasText: 'All' }) await expect(allBtn).toHaveClass(/active/, { timeout: 10000 }) - const workshopsBtn = page.locator('.filter-bar button', { hasText: 'Workshops' }) + const workshopsBtn = page.locator('.filter-bar button', { hasText: 'Workshop' }) await workshopsBtn.click() await expect(workshopsBtn).toHaveClass(/active/, { timeout: 5000 }) }) diff --git a/e2e/join-flow.spec.js b/e2e/join-flow.spec.js index 3af8ea1..ba4713d 100644 --- a/e2e/join-flow.spec.js +++ b/e2e/join-flow.spec.js @@ -84,7 +84,7 @@ test.describe('Join page — member signup flow', () => { await page.locator('#join-name').fill('E2E Test User') await page.locator('#join-email').fill(uniqueEmail) // Pick the $0 preset - await page.locator('#pwyc-0').check({ force: true }) + await page.locator('label[for="pwyc-0"]').click() await page.getByRole('checkbox', { name: /Community Guidelines/ }).check() await expect(page.locator('.submit-btn')).toBeEnabled() @@ -191,7 +191,7 @@ test.describe('Join page — member signup flow', () => { await page.locator('#join-name').fill('Dup Test User') await page.locator('#join-email').fill(duplicateEmail) - await page.locator('#pwyc-0').check({ force: true }) + await page.locator('label[for="pwyc-0"]').click() await page.getByRole('checkbox', { name: /Community Guidelines/ }).check() await page.locator('.submit-btn').click()