示例#1
0
 public void FindFlightRoundtripAdultsBusinessClass()
 {
     Aviasales_tests.Steps.Steps steps = new Steps.Steps();
     steps.InitBrowser();
     steps.FindFlightRoundtripAdultsBusinessClass(depPoint, returnPoint, depDate, returnDate, 1);
     Assert.True(steps.HasTicketsList(true));
 }
示例#2
0
 public void FindFlightRoundtripAdultsFilterAirline()
 {
     Aviasales_tests.Steps.Steps steps = new Steps.Steps();
     steps.InitBrowser();
     steps.FindFlightRoundtripAdultsFilterAirline();
     Assert.True(steps.HasTicketsList(false));
 }
示例#3
0
 public void FindFlightRoundtripWithChildernUnder2()
 {
     Aviasales_tests.Steps.Steps steps = new Steps.Steps();
     steps.InitBrowser();
     steps.FindFlightRoundtripWithChildernUnder2(depPoint, returnPoint, depDate, returnDate, 1, 1);
     Assert.True(steps.HasTicketsList(true));
 }
示例#4
0
 public void FindFlightOneAdult()
 {
     Aviasales_tests.Steps.Steps steps = new Steps.Steps();
     steps.InitBrowser();
     steps.FindFlightOneAdult(depPoint, returnPoint, depDate, 1);
     Assert.True(steps.HasTicketsList(true));
 }
示例#5
0
 public void FindFlightWithSameOriginAndDestinationPointThrowException()
 {
     Aviasales_tests.Steps.Steps steps = new Steps.Steps();
     steps.InitBrowser();
     steps.FindFlightWithSameOriginAndDestinationPointThrowException(depPoint, depPoint, depDate, returnDate, 2);
     Assert.True(steps.HasErrorMessage());
 }
示例#6
0
 public void FindFlightRoundtripAdultsMultiWay()
 {
     Aviasales_tests.Steps.Steps steps = new Steps.Steps();
     steps.InitBrowser();
     steps.FindFlightRoundtripAdultsMultiWay(new string[] { "Вильнюс", "Берлин", "Амстердам" }, new string[] { "Берлин", "Амстердам", "Вильнюс" }, new DateTime[] { new DateTime(2018, 4, 28), new DateTime(2018, 4, 29), new DateTime(2018, 5, 1) });
     Assert.True(steps.HasTicketsList(false));
 }
示例#7
0
 public DummyActor()
 {
     At       = new FormsContainer();
     Performs = new Steps.Steps(At);
 }