Skip to content

Commit

Permalink
viewEnrolledCoursesCOT4oMiniTest passing!
Browse files Browse the repository at this point in the history
  • Loading branch information
augustocristian committed Jul 30, 2024
1 parent 216d6be commit bc23e00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ void viewEnrolledCoursesCOT4oMiniTest(String email, String password, String role
NavigationUtilities.toCoursesHome(driver);

// Verification: Check that the system displays a list of enrolled courses
List<WebElement> enrolledCourses = driver.findElements(By.className("enrolled-course")); // Replace with actual class name for enrolled courses
List<WebElement> enrolledCourses = driver.findElements(By.className("course-list-item")); // Replace with actual class name for enrolled courses
Assertions.assertFalse(enrolledCourses.isEmpty(), "The enrolled courses list should not be empty.");

// Optionally, validate the content of the enrolled courses
Expand Down

0 comments on commit bc23e00

Please sign in to comment.