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
+2 -2
View File
@@ -1,5 +1,5 @@
import { expect, test } from '@playwright/test';
import { loginThroughAdminUi } from './helpers/admin-auth';
import { loginThroughAdminUi, navigateInBlazor } from './helpers/admin-auth';
const username = process.env.E2E_ADMIN_USERNAME ?? 'admin';
const password = process.env.E2E_ADMIN_PASSWORD;
@@ -29,7 +29,7 @@ test.describe('admin smoke', () => {
];
for (const check of menuChecks) {
await page.goto(`${baseUrl}${check.path}`);
await navigateInBlazor(page, `${baseUrl}${check.path}`);
await expect(page).toHaveURL(new RegExp(`${check.path}$`));
await expect(page.locator('.mud-main-content').getByText(check.content).first()).toBeVisible({ timeout: 20_000 });
}