fix(game-ui): 동적 한국어 조사 처리를 통일한다

세력도시 임명 toast와 접근성 이름, 아이템 파기 확인 문구를 JosaUtil로 조립한다. 받침 유무를 production Chromium 회귀로 고정하고 작업 지침에 병기 조사 금지 규칙을 추가한다.
This commit is contained in:
2026-08-21 22:46:15 +00:00
parent 7066d13c5b
commit 21f27f2a79
5 changed files with 36 additions and 5 deletions
+22
View File
@@ -1781,6 +1781,28 @@ test('내 정보에서 사람 장수의 등록 전콘을 골라 변경한다', a
);
});
test('내 정보 아이템 파기 확인은 이름의 받침에 맞는 조사를 쓴다', async ({ page }) => {
const state: FixtureState = {
permission: 'member',
myset: 1,
richMyInfo: true,
settingMutations: [],
accessPages: [],
};
const prompts: string[] = [];
page.on('dialog', async (dialog) => {
prompts.push(dialog.message());
await dialog.dismiss();
});
await install(page, state);
await page.goto('my-page');
await page.getByRole('button', { name: '명마', exact: true }).click();
await page.getByRole('button', { name: '효경전', exact: true }).click();
expect(prompts).toEqual(['명마를 버리시겠습니까?', '효경전을 버리시겠습니까?']);
});
test('장수 생성에서 등록 전콘을 골라 생성 요청에 전달한다', async ({ page }) => {
const firstIconId = '3f804277-584f-4f44-b39c-9ecf40d1ed31';
const secondIconId = 'f6af46a2-809a-481d-b66d-0f7bbb706780';