[E2E][CourseStatistics] Fix check order

This commit is contained in:
Aaro Koivukangas
2026-08-09 01:48:41 +03:00
committed by Aaro Koivukangas
parent f6cc05aa5d
commit 701209ed4c
+2 -1
View File
@@ -249,8 +249,9 @@ test.describe('Basic user', () => {
// Check the link has updated correctly
await expect(page.getByTestId('course-population-for-2022-2023')).toHaveAttribute('href', /BSCS1003/)
await page.getByTestId('course-population-for-2022-2023').click()
await expect(page.getByTestId('CourseSelector').getByText('Data Structures and Algorithms')).toBeVisible()
await page.getByTestId('course-population-for-2022-2023').click()
await expect(page.getByText('Class of 2022-2023')).toBeVisible()
await expect(page.getByText('Include substitutions, Open and normal')).toBeVisible()
})