Ejemplo n.º 1
0
 public void SearchWithoutCityOfArrivalTest()
 {
     MakeScreenshotWhenFail(() =>
     {
         Pages.MainPage mainPage = new Pages.MainPage(DriverSingleton.GetDriver())
                                   .OpenPage()
                                   .ChooseArrivalCity(RouteCreator.EmptyArrivalCity())
                                   .ClickSearchButton();
         Assert.AreEqual("Please enter origin city", mainPage.GetTextError());
     });
 }