전체화면 명령 입력의 제출 버튼을 primary로 구분
하단 `입력`이 막대 위 글자로만 보여 제출인지 알기 어려웠고 녹색 상단 버튼이 제출처럼 보였다. Ref처럼 녹색은 이동(명령 취소)에만 두고, 제출은 명령명을 붙인 primary 버튼 (`화계 입력`)으로, `명령 다시 선택`은 secondary로 낮춘다. e2e locator와 버튼 색· geometry assertion을 함께 갱신한다. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -90,7 +90,7 @@ const reserveFirstTurn = async (page: Page, commandName: string, targetName: str
|
||||
const targetValue = await targetOption.getAttribute('value');
|
||||
if (!targetValue) throw new Error(`Missing target value for ${targetName}.`);
|
||||
await picker.locator('select').selectOption(targetValue);
|
||||
await picker.getByRole('button', { name: '입력', exact: true }).click();
|
||||
await picker.getByRole('button', { name: / 입력$/ }).click();
|
||||
await expect(picker).toBeHidden();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user