public void InvalidOrderDate() { OpenBrouserWithSite(); MainPage mainPage = new MainPage(Browser).ClickFirstCar(); OrderCarPage orderCarPage = new OrderCarPage(Browser) .InputRentInformation(Person); NUnit.Framework.Assert.AreEqual("check\r\nВаше сообщение отправлено!", orderCarPage.GetOrderStatus()); CloseBrouser(); }
public bool OrderCar(string city) { OrderCarPage ocp = new OrderCarPage(driver); return(ocp.Order(city)); }