Migrate UI tests to Playwright dotta

This commit is contained in:
Joseph Doherty
2026-02-10 07:47:48 -05:00
parent c3a9a6b19c
commit 78e67c2aab
37 changed files with 842 additions and 230 deletions
@@ -1,5 +1,3 @@
using Microsoft.Playwright;
namespace JdeScoping.Ui.Tests.Helpers;
internal static class UiNavigationHelper
@@ -98,9 +96,7 @@ internal static class UiNavigationHelper
{
var meResponse = await page.Context.APIRequest.GetAsync("/api/auth/me");
if (meResponse.Status != 200)
{
throw new InvalidOperationException(
$"UI test host did not establish authenticated session after login. /api/auth/me status={meResponse.Status}.");
}
}
}
}