示例#1
0
        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();
        }
示例#2
0
        public bool OrderCar(string city)
        {
            OrderCarPage ocp = new OrderCarPage(driver);

            return(ocp.Order(city));
        }