Adding vibe tests
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using Microsoft.Playwright;
|
||||
|
||||
namespace Tests.PageObjects;
|
||||
|
||||
public class AgentsPage : BasePage
|
||||
{
|
||||
public AgentsPage(IPage page) : base(page) { }
|
||||
|
||||
public async Task GotoAsync() => await NavigateToAsync("/agents");
|
||||
|
||||
public ILocator Grid => Page.Locator(".agents-grid");
|
||||
|
||||
public async Task WaitForGridAsync()
|
||||
{
|
||||
await Page.WaitForLoadStateAsync(LoadState.NetworkIdle);
|
||||
await Grid.WaitForAsync();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user