Skip to content

Instantly share code, notes, and snippets.

@testautomationtribe
Created August 6, 2016 11:40
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 testautomationtribe/d6bd6a1844998ef9cb77af3727bba4dc to your computer and use it in GitHub Desktop.
Save testautomationtribe/d6bd6a1844998ef9cb77af3727bba4dc to your computer and use it in GitHub Desktop.
using NUnit.Framework;
using TatAutomationFramework.Web;
namespace TatAutomationFramework.Tests
{
public class HeaderFunctionTests : TestBase
{
[Test]
public void Should_DisplayLogo_WhenUserNavigatesToSite()
{
Assert.That(TatWeb.HeaderPage.IsLogoDisplayed(), "Logo is not Displayed");
}
[Test]
public void Should_DisplayCorrectTagline_WhenUserNavigatesToSite()
{
Assert.That(TatWeb.HeaderPage
.IsTaglineCorrect()
.Equals("Your Local WordPress Installation"), "TagLine is incorrect");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment