Skip to content

Instantly share code, notes, and snippets.

@nikolay-advolodkin
Created October 11, 2018 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nikolay-advolodkin/b6ad5cf99fb05a56acac478266ac5010 to your computer and use it in GitHub Desktop.
Save nikolay-advolodkin/b6ad5cf99fb05a56acac478266ac5010 to your computer and use it in GitHub Desktop.
[Test]
public void JITData()
{
//we need a new test user so we create one
var amazonAPI = new AmazonAPI();
var testUser = amazonAPI.CreateUser("test@email.com","Test12345*")
new AmazonLoginPage(Driver).Login(testUser).Should().BeTrue();
//we clean up after
amazonAPI.DeleteUser(testUser.Id);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment