전체화면 명령 입력의 제출 버튼을 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:
@@ -79,7 +79,7 @@ test('reserves every requested general and chief command through Chromium and re
|
||||
if (fill) {
|
||||
const form = picker.getByTestId('command-argument-form');
|
||||
await fill(form);
|
||||
await picker.getByRole('button', { name: '입력', exact: true }).click();
|
||||
await picker.getByRole('button', { name: / 입력$/ }).click();
|
||||
}
|
||||
await expect(editor.locator('.action-column > div').nth(turn)).toHaveText(command);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user