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