Agent Tests for API, MAUI, and Slop Features
This commit is contained in:
@@ -3,7 +3,11 @@ namespace Tests.Shared;
|
||||
public class SearchDialog
|
||||
{
|
||||
private readonly Website _website;
|
||||
public SearchDialog(Website website) => _website = website;
|
||||
|
||||
public SearchDialog(Website website)
|
||||
{
|
||||
_website = website;
|
||||
}
|
||||
|
||||
public ILocator SearchBackground => _website.FindById("searchBackground");
|
||||
public ILocator SearchInput => _website.FindById("searchInput");
|
||||
@@ -23,4 +27,4 @@ public class SearchDialog
|
||||
{
|
||||
await _website.ClickElementAsync(_website.Locator($"button[label=\"{label}\"]"));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user