Esempio n. 1
0
        public void Selection_only_straight_routes_and_not_fiill_departue_country()
        {
            topAviaPage = new Pages.TopAviaPage(this.driver);
            string departueDate = DateTime.Today.AddDays(+10).ToString();
            string arrivalDate  = DateTime.Today.AddDays(+11).ToString();

            topAviaPage.Navigate();
            topAviaPage.Close_Sendpulse();
            topAviaPage.Input_departue_and_destination_country("Пекин", "Нью-Йорк");
            topAviaPage.Input_date(departueDate);
            topAviaPage.Input_Departure_Date(arrivalDate);
            topAviaPage.Selection_only_straight_route();
            topAviaPage.Choise_2_passengers();
        }
Esempio n. 2
0
        public void Selection_only_straight_routes_with_return_date_moth_ago_and_buizness_class()
        {
            topAviaPage = new Pages.TopAviaPage(this.driver);
            string departueDate = DateTime.Today.AddDays(+10).ToString();
            string arrivalDate  = DateTime.Today.AddDays(+30).ToString();

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