[E2E] Fix tests to match mocked date

This commit is contained in:
Aaro Koivukangas
2026-08-09 01:48:41 +03:00
committed by Aaro Koivukangas
parent c3b8a8e224
commit 2d2344e0c5
+1 -1
View File
@@ -346,7 +346,7 @@ test.describe('Degree programme overview', () => {
test('total', async ({ page }) => {
await page.getByTestId('total-population-link-button').click()
await expect(page.getByText('Matemaattisten tieteiden kandiohjelma')).toBeVisible()
await expect(page.getByText('Class of 2017 - 2027, 227 students')).toBeVisible()
await expect(page.getByText('Class of 2017 - 2026, 227 students')).toBeVisible()
})
test('Links to class statistics page with study track info included work', async ({ page }) => {