Skip to content

Instantly share code, notes, and snippets.

Last active August 14, 2019 12:38
What would you like to do?
Here is a good page object test
public void ShouldNotBeAbleToLoginWithLockedOutUser()
//Although I would likely never test a login through the UI. This is just a small example
var productsPage = _loginPage.Login("locked_out_user", "secret_sauce");
productsPage.IsLoaded.Should().BeFalse("we used a locked out user who should not be able to login.");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment