-
-
Save testautomationtribe/2e8605663db71d764b4514af725fcc82 to your computer and use it in GitHub Desktop.
HeaderFunctionTests Refactored
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NUnit.Framework; | |
using TatAutomationFramework.Web; | |
using TatAutomationFramework.Web.Pages; | |
namespace TatAutomationFramework.Tests | |
{ | |
public class HeaderFunctionTests : TestBase | |
{ | |
[Test] | |
public void Should_DisplayLogo_WhenUserNavigatesToSiteThree() | |
{ | |
Assert.That(TatPages.HeaderPage.IsLogoDisplayed(), "Logo is not Displayed"); | |
} | |
[Test] | |
public void Should_DisplayCorrectTagline_WhenUserNavigatesToSiteThree() | |
{ | |
Assert.That(TatPages.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