feat: implement Enter key autofocus keyboard navigation and robust E2E selector clicking
TaxBaik CI/CD / build-and-deploy (push) Successful in 53s

This commit is contained in:
2026-06-30 22:51:58 +09:00
parent ba158f9824
commit 163812e964
3 changed files with 50 additions and 8 deletions
+7 -7
View File
@@ -133,10 +133,10 @@ test.describe('admin CRM pages', () => {
// 분할 편집기(admin-editor-panel) 노출 대기
await expect(page.locator('.admin-editor-panel')).toBeVisible({ timeout: 5000 });
// mud-select 내의 input 클릭 (이벤트 핸들러 격발 유도)
// mud-select 자체 클릭 (이벤트 핸들러 격발 유도)
const select = page.locator('.admin-editor-panel .mud-select').filter({ hasText: '사업 유형' }).first();
await page.waitForTimeout(500);
await select.locator('input').click();
await page.waitForTimeout(1500);
await select.click();
// 활성화된 팝오버(.mud-popover-open) 내에서 텍스트 노출 검증
const popover = page.locator('.mud-popover-open');
@@ -155,8 +155,8 @@ test.describe('admin CRM pages', () => {
await expect(page.locator('.admin-editor-panel')).toBeVisible({ timeout: 5000 });
const select = page.locator('.admin-editor-panel .mud-select').filter({ hasText: '신고 유형' }).first();
await page.waitForTimeout(500);
await select.locator('input').click();
await page.waitForTimeout(1500);
await select.click();
const popover = page.locator('.mud-popover-open');
await expect(popover.getByText('종합소득세')).toBeVisible({ timeout: 5000 });
@@ -173,8 +173,8 @@ test.describe('admin CRM pages', () => {
await expect(page.locator('.admin-editor-panel')).toBeVisible({ timeout: 5000 });
const select = page.locator('.admin-editor-panel .mud-select').filter({ hasText: '서비스 유형' }).first();
await page.waitForTimeout(500);
await select.locator('input').click();
await page.waitForTimeout(1500);
await select.click();
const popover = page.locator('.mud-popover-open');
await expect(popover.getByText('개인 기장대리')).toBeVisible({ timeout: 5000 });