Пример #1
0
 public void OrderingATicketToTheSameStation()
 {
     new MainPage(driver).InputCity(SearchFormCreator.InSameStation())
     .SetPassengers(SearchFormCreator.InSameStation())
     .InputDateDefaultValues()
     .Submit();
     Assert.AreEqual("I'm sorry we don't appear to be able " +
                     "to do that journey online at the moment," +
                     " the chances are we're able to do it offline though." +
                     " Please complete the form below and we'll get back to you with a quote.", new ErrorPage(driver).GetErrorMessage());
 }