음성 재생과 운영 배포 정리

This commit is contained in:
Yun Chan 2026-06-28 12:18:20 +09:00
parent 8ed185ce6c
commit ac7db95542
1020 changed files with 46863 additions and 2175 deletions

View file

@ -1,5 +1,5 @@
import { expect, test, type Page, type TestInfo } from "@playwright/test";
import { fetchAvailablePersona } from "./support";
import { completeOnboarding, fetchAvailablePersona } from "./support";
interface WsResult {
code: number;
@ -15,6 +15,16 @@ async function signInLearner(page: Page, testInfo: TestInfo, label: string) {
},
});
expect(res.ok(), await res.text()).toBeTruthy();
await completeOnboarding(page, {
legal_name: `Voice ${label}`,
affiliation: "한신대학교",
department: "상담심리학과",
grade_level: "3학년",
phone: "010-4444-4444",
contact_address: "경기도 오산시 한신대학교",
nickname: `Voice ${label}`,
self_introduction: "음성 WebSocket 경계 검증용 E2E 사용자입니다.",
});
}
async function openVoiceSocket(page: Page, path: string): Promise<WsResult> {