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.
35 lines
850 B
35 lines
850 B
namespace TestAutomation; |
|
|
|
[TestFixture] |
|
public class TestSearchFeatures : BaseTest |
|
{ |
|
[Test] |
|
public void DesktopOpenCloseSearchDialog() |
|
{ |
|
TestReport.CreateTest(); |
|
|
|
Website.WebDriver.Navigate().GoToUrl(WebsiteUrl + "/"); |
|
|
|
Website.NavigationBar |
|
.ClickSearchButton() |
|
.CloseDialog() |
|
.ClickHomeLink(); |
|
} |
|
|
|
[Test] |
|
[Ignore("Not completed")] |
|
public void DesktopSearchForThrone() |
|
{ |
|
TestReport.CreateTest(); |
|
|
|
Website.WebDriver.Navigate().GoToUrl(WebsiteUrl + "/"); |
|
|
|
Website.NavigationBar |
|
.ClickSearchButton() |
|
.Search("Throne") |
|
.SelectSearchEntity("Throne"); |
|
// .GetName(out var name); |
|
|
|
// TestReport.CheckPassed(name.Equals("Throne"), "Couldn't find Throne via search."); |
|
} |
|
} |