채팅 소리를 메신저 같은 "뽀록"으로: 두 음이 올라가는 "띠릭"은 맞음·내 차례 같은 설정/게임 소리와 헷갈려서, 낮은 데서 빠르게 미끄러져 오르는 물방울 두 개(380→1150Hz, 520→1500Hz)로 바꿈. 크기(게임 소리의 90%)·소리 크기 설정·몰림 한 번·지난 채팅 조용히는 그대로. feedback.test.ts와 chat.e2e.ts의 음 확인도 맞춤

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-10-14 09:58:24 +09:00
parent b7d5b3ad75
commit aed4dd0fce
3 changed files with 14 additions and 16 deletions

View File

@@ -242,14 +242,14 @@ try {
if (await a.locator('.room-bar').getByRole('button', { name: /^채팅/ }).count()) throw new Error('chat button still on the wide bar');
});
await step('채팅 소리: 새 줄마다 "띠릭"(보낸 사람도), 다시 들어올 때 받는 지난 줄은 조용히', async () => {
// Count the chat sound's first note (1568 Hz) as it is scheduled.
await step('채팅 소리: 새 줄마다 "뽀록"(보낸 사람도), 다시 들어올 때 받는 지난 줄은 조용히', async () => {
// Count the chat sound's first bubble (starts at 380 Hz) as it is scheduled.
const rec = () => {
const w = window as unknown as { __chatBeeps: number };
w.__chatBeeps = 0;
const orig = AudioParam.prototype.setValueAtTime;
AudioParam.prototype.setValueAtTime = function (v: number, t: number) {
if (v === 1568) w.__chatBeeps++;
if (v === 380) w.__chatBeeps++;
return orig.call(this, v, t);
};
};