From 303a3b1b71493fe1b7aca421e10d4ab700c97318 Mon Sep 17 00:00:00 2001 From: Augusto Date: Tue, 30 Jul 2024 14:47:30 +0200 Subject: [PATCH] userAccessCoursesAndViewClassesFS4oMiniTest passing! --- .../test/llmexperimentation/BViewCourseClassesTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/com/fullteaching/e2e/no_elastest/functional/test/llmexperimentation/BViewCourseClassesTest.java b/src/test/java/com/fullteaching/e2e/no_elastest/functional/test/llmexperimentation/BViewCourseClassesTest.java index 8d1cc24..017a28b 100644 --- a/src/test/java/com/fullteaching/e2e/no_elastest/functional/test/llmexperimentation/BViewCourseClassesTest.java +++ b/src/test/java/com/fullteaching/e2e/no_elastest/functional/test/llmexperimentation/BViewCourseClassesTest.java @@ -213,10 +213,10 @@ void userAccessCoursesAndViewClassesFS4oMiniTest(String mail, String password, S // Step 4: System displays the classes within the course, ordered by date Wait.notTooMuch(driver).until(ExpectedConditions.visibilityOfElementLocated(By.id(TABS_DIV_ID))); - - // Verify that classes are displayed TO-DO - //List classes = CourseNavigationUtilities.getClassesList(driver); - //assertFalse(classes.isEmpty(), "No classes found for the selected course."); + CourseNavigationUtilities.go2Tab(driver, SESSION_ICON); + // Verify that classes are displayed + List classes = driver.findElements(By.className("session-data")); + assertFalse(classes.isEmpty(), "No classes found for the selected course."); // Optionally, check if classes are ordered by date // (Assuming there is a method to verify the order of classes) TO-DO