Пример #1
0
        public void Test()
        {
            Homepage homepage = new Homepage(driver);

            homepage.GoTo();
            homepage.ClickMyAccountButton();
            homepage.ClickRegisterButton();

            RegisterPage registerPage = new RegisterPage(driver);

            registerPage.FillRegistrationForm(userData);
            registerPage.CheckPrivacyPolicy();
            registerPage.ClickContinueButton();

            Thread.Sleep(1000);
            Assert.IsTrue(driver.Title.Contains("Your Account Has Been Created!"));
        }