Agent Tests for API, MAUI, and Slop Features
This commit is contained in:
@@ -3,7 +3,11 @@ namespace Tests.Shared;
|
||||
public class NavigationBar
|
||||
{
|
||||
private readonly Website _website;
|
||||
public NavigationBar(Website website) => _website = website;
|
||||
|
||||
public NavigationBar(Website website)
|
||||
{
|
||||
_website = website;
|
||||
}
|
||||
|
||||
public ILocator SearchButton => _website.Locator("#desktop-searchButton");
|
||||
|
||||
@@ -17,4 +21,4 @@ public class NavigationBar
|
||||
await SearchButton.ClickAsync();
|
||||
return _website.SearchDialog;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user