Skip to content

Instantly share code, notes, and snippets.

@testautomationtribe
Last active July 12, 2016 20:45
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/78a05d3a0397071cc8556fac87e536ea to your computer and use it in GitHub Desktop.
Save testautomationtribe/78a05d3a0397071cc8556fac87e536ea to your computer and use it in GitHub Desktop.
using NUnit.Framework;
using TatAutomationFramework.Web;
using TatAutomationFramework.Web.Pages;
namespace TatAutomationFramework.Tests
{
public class HeaderFunctionTests : TestBase
{
[Test]
public void Should_DisplayLogo_WhenUserNavigatesToSite()
{
HeaderPObject headerPage = new HeaderPObject();
Assert.That(headerPage.IsLogoDisplayed(), "Logo is not Displayed");
}
[Test]
public void Should_DisplayCorrectTagline_WhenUserNavigatesToSite()
{
HeaderPObject headerPage = new HeaderPObject();
Assert.That(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