public void Selection_0_passengers() { topAviaPage = new Pages.TopAviaPage(this.driver); string departueDate = DateTime.Today.AddDays(+21).ToString(); topAviaPage.Navigate(); topAviaPage.Close_Sendpulse(); topAviaPage.Input_departue_and_destination_country("Пекин", "Нью-Йорк"); topAviaPage.Input_date(departueDate); topAviaPage.Choise_0_passengers(); }
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(); }
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(); }