개선관리 요구사항과 Google 로그인을 완료
This commit is contained in:
parent
cc0a15b7c6
commit
2a39636163
112 changed files with 10166 additions and 527 deletions
|
|
@ -196,11 +196,12 @@ test.describe("learner app shell and session launcher", () => {
|
|||
await expect(launcher).toBeVisible();
|
||||
await expect(launcher.getByRole("option")).toHaveCount(personas.length, { timeout: 15_000 });
|
||||
for (const persona of personas) {
|
||||
await expect(launcher.getByRole("option", { name: new RegExp(persona.code) })).toBeVisible();
|
||||
const codePattern = new RegExp(`^${persona.code}(?:\\s|$)`);
|
||||
const option = launcher.getByRole("option", { name: codePattern });
|
||||
await expect(option).toBeVisible();
|
||||
// display_name 은 가운뎃점 3개 이상이면 이름줄과 주호소줄로 나뉘어 렌더된다
|
||||
// (2026-07-27 D3: 한 줄에 · 1개 제한). 이어 붙인 원문 대신 각 조각이 모두
|
||||
// 옵션 안에 있는지 확인해, 표시 방식이 바뀌어도 내용 누락만 잡히게 한다.
|
||||
const option = launcher.getByRole("option", { name: new RegExp(persona.code) });
|
||||
for (const part of persona.display_name.split("·").map((piece) => piece.trim()).filter(Boolean)) {
|
||||
await expect(option).toContainText(part);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue