TDD,E2E 개선, 미적용 스타일 개선
CI / test (push) Failing after 2m54s
CI / e2e (push) Has been skipped
CI / pr_and_merge (push) Has been skipped

This commit is contained in:
2025-12-07 09:52:42 +09:00
parent e726f43f7c
commit a5b432fb7b
167 changed files with 7397 additions and 663 deletions
+2 -5
View File
@@ -108,7 +108,6 @@ test("서로 다른 유저는 /projects 에서 자신의 프로젝트만 볼 수
await page.getByRole("button", { name: "저장 (로컬 + 서버)" }).click();
await expect(page).toHaveURL(/\/_?projects/);
await expect(page.getByText("유저 A 프로젝트")).toBeVisible();
await expect(page.getByText("user-a-project")).toBeVisible();
await expect(page.getByText("user-b-project")).toHaveCount(0);
@@ -126,18 +125,16 @@ test("서로 다른 유저는 /projects 에서 자신의 프로젝트만 볼 수
await page.getByRole("button", { name: "저장 (로컬 + 서버)" }).click();
await expect(page).toHaveURL(/\/_?projects/);
await expect(page.getByText("유저 B 프로젝트")).toBeVisible();
await expect(page.getByText("user-b-project")).toBeVisible();
await expect(page.getByText("유저 A 프로젝트")).toHaveCount(0);
await expect(page.getByText("user-a-project")).toHaveCount(0);
// 3) 다시 유저 A 로 전환했을 때, /projects 에서는 유저 A 의 프로젝트만 보여야 한다.
currentUser = "A";
await page.goto("/projects");
await expect(page.getByText("유저 A 프로젝트")).toBeVisible();
await expect(page.getByText("user-a-project")).toBeVisible();
await expect(page.getByText("유저 B 프로젝트")).toHaveCount(0);
await expect(page.getByText("user-b-project")).toHaveCount(0);
});
test("프로젝트 목록에서 '폼 제출 내역' 링크를 클릭하면 해당 프로젝트의 제출 내역 페이지로 이동해야 한다", async ({ page }) => {