fix(client): update CTA for daily challenges

This commit is contained in:
Mrugesh Mohapatra
2025-10-03 15:07:18 +05:30
committed by Mrugesh Mohapatra
parent d7f1da61e4
commit 7ff864149c
5 changed files with 12 additions and 11 deletions
+5 -1
View File
@@ -220,7 +220,11 @@ test.describe('Daily Coding Challenge Archive', () => {
).toBeVisible();
await expect(
page.getByRole('link', { name: /go to today/i })
page
.locator('div')
.filter({ hasText: /New challenges are released/ })
.getByRole('link', { name: /go to today/i })
.first()
).toBeVisible();
const totalCalendarDays = await page.getByTestId('calendar-day').count();