Skip to content

Commit

Permalink
userAccessCalendarFS4oTest passing!
Browse files Browse the repository at this point in the history
  • Loading branch information
augustocristian committed Jul 30, 2024
1 parent ebe6bca commit c54f301
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ void userAccessCalendarFS4oTest(String mail, String password, String role) {
this.slowLogin(user,mail, password);
try {
// Navigate to the calendar page
//NavigationUtilities.toCalendarPage(driver);
Wait.notTooMuch(driver).until(ExpectedConditions.visibilityOfElementLocated(By.id("calendar")));
NavigationUtilities.toCoursesHome(driver);
Wait.notTooMuch(driver).until(ExpectedConditions.visibilityOfElementLocated(By.className("calendar-div")));

// Verify that the calendar displays all the user's classes
List<WebElement> classes = driver.findElements(By.cssSelector(".calendar-class"));
List<WebElement> classes = driver.findElements(By.className("cal-day-badge"));
assertTrue(classes.size() > 0, "No classes found in the calendar");

} catch (Exception e) {
Expand Down

0 comments on commit c54f301

Please sign in to comment.