Updating game data to mid season patch and made card gallery nicer
This commit is contained in:
@@ -4,13 +4,22 @@ namespace Tests.PageObjects;
|
||||
|
||||
public class LoginPage : BasePage
|
||||
{
|
||||
public LoginPage(IPage page) : base(page) { }
|
||||
public LoginPage(IPage page) : base(page)
|
||||
{
|
||||
}
|
||||
|
||||
public ILocator EnrollButton =>
|
||||
Page.GetByRole(AriaRole.Button, new PageGetByRoleOptions { Name = "Enroll Passkey" });
|
||||
|
||||
public ILocator SignInButton =>
|
||||
Page.GetByRole(AriaRole.Button, new PageGetByRoleOptions { Name = "Sign in with Passkey" });
|
||||
|
||||
public ILocator EnrollButton => Page.GetByRole(AriaRole.Button, new() { Name = "Enroll Passkey" });
|
||||
public ILocator SignInButton => Page.GetByRole(AriaRole.Button, new() { Name = "Sign in with Passkey" });
|
||||
public ILocator ErrorMessage => Page.Locator(".alert-danger");
|
||||
|
||||
public async Task GotoAsync() => await NavigateToAsync("/login");
|
||||
public async Task GotoAsync()
|
||||
{
|
||||
await NavigateToAsync("/login");
|
||||
}
|
||||
|
||||
public async Task WaitForInteractiveAsync()
|
||||
{
|
||||
@@ -18,4 +27,4 @@ public class LoginPage : BasePage
|
||||
// Wait for Blazor circuit: either button must be visible
|
||||
await Page.WaitForSelectorAsync("button", new PageWaitForSelectorOptions { Timeout = 10_000 });
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user