Skip to content

Instantly share code, notes, and snippets.

@testautomationtribe
Created August 15, 2016 20:52
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/750c4dde5fbbad49545adaf6f30b852f to your computer and use it in GitHub Desktop.
Save testautomationtribe/750c4dde5fbbad49545adaf6f30b852f to your computer and use it in GitHub Desktop.
using NUnit.Framework;
using TatAutomationFramework.Web;
namespace TatAutomationFramework.Tests
{
public class NavigationTests : TestBase
{
[Test]
public void Should_NavigateToNewsPage_WhenLinkIsSelected()
{
Assert.That(TatWeb.MenuPage
.NavigateToNews()
.IsAtPage(), "You are not on the News page");
}
[Test]
public void Should_NavigateToSupportPage_WhenLinkIsSelected()
{
Assert.That(TatWeb.MenuPage
.NavigateToSupport()
.IsAtPage(), "You are not on the Support page");
}
[Test]
public void Should_NavigateToHomePage_WhenLinkIsSelected()
{
Assert.That(TatWeb.MenuPage
.NavigateToHome()
.IsAtPage(), "You are not on the home page");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment