public void VerificationMobilePhone()
        {
            HomePage       home             = new HomePage(Driver);
            BookAHotelPage verificationPage = new BookAHotelPage(Driver);

            verificationPage.Verification_Mobile_Phone("336713964", "123Qwe123");
            Assert.AreEqual(Driver.FindElement(By.Id("mmb-phone-component-verified-label")).Text, "ПРОВЕРЕН", "Mobile Phone not verification");
            Logger.Log.Debug("VerificationMobilePhone");
        }
        public void VolidationInput()
        {
            HomePage       home             = new HomePage(Driver);
            BookAHotelPage verificationPage = new BookAHotelPage(Driver);

            verificationPage.Volidation_Input("336713964");
            Assert.AreEqual(Driver.FindElement(By.ClassName("error-message")).Text, "Необходимо ввести пароль.", "Not Password");
            Logger.Log.Debug("VolidationInput");
        }
        public void OtherName()
        {
            HomePage       home             = new HomePage(Driver);
            BookAHotelPage verificationPage = new BookAHotelPage(Driver);

            verificationPage.Verification_Mobile_Phone("336713964", "123Qwe123");
            verificationPage.Other_LastName();
            Assert.AreEqual(Driver.FindElement(By.Id("mmb-name-component-display-name-value")).Text, "Irina AndreyukVodchits", "Mobile Phone not verification");
            Logger.Log.Debug("OtherName");
        }
        public void BookingWithChildrenTest()
        {
            HomePage       home           = new HomePage(Driver);
            BookAHotelPage bookAHotelPage = new BookAHotelPage(Driver);

            bookAHotelPage.Input_Sity("Минск");
            bookAHotelPage.Input_date();
            //bookAHotelPage.ClickButtonHotel();
            bookAHotelPage.Check_count_people_and_child();
            bookAHotelPage.ClickButtonHotel();
            Assert.AreEqual(Driver.FindElement(By.ClassName("WarningText__highlight")).Text, "Возраст ребенка установлен на 8 лет.", "No warning about default age of childrens");
            Logger.Log.Debug("BookingWithChildrenTest");
        }
        public void Swimming()
        {
            HomePage       home   = new HomePage(Driver);
            BookAHotelPage freebf = new BookAHotelPage(Driver);

            freebf.Input_Sity("Минск");
            freebf.Input_date();
            freebf.ClickButtonHotel();
            freebf.Also();
            Thread.Sleep(5000);
            Assert.AreEqual(Driver.FindElement(By.XPath("(//*[@class='filter-item-content'])[5]")).Text, "Бассейн", "Not Free BreackFast");
            Logger.Log.Debug("Swimming");
        }
        public void FreeBreakfast()
        {
            HomePage       home   = new HomePage(Driver);
            BookAHotelPage freebf = new BookAHotelPage(Driver);

            freebf.Input_Sity("Минск");
            freebf.Input_date();
            freebf.ClickButtonHotel();
            freebf.Free_Breakfast();
            Thread.Sleep(5000);
            Assert.AreEqual(Driver.FindElement(By.XPath("(//*[@class='Pill Pill--BenefitsPayments Pill--outlined'])[1]")).Text, "Завтрак", "Not Free BreackFast");
            Logger.Log.Debug("FreeBreakfast");
        }
        public void SearchHotel()
        {
            HomePage       home = new HomePage(Driver);
            BookAHotelPage searchkAHotelPage = new BookAHotelPage(Driver);

            searchkAHotelPage.Input_Sity("Минск");
            searchkAHotelPage.Input_date();
            searchkAHotelPage.ClickButtonHotel();
            searchkAHotelPage.Serch_Apartament("Apartments Malinovka");
            Thread.Sleep(5000);

            Assert.AreEqual(Driver.FindElement(By.ClassName("InfoBox__HotelTitle")).Text, "Малиновка Комфорт (Malinovka Comfort Apartments)", "No warning Apartments Malinovka");
            Logger.Log.Debug("SearchHotel");
        }