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)); }
public void FindFlightRoundtripAdultsFilterAirline() { Aviasales_tests.Steps.Steps steps = new Steps.Steps(); steps.InitBrowser(); steps.FindFlightRoundtripAdultsFilterAirline(); Assert.True(steps.HasTicketsList(false)); }
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)); }
public void FindFlightOneAdult() { Aviasales_tests.Steps.Steps steps = new Steps.Steps(); steps.InitBrowser(); steps.FindFlightOneAdult(depPoint, returnPoint, depDate, 1); Assert.True(steps.HasTicketsList(true)); }
public void FindFlightWithSameOriginAndDestinationPointThrowException() { Aviasales_tests.Steps.Steps steps = new Steps.Steps(); steps.InitBrowser(); steps.FindFlightWithSameOriginAndDestinationPointThrowException(depPoint, depPoint, depDate, returnDate, 2); Assert.True(steps.HasErrorMessage()); }
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)); }
public DummyActor() { At = new FormsContainer(); Performs = new Steps.Steps(At); }