public void LowestFare()
 {
     LowestFareSteps.GoToMainPage();
     MainPage.OpenCheapFlight();
     CheapFlightPage.ClickViewByMonth();
     LowestFareSteps.CheckIfLowestFairCompliesTheLowestPrice();
 }
Exemplo n.º 2
0
        public static bool CheckIfLowestFairCompliesTheLowestPrice()
        {
            var lowestFarePrice = CheapFlightPage.GetPriceOfDayLabeledLowestFare();
            var minPrice        = GetMinPrice();

            if (lowestFarePrice.Equals(minPrice))
            {
                return(true);
            }
            return(false);
        }