Agent Tests for API, MAUI, and Slop Features
This commit is contained in:
@@ -3,10 +3,16 @@ namespace Tests.Pages.BuildCalculator;
|
||||
public class BuildOrderComponent
|
||||
{
|
||||
private readonly Website _website;
|
||||
public BuildOrderComponent(Website website) => _website = website;
|
||||
|
||||
public BuildOrderComponent(Website website)
|
||||
{
|
||||
_website = website;
|
||||
}
|
||||
|
||||
public ILocator JsonTextarea => _website.Locator("textarea");
|
||||
|
||||
public async Task<string> GetJsonDataAsync() =>
|
||||
await JsonTextarea.InputValueAsync();
|
||||
}
|
||||
public async Task<string> GetJsonDataAsync()
|
||||
{
|
||||
return await JsonTextarea.InputValueAsync();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user