Exemplo n.º 1
0
        public void LoginWithInvalidEmail()
        {
            var  logPage = new LoginPage(this.driver);
            User user    = AccessExcelData.GetUserTestData("LoginWithInvalidEmail");

            logPage.NavigateTo();
            logPage.FillLoginForm(user);

            logPage.AssertErrorMessageForEmail("The Email field is not a valid e-mail address.");
        }
Exemplo n.º 2
0
        public void LoginWithoutEmail()
        {
            var  logPage = new LoginPage(this.driver);
            User user    = AccessExcelData.GetUserTestData("LoginWithoutEmail");

            logPage.NavigateTo();
            logPage.FillLoginForm(user);

            logPage.AssertErrorMessageForEmail("The Email field is required.");
        }