Beispiel #1
0
        public void MustAlertWrongCredentials()
        {
            // ARRANGE: When the user is at Login page;
            login.GoToLoginUrl();

            // ACT: When the user type invalid credentials and click at Login button;
            login.LoginTypeInfo("*****@*****.**", "NoPassword", false);
            login.BtnLogin.Click();

            // ASSERT: Hint must be displayed alerting wrong credentials;
            login.WaitLoginValidation();
            Assert.True(login.HintLoginInvalidInputIsDisplayed());
        }