mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(client): update CTA for daily challenges
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
d7f1da61e4
commit
7ff864149c
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user