Skip to content

Instantly share code, notes, and snippets.

@angelovstanton
Created October 23, 2016 14:47
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 angelovstanton/0477b4e11eb3b7fd7833637e8ee4b1b0 to your computer and use it in GitHub Desktop.
Save angelovstanton/0477b4e11eb3b7fd7833637e8ee4b1b0 to your computer and use it in GitHub Desktop.
public static class KilowattHoursPageAsserter
{
public static void AssertFahrenheit(this KilowattHoursPage page, string expectedNewtonMeters)
{
Assert.IsTrue(page.Answer.Text.Contains(string.Format("{0}Nm", expectedNewtonMeters)));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment