public void GivenIClickOnThePersonalizedMusicalNotesPencils()
 {
     MKKidsPage kidsPage = (MKKidsPage)ScenarioContext.Current["kidsPage"];
     kidsPage.musicalNotePencilsLink.Click();
     MKProductPage productPage = new MKProductPage(driver);
     IWebElement displayName = wait.Until(ExpectedConditions.ElementIsVisible(By.Id(productPage.productDisplayName.GetAttribute("id"))));
     Assert.IsTrue(displayName.Displayed);
     ScenarioContext.Current["productPage"] = productPage;
 }
 public void GivenIAmOnTheProductPage()
 {
     driver.Navigate().GoToUrl(MKProductPage.URL);
     MKProductPage productPage = new MKProductPage(driver);
     ScenarioContext.Current["productPage"] = productPage;
 }
 public void ThenIShouldBeOnThePauaShamrockProductPage()
 {
     MKProductPage productPage = new MKProductPage(driver);
     IWebElement addToCartButton = wait.Until(ExpectedConditions.ElementIsVisible(By.Id(productPage.addToCartButton.GetAttribute("id"))));
     Assert.IsTrue(addToCartButton.Displayed);
 }