Updating game data to mid season patch and made card gallery nicer

This commit is contained in:
2026-07-17 09:42:50 -04:00
parent 7b0f2ce1a5
commit 5aff9910c1
709 changed files with 1485 additions and 547 deletions
+6 -5
View File
@@ -3,8 +3,8 @@ using Microsoft.Playwright.NUnit;
namespace Tests;
/// <summary>
/// Base class for Playwright tests that require an authenticated session.
/// Signs in via the dev-only bypass endpoint before each test.
/// Base class for Playwright tests that require an authenticated session.
/// Signs in via the dev-only bypass endpoint before each test.
/// </summary>
public abstract class AuthenticatedPageTest : PageTest
{
@@ -13,8 +13,9 @@ public abstract class AuthenticatedPageTest : PageTest
[SetUp]
public async Task SignIn()
{
var response = await Page.APIRequestContext.PostAsync($"{BaseUrl}/api/auth/dev-login");
var response = await Page.APIRequest.PostAsync($"{BaseUrl}/api/auth/dev-login");
if (!response.Ok)
throw new Exception($"Dev login failed with status {response.Status}. Ensure the server is running in Development mode.");
throw new Exception(
$"Dev login failed with status {response.Status}. Ensure the server is running in Development mode.");
}
}
}