public void AddNoticeOnInfoPage(string noticeText) { infoPage = new Pages.InfoPage(driver); infoPage.ClickaddNotice(); infoPage.FillFieldNotice(noticeText); infoPage.ClickSaveNotice(); }
public bool IsDeleteActorFromFavorite(string name) { infoPage = new Pages.InfoPage(driver); Search(name); DeleteFavoriteActore(); return(infoPage.IsExistClass()); }
public bool IsAddNotice(string noticeText) { AddNoticeOnInfoPage(noticeText); Thread.Sleep(4000); infoPage = new Pages.InfoPage(driver); return(infoPage.GetNoticeText().Contains(noticeText)); }
public bool IsOpenDirectorInfoPageFromFilmPage(string name) { infoPage = new Pages.InfoPage(driver); Search(name); infoPage.ClickDirector(); return(infoPage.IsDirectorBestFilmsLabelExist()); }
public bool IsAddFilmToFavorite(string name) { infoPage = new Pages.InfoPage(driver); Search(name); AddFilmToFavorite(); return(infoPage.IsFavoriteFilmsListExist()); }
public bool IsPushMark(string name) { infoPage = new Pages.InfoPage(driver); Search(name); infoPage.PushMark(); return(infoPage.IsMyMarkLableExist()); }
public bool IsAddActoreToFavorite(string name) { infoPage = new Pages.InfoPage(driver); Search(name); AddActoreToFavorite(); infoPage = new Pages.InfoPage(driver); return(infoPage.IsFavoriteStarsListExist()); }
public bool IsDeleteNotice() { DeleteNoticeOnInfoPage(); Thread.Sleep(4000); infoPage = new Pages.InfoPage(driver); return(infoPage.GetNoticeText() == ""); }
public bool IsSortByMark(string actoreName) { mainPage = new Pages.MainPage(driver); mainPage.OpenPage(); Search(actoreName); infoPage = new Pages.InfoPage(driver); infoPage.ClickSortByMarkBtn(); return(infoPage.IsFirstMarkElementMoreThenSecond()); }
public bool IsPutMarkWithoutAuthorization(string name) { mainPage = new Pages.MainPage(driver); mainPage.OpenPage(); Search(name); infoPage = new Pages.InfoPage(driver); infoPage.PushMark(); return(infoPage.IsWarningMessageExist()); }
public void DeleteFavoriteActore() { infoPage = new Pages.InfoPage(driver); infoPage.ClickListButton(); infoPage.ClickfavButton(); }
public void DeleteFromFavoritList() { infoPage = new Pages.InfoPage(driver); infoPage.ClickfavButton(); }
public void AddFilmToFavorite() { infoPage = new Pages.InfoPage(driver); infoPage.ClickAddFilmToFavoriteButton(); Thread.Sleep(5000); }
public void AddActoreToFavorite() { infoPage = new Pages.InfoPage(driver); infoPage.ClickListButton(); infoPage.ClickfavButton(); }
public void DeleteNoticeOnInfoPage() { infoPage = new Pages.InfoPage(driver); infoPage.ClickremoveNotice(); driver.SwitchTo().Alert().Accept(); }