Converting Tests back to C# but still with Playwright

This commit is contained in:
2026-06-03 14:45:18 -04:00
parent 85834466f1
commit 46150d3a69
209 changed files with 1503 additions and 683 deletions
@@ -0,0 +1,16 @@
namespace Tests.Pages.BuildCalculator;
public class TimelineComponent
{
private readonly Website _website;
public TimelineComponent(Website website) => _website = website;
public ILocator Container =>
_website.Locator(".calculatorGrid > div").Filter(new() { HasText = "Timeline highlights" });
public async Task<bool> ContainsEntityAsync(string name)
{
var text = (await Container.TextContentAsync()) ?? "";
return text.Contains(name);
}
}