Пример #1
0
        public void TryToLoggingIn()
        {
            var loginPage   = new LoginPage(this.driver);
            var accountPage = new AccountPage.AccountPage(this.driver);

            loginPage.Login();
            accountPage.NavigateTo();
            accountPage.AssertIsLogged("Hello [email protected]!");
        }
Пример #2
0
        public void TryToLoggingIn()
        {
            var user        = AccessExcelData.GetTestData("TryToLoggingIn");
            var loginPage   = new LoginPage(this.driver);
            var accountPage = new AccountPage.AccountPage(this.driver);

            accountPage.NavigateTo();
            accountPage.LoginLink.Click();
            loginPage.Login(user);

            accountPage.AssertIsLogged("Hello [email protected]!");
        }