Adding vibe tests

This commit is contained in:
2026-06-25 10:52:11 -04:00
parent 00e7184b3b
commit f8b0974b79
7 changed files with 219 additions and 8 deletions
@@ -0,0 +1,15 @@
using Microsoft.Playwright;
namespace Tests.PageObjects;
public class DeckDetailPage : BasePage
{
public DeckDetailPage(IPage page) : base(page) { }
public ILocator ManaCurve => Page.Locator(".mana-curve");
public ILocator ManaBars => Page.Locator(".mana-bar");
public ILocator ManaBarLabels => Page.Locator(".mana-bar-label");
public ILocator ManaCosts => Page.Locator(".mana-cost");
public async Task<int> GetManaBarCountAsync() => await ManaBars.CountAsync();
}