Skip to content

Instantly share code, notes, and snippets.

@qagoose
Last active June 14, 2019 14:29
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 qagoose/765c332ea057dc53571a8444f9786054 to your computer and use it in GitHub Desktop.
Save qagoose/765c332ea057dc53571a8444f9786054 to your computer and use it in GitHub Desktop.
dataSentinel.Ensure(
EnsureTest.As("admin1", "Password2")
.ForCompany("CompanyName")
.EnsureThat()
.CompanyIsEditable()
.WithComponentADetails(new ComponentADetails(), new ComponentAVariantAPage())
.WithComponentBDetails(new ComponentBDetails(), new ComponentBVariantAPage())
.AndRemainLoggedIn()
.AndReturnTo(new HomePage())
.build()
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment