public void MustAlertLackOfInformation() { // ARRANGE: When the user is at Login page; login.GoToLoginUrl(); // ACT: When the user click at Login button without information; login.LoginTypeInfo("", "", false); login.BtnLogin.Click(); // ASSERT: Hints must be displayed asking to fill email and password; login.WaitLoginValidation(); Assert.True(login.HintLoginNoInputIsDisplayed()); }
public void MustAllowLogout() { // ARRANGE: When the user is at the Home page with the user logged in; login.GoToLoginUrl(); login.LoginTypeInfo("testgmail.com", "123", false); login.BtnLogin.Click(); login.WaitLoginBeingDone(); // ACT: When the user clicks at the Logout button; home.LogoutUser(); // ASSERT: The the Home page will be displayed with the Login icon; Assert.True(home.BtnLogin.Displayed); }