Exemplo n.º 1
0
        public void GivenTheUserClickTheButtonDetalles()
        {
            //ScenarioContext.Current.Pending();
            //driver.Manage().Window.Maximize();

            GolbalDriver.driver2().Navigate().GoToUrl("https://localhost:5001/");
            GolbalDriver.driver2().FindElement(By.Id("details")).Click();
        }
Exemplo n.º 2
0
 public void ThenTheGameIsInTheCartDetails()
 {
     //ScenarioContext.Current.Pending();
     GolbalDriver.driver2().FindElement(By.Id("pagar_button")).Click();
 }
Exemplo n.º 3
0
 public void WhenTheUserGoesClickTheButtonCart()
 {
     //ScenarioContext.Current.Pending();
     GolbalDriver.driver2().FindElement(By.Id("iconCart")).Click();
 }
Exemplo n.º 4
0
 public void GivenTheUserClickTheButtonAnadirAlCarrito()
 {
     //ScenarioContext.Current.Pending();
     GolbalDriver.driver2().FindElement(By.Id("add_Cart")).Click();
 }
Exemplo n.º 5
0
 public void ThenTheResultShouldBeTheUserLogged()
 {
     //ScenarioContext.Current.Pending();
     GolbalDriver.driver2().FindElement(By.Id("login_button")).Click();
 }
Exemplo n.º 6
0
 public void WhenEnterTheEmailAndPassword()
 {
     //ScenarioContext.Current.Pending();
     GolbalDriver.driver2().FindElement(By.Id("Input_Email")).SendKeys("*****@*****.**");
     GolbalDriver.driver2().FindElement(By.Id("Input_Password")).SendKeys("Passw0rd$");
 }
Exemplo n.º 7
0
 public void GivenOpenTheChromeAndLaunchTheApplication()
 {
     //ScenarioContext.Current.Pending();
     GolbalDriver.driver2().Manage().Window.Maximize();
     GolbalDriver.driver2().Navigate().GoToUrl("https://localhost:5001/Identity/Account/Login");
 }