public void FailedLoginTest_InvalidUsername() { Given(() => UserSteps.CorrectCredentials(User)) .When(() => UserSteps.CredentialsEntered("Bill Burst", "Abacus")) .Then(() => UserSteps.SelectedUserIsNull()) // .And(() => UserSteps.SuccessMessageDisplayed()) .And(() => UserSteps.UserIsDeleted()) .BDTest(); }
public void LoginTest() { Given(() => UserSteps.CorrectCredentials(User)) .When(() => UserSteps.CredentialsEntered("Bill Wurst", "Abacus123")) .Then(() => UserSteps.SelectedUserIsCorrect(User.Username)) // .And(() => UserSteps.SuccessMessageDisplayed()) .And(() => UserSteps.UserIsDeleted()) .BDTest(); }