refactor admin UX and stabilize shell
TaxBaik CI/CD / build-and-deploy (push) Failing after 2m20s

This commit is contained in:
2026-07-09 00:03:33 +09:00
parent a2f94e2b5e
commit 89fa51efe2
91 changed files with 1633 additions and 1030 deletions
+3 -3
View File
@@ -8,14 +8,14 @@ test.describe('blog seo', () => {
const firstPost = page.locator('a[href^="/blog/"]').filter({ hasText: '글 내용 보기' }).first();
await expect(firstPost).toBeVisible();
const detailHref = await firstPost.getAttribute('href');
expect(detailHref).toMatch(/^\/taxbaik\/blog\/[a-z0-9-]+$/);
const detailPath = detailHref?.replace('/taxbaik', '') ?? '/blog';
expect(detailHref).toMatch(/^\/blog\/[a-z0-9-]+$/);
const detailPath = detailHref ?? '/blog';
const response = await page.goto(`${baseUrl}${detailPath}`);
expect(response, 'blog detail response should be returned').toBeTruthy();
expect(response!.status(), `blog detail response for ${detailPath} should be successful`).toBe(200);
await expect(page.locator('meta[name="description"]')).toHaveAttribute('content', /.+/);
await expect(page.locator('link[rel="canonical"]')).toHaveAttribute('href', /\/taxbaik\/blog\/[a-z0-9-]+$/);
await expect(page.locator('link[rel="canonical"]')).toHaveAttribute('href', /\/blog\/[a-z0-9-]+$/);
await expect(page.getByRole('heading', { level: 1 })).toBeVisible();
});
});