Exemplo n.º 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));
 }
Exemplo n.º 2
0
 public void FindFlightRoundtripAdultsFilterAirline()
 {
     Aviasales_tests.Steps.Steps steps = new Steps.Steps();
     steps.InitBrowser();
     steps.FindFlightRoundtripAdultsFilterAirline();
     Assert.True(steps.HasTicketsList(false));
 }
Exemplo n.º 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));
 }
Exemplo n.º 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));
 }
Exemplo n.º 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());
 }
Exemplo n.º 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));
 }
Exemplo n.º 7
0
 public DummyActor()
 {
     At       = new FormsContainer();
     Performs = new Steps.Steps(At);
 }