test: 관리자 e2e 검증 안정화
This commit is contained in:
@@ -27,7 +27,7 @@ test.describe('admin authentication', () => {
|
||||
await page.getByRole('button', { name: '로그인' }).click();
|
||||
|
||||
await expect(page).toHaveURL(/\/taxbaik\/admin\/dashboard$/);
|
||||
await expect(page.locator('text=대시보드')).toBeVisible({ timeout: 20_000 });
|
||||
await expect(page.getByRole('heading', { name: '대시보드' })).toBeVisible({ timeout: 20_000 });
|
||||
await expect(page.getByRole('link', { name: /로그아웃/ })).toBeVisible();
|
||||
expect(consoleErrors, 'browser console/page errors').toEqual([]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user