Example #1
0
 public void FailedLoginTest_InvalidUsername()
 {
     Given(() => UserSteps.CorrectCredentials(User))
     .When(() => UserSteps.CredentialsEntered("Bill Burst", "Abacus"))
     .Then(() => UserSteps.SelectedUserIsNull())
     // .And(() => UserSteps.SuccessMessageDisplayed())
     .And(() => UserSteps.UserIsDeleted())
     .BDTest();
 }
Example #2
0
 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();
 }