예제 #1
0
        public void Selection_only_straight_routes_plus_minus_two_days()
        {
            topAviaPage = new Pages.TopAviaPage(this.driver);
            string departueDate = DateTime.Today.AddDays(+1).ToString();
            string arrivalDate  = DateTime.Today.AddDays(+2).ToString();

            topAviaPage.Navigate();
            topAviaPage.Close_Sendpulse();
            topAviaPage.Input_departue_and_destination_country("Пекин", "Нью-Йорк");
            topAviaPage.Input_date(departueDate);
            topAviaPage.Input_Departure_Date(arrivalDate);
            topAviaPage.Selection_plusMinus_two_days();
            topAviaPage.Choise_2_passengers();
            topAviaPage.Selection_any_item();
        }