test: blazor 내부 이동으로 관리자 e2e 안정화
TaxBaik CI/CD / build-and-deploy (push) Successful in 1m10s
TaxBaik Browser E2E / browser-e2e (push) Failing after 1m37s

This commit is contained in:
2026-06-27 21:34:19 +09:00
parent a58aa7efe0
commit 661ffbbf2c
4 changed files with 18 additions and 6 deletions
+12
View File
@@ -41,6 +41,18 @@ export async function loginThroughAdminUi(
await expect(page.getByRole('heading', { name: '대시보드' })).toBeVisible({ timeout: 20_000 });
}
export async function navigateInBlazor(page: Page, targetUrl: string) {
await page.evaluate(url => {
const blazor = (window as typeof window & { Blazor?: { navigateTo: (target: string) => void } }).Blazor;
if (blazor) {
blazor.navigateTo(url);
return;
}
window.location.href = url;
}, targetUrl);
}
export async function findInquiryByName(
request: APIRequestContext,
baseUrl: string,