public void GivenISignUp()
        {
            Driver.Navigate().GoToUrl("http://demosite.casqad.org/");
            HomePage homePage = new HomePage(Driver);

            homePage.GoToSignUp();
            Thread.Sleep(1000);
            SignUpPage signUpPage = new SignUpPage(Driver);

            signUpPage.PopulateSignUpPage();
        }
Ejemplo n.º 2
0
        public void SignUpAndLogin()
        {
            Driver.Navigate().GoToUrl("http://demosite.casqad.org/");
            HomePage homePage = new HomePage(Driver);

            homePage.GoToSignUp();
            Thread.Sleep(1000);
            SignUpPage signUpPage = new SignUpPage(Driver);

            signUpPage.PopulateSignUpPage();
            signUpPage.LoginNewUser();
            LoginPage loginPage = new LoginPage(Driver);

            loginPage.VerifyElementIsDisplayed(homePage.DeconectareButton);
            Thread.Sleep(1000);
        }