Restore admin shell and harden smoke tests
TaxBaik CI/CD / build-and-deploy (push) Successful in 4m37s
TaxBaik CI/CD / build-and-deploy (push) Successful in 4m37s
This commit is contained in:
@@ -59,6 +59,9 @@ test.describe('admin smoke', () => {
|
||||
await expect(page).toHaveURL(/\/taxbaik\/admin\/dashboard$/, { timeout: 20_000 });
|
||||
await expect(page.locator('body')).toContainText('세무 운영 콘솔', { timeout: 60_000 });
|
||||
await expect(page.getByRole('link', { name: /로그아웃/ })).toBeVisible({ timeout: 30_000 });
|
||||
await expect(page.locator('.admin-shell')).toBeVisible({ timeout: 30_000 });
|
||||
await expect(page.locator('.admin-drawer')).toBeVisible({ timeout: 30_000 });
|
||||
await expect(page.locator('.admin-content')).toContainText(/대시보드|세무 운영 콘솔/, { timeout: 30_000 });
|
||||
await captureEvidence(page, test.info(), 'admin-dashboard-smoke');
|
||||
|
||||
expect(consoleErrors, 'browser console/page errors').toEqual([]);
|
||||
|
||||
Reference in New Issue
Block a user