스타일 수정
This commit is contained in:
@@ -33,6 +33,15 @@ describe("PublicPageRenderer - 버튼 블록 스타일", () => {
|
||||
|
||||
const link = container.querySelector("a") as HTMLAnchorElement | null;
|
||||
expect(link).not.toBeNull();
|
||||
|
||||
const wrapper = link!.parentElement as HTMLElement | null;
|
||||
expect(wrapper).not.toBeNull();
|
||||
// 정렬/버튼 베이스는 pb-* 토큰 클래스로 렌더된다.
|
||||
expect(wrapper!.className).toContain("pb-text-center");
|
||||
expect(link!.className).toContain("pb-btn-base");
|
||||
expect(link!.className).toContain("pb-btn-size-md");
|
||||
expect(link!.className).toContain("pb-btn-variant-solid-primary");
|
||||
expect(link!.className).toContain("pb-btn-radius-md");
|
||||
// 배경색: #123456 → rgb(18, 52, 86)
|
||||
expect(link!.style.backgroundColor).toBe("rgb(18, 52, 86)");
|
||||
// 외곽선 색상: #ff0000 → rgb(255, 0, 0)
|
||||
|
||||
Reference in New Issue
Block a user