public void WhenIClickOnAParkPicture()
        {
            ParkList listPage = ScenarioContext.Current.Get <ParkList>("CurrentPage");

            ParkDetail detailPage = listPage.ClickImage_GetDetail();

            ScenarioContext.Current.Set(detailPage, "CurrentPage");
        }
Exemplo n.º 2
0
        public void ClickPark_GetDetailView()
        {
            ParkList page = new ParkList(driver);

            page.Navigate();

            ParkDetail result = page.ClickImage_GetDetail();

            Assert.IsNotNull(result);
        }