You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
647 B
31 lines
647 B
namespace TestAutomation; |
|
|
|
[TestFixture] |
|
public class TestLinks : BaseTest |
|
{ |
|
|
|
[SetUp] |
|
public void SetUp() |
|
{ |
|
TestReport.CreateTest(); |
|
} |
|
|
|
[TearDown] |
|
public void TearDown() |
|
{ |
|
TestReport.ThrowErrors(); |
|
} |
|
|
|
[Test] |
|
public void VerifyPageLinks() |
|
{ |
|
Website.HarassCalculatorPage.Goto(); |
|
TestReport.VerifyLinks(Website.HarassCalculatorPage).Wait(); |
|
|
|
Website.DatabasePage.Goto(); |
|
TestReport.VerifyLinks(Website.DatabasePage).Wait(); |
|
|
|
Website.DatabaseSinglePage.Goto("throne"); |
|
TestReport.VerifyLinks(Website.DatabaseSinglePage).Wait(); |
|
} |
|
} |