Exemplo n.º 1
0
        public void SearchTicketsWithoutDateInput()
        {
            FlightsPage flightsPage = new FlightsPage()
                                      .EnterDepartureCity("Minsk")
                                      .EnterDestinationCity("Moscow")
                                      .Enter();

            Assert.AreEqual("Pick a date", flightsPage.GetDepartDateErrorMessage());
        }
Exemplo n.º 2
0
        public void SearchTicketsWithoutDateInput()
        {
            FlightsPage flightsPage = new FlightsPage()
                                      .EnterDepartureCity("Vilnius")
                                      .EnterDestinationCity("Vena")
                                      .Enter();

            Assert.AreEqual("You shouls pick a date", flightsPage.GetDepartDateErrorMessage());

            Logger.Log.Info("Search tickets without date test");
        }