Skip to content

Commit 97cb311

Browse files
committed
test: temporal-filter, pr-commit 관련 e2e 테스트 코드 작성
1 parent 468d452 commit 97cb311

4 files changed

Lines changed: 1149 additions & 0 deletions

File tree

Lines changed: 193 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,193 @@
1+
[
2+
{
3+
"nodeTypeName": "CLUSTER",
4+
"commitNodeList": [
5+
{
6+
"nodeTypeName": "COMMIT",
7+
"commit": {
8+
"id": "a1b2c3d4e5f6789012345678901234567890abcd",
9+
"parentIds": [],
10+
"author": {
11+
"id": "user-1",
12+
"names": ["김개발"],
13+
"emails": ["kim.dev@example.com"]
14+
},
15+
"committer": {
16+
"id": "user-1",
17+
"names": ["김개발"],
18+
"emails": ["kim.dev@example.com"]
19+
},
20+
"authorDate": "Mon Dec 18 2023 10:30:00 GMT+0900 (Korean Standard Time)",
21+
"commitDate": "Mon Dec 18 2023 10:30:00 GMT+0900 (Korean Standard Time)",
22+
"diffStatistics": {
23+
"changedFileCount": 3,
24+
"insertions": 150,
25+
"deletions": 25,
26+
"files": {
27+
"src/components/Detail/Detail.tsx": {
28+
"insertions": 120,
29+
"deletions": 20
30+
},
31+
"src/components/Detail/Detail.scss": {
32+
"insertions": 25,
33+
"deletions": 5
34+
},
35+
"src/components/Detail/Detail.type.ts": {
36+
"insertions": 5,
37+
"deletions": 0
38+
}
39+
}
40+
},
41+
"message": "feat: PR 커밋 상세 정보 표시 기능 추가\n\n- 커밋 목록 표시 기능 구현\n- 통계 정보 표시 기능 추가\n- 커밋 제목 hover 툴팁 기능 구현\n- 반응형 디자인 적용",
42+
"tags": [],
43+
"releaseTags": []
44+
},
45+
"clusterId": 0
46+
},
47+
{
48+
"nodeTypeName": "COMMIT",
49+
"commit": {
50+
"id": "b2c3d4e5f6789012345678901234567890abcde",
51+
"parentIds": ["a1b2c3d4e5f6789012345678901234567890abcd"],
52+
"author": {
53+
"id": "user-2",
54+
"names": ["이코더"],
55+
"emails": ["lee.coder@example.com"]
56+
},
57+
"committer": {
58+
"id": "user-2",
59+
"names": ["이코더"],
60+
"emails": ["lee.coder@example.com"]
61+
},
62+
"authorDate": "Mon Dec 18 2023 11:15:00 GMT+0900 (Korean Standard Time)",
63+
"commitDate": "Mon Dec 18 2023 11:15:00 GMT+0900 (Korean Standard Time)",
64+
"diffStatistics": {
65+
"changedFileCount": 2,
66+
"insertions": 80,
67+
"deletions": 15,
68+
"files": {
69+
"src/components/Detail/Detail.util.ts": {
70+
"insertions": 60,
71+
"deletions": 10
72+
},
73+
"src/components/Detail/Detail.hook.tsx": {
74+
"insertions": 20,
75+
"deletions": 5
76+
}
77+
}
78+
},
79+
"message": "refactor: 커밋 상세 정보 유틸리티 함수 개선\n\n- getCommitListDetail 함수 최적화\n- 타입 안정성 향상\n- 성능 개선",
80+
"tags": [],
81+
"releaseTags": []
82+
},
83+
"clusterId": 0
84+
},
85+
{
86+
"nodeTypeName": "COMMIT",
87+
"commit": {
88+
"id": "c3d4e5f6789012345678901234567890abcdef",
89+
"parentIds": ["b2c3d4e5f6789012345678901234567890abcde"],
90+
"author": {
91+
"id": "user-1",
92+
"names": ["김개발"],
93+
"emails": ["kim.dev@example.com"]
94+
},
95+
"committer": {
96+
"id": "user-1",
97+
"names": ["김개발"],
98+
"emails": ["kim.dev@example.com"]
99+
},
100+
"authorDate": "Mon Dec 18 2023 14:45:00 GMT+0900 (Korean Standard Time)",
101+
"commitDate": "Mon Dec 18 2023 14:45:00 GMT+0900 (Korean Standard Time)",
102+
"diffStatistics": {
103+
"changedFileCount": 1,
104+
"insertions": 30,
105+
"deletions": 5,
106+
"files": {
107+
"src/components/Detail/Detail.scss": {
108+
"insertions": 30,
109+
"deletions": 5
110+
}
111+
}
112+
},
113+
"message": "style: 커밋 아이템 스타일링 개선\n\n- 반응형 디자인 적용\n- 접근성 개선\n- 다크모드 지원",
114+
"tags": [],
115+
"releaseTags": []
116+
},
117+
"clusterId": 0
118+
},
119+
{
120+
"nodeTypeName": "COMMIT",
121+
"commit": {
122+
"id": "d4e5f6789012345678901234567890abcdef1",
123+
"parentIds": ["c3d4e5f6789012345678901234567890abcdef"],
124+
"author": {
125+
"id": "user-3",
126+
"names": ["박테스터"],
127+
"emails": ["park.tester@example.com"]
128+
},
129+
"committer": {
130+
"id": "user-3",
131+
"names": ["박테스터"],
132+
"emails": ["park.tester@example.com"]
133+
},
134+
"authorDate": "Mon Dec 18 2023 16:20:00 GMT+0900 (Korean Standard Time)",
135+
"commitDate": "Mon Dec 18 2023 16:20:00 GMT+0900 (Korean Standard Time)",
136+
"diffStatistics": {
137+
"changedFileCount": 2,
138+
"insertions": 45,
139+
"deletions": 8,
140+
"files": {
141+
"src/components/Detail/Detail.test.tsx": {
142+
"insertions": 35,
143+
"deletions": 3
144+
},
145+
"src/components/Detail/Detail.util.test.ts": {
146+
"insertions": 10,
147+
"deletions": 5
148+
}
149+
}
150+
},
151+
"message": "test: 커밋 상세 정보 컴포넌트 테스트 추가\n\n- 단위 테스트 작성\n- E2E 테스트 시나리오 추가\n- 테스트 커버리지 향상",
152+
"tags": [],
153+
"releaseTags": []
154+
},
155+
"clusterId": 0
156+
},
157+
{
158+
"nodeTypeName": "COMMIT",
159+
"commit": {
160+
"id": "e5f6789012345678901234567890abcdef12",
161+
"parentIds": ["d4e5f6789012345678901234567890abcdef1"],
162+
"author": {
163+
"id": "user-1",
164+
"names": ["김개발"],
165+
"emails": ["kim.dev@example.com"]
166+
},
167+
"committer": {
168+
"id": "user-1",
169+
"names": ["김개발"],
170+
"emails": ["kim.dev@example.com"]
171+
},
172+
"authorDate": "Mon Dec 18 2023 17:30:00 GMT+0900 (Korean Standard Time)",
173+
"commitDate": "Mon Dec 18 2023 17:30:00 GMT+0900 (Korean Standard Time)",
174+
"diffStatistics": {
175+
"changedFileCount": 1,
176+
"insertions": 20,
177+
"deletions": 2,
178+
"files": {
179+
"README.md": {
180+
"insertions": 20,
181+
"deletions": 2
182+
}
183+
}
184+
},
185+
"message": "docs: PR 커밋 상세 정보 기능 문서화\n\n- 사용법 가이드 추가\n- API 문서 업데이트\n- 예제 코드 추가",
186+
"tags": [],
187+
"releaseTags": []
188+
},
189+
"clusterId": 0
190+
}
191+
]
192+
}
193+
]

0 commit comments

Comments
 (0)