Skip to content

Commit

Permalink
userAccessCoursesAndViewClassesFS4oMiniTest passing!
Browse files Browse the repository at this point in the history
  • Loading branch information
augustocristian committed Jul 30, 2024
1 parent 079b0cf commit 303a3b1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<WebElement> 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<WebElement> 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
Expand Down

0 comments on commit 303a3b1

Please sign in to comment.