Adding vibe tests
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user