docs: codify public admin smoke harness
TaxBaik CI/CD / build-and-deploy (push) Failing after 9m43s

This commit is contained in:
2026-07-04 20:44:18 +09:00
parent e1f3fc5270
commit 8091bb8902
5 changed files with 13 additions and 3 deletions
+4
View File
@@ -19,6 +19,10 @@ test.describe('admin smoke', () => {
consoleErrors.push(error.message);
});
await page.goto(`${baseUrl}/admin/login`);
await expect(page).toHaveTitle(/관리자/);
await expect(page.getByRole('heading', { name: /관리자 로그인/ })).toBeVisible();
await loginThroughAdminUi(page, baseUrl, username, password);
const menuChecks = [
+1
View File
@@ -6,6 +6,7 @@ test.describe('public smoke', () => {
test('loads the main public pages with SEO basics', async ({ page }) => {
await page.goto(baseUrl);
await expect(page).toHaveTitle(/백원숙 세무회계/);
await expect(page).not.toHaveTitle(/관리자/);
await expect(page.locator('meta[name="description"]')).toHaveAttribute('content', /사업자 기장|부동산|종합소득세/);
await expect(page.getByRole('heading', { name: '세금과 자산 한 번에 해결하는' })).toBeVisible();