Esempio n. 1
0
 public bool HideUserRegion()
 {
     Pages.UserProfilePage userProfile = new Pages.UserProfilePage(driver);
     userProfile.HideRegion();
     logger.Info("Region was hidden");
     return userProfile.IsRegionHidden();
 }
Esempio n. 2
0
 public bool ShowUserRegion()
 {
     Pages.UserProfilePage userProfile = new Pages.UserProfilePage(driver);
     userProfile.ShowRegion();
     logger.Info("Region was shown");
     return !userProfile.IsRegionHidden();
 }
Esempio n. 3
0
 public bool ChangeUserRegion()
 {
     Pages.UserProfilePage userProfile = new Pages.UserProfilePage(driver);
     userProfile.ChangeRegion();
     logger.Info("Region was changed");
     return userProfile.IsCorrectRegion();
 }