public void ThenIShouldBeTakenToThatParkSWeatherForecastPage_()
        {
            WeatherPage weatherMRNP = ScenarioContext.Current.Get <WeatherPage>(CurrentPage);

            weatherMRNP.Navigate();
            Assert.AreEqual("http://localhost:55601/Weather/Forecast", driver.Url);
        }
        public void WhenIClickTheForecastsLink()
        {
            DetailPage  detailPage  = ScenarioContext.Current.Get <DetailPage>(CurrentPage);
            WeatherPage weatherMRNP = detailPage.WeatherView();

            ScenarioContext.Current.Set(weatherMRNP, CurrentPage);
        }
        public void WhenIClickOnTheWeatherLinkAtTheBottomOfTheScreen()
        {
            DetailPage  personalPage = ScenarioContext.Current.Get <DetailPage>("CurrentPage");
            WeatherPage weatherpage  = personalPage.ClickOnWeatherLink();

            ScenarioContext.Current.Set(weatherpage, "CurrentPage");
        }
        public void ThenIAmNowOnTheWeatherPage()
        {
            WeatherPage surveyPage = ScenarioContext.Current.Get <WeatherPage>("CurrentPage");

            Assert.AreEqual("http://localhost:55601/Home/FiveDayForecast/CVNP", driver.Url);
        }