끝난 이클립스 합류 문구 · HOME 헤더 POP · 다국어 HOME 레이아웃 · 캠페인 표시 수정
This commit is contained in:
@@ -166,7 +166,7 @@ void main() {
|
||||
for (final title in [
|
||||
'TODAY’S QUEST',
|
||||
'팬덤행성 인큐베이터',
|
||||
'아티스트 소식',
|
||||
'AI Daily Briefing',
|
||||
'HOT ARCHIVE',
|
||||
'인기 K-INSIDE',
|
||||
]) {
|
||||
@@ -296,7 +296,7 @@ void main() {
|
||||
/// *문구도 노출하지 않음)*. 서버가 당일 게시분을 0 건으로 주는 상황이다.
|
||||
testWidgets('브리핑이 0 건이면 구획 제목까지 숨긴다', (tester) async {
|
||||
await _pump(tester, repo: const _BriefingRepo([]));
|
||||
expect(find.text('아티스트 소식'), findsNothing);
|
||||
expect(find.text('AI Daily Briefing'), findsNothing);
|
||||
// 빈 상태 문구도 두지 않는다 — 아래 구획은 그대로 있어야 한다.
|
||||
await tester.scrollUntilVisible(
|
||||
find.text('HOT ARCHIVE'),
|
||||
@@ -309,7 +309,7 @@ void main() {
|
||||
testWidgets('브리핑 헤더의 「공유」는 브리핑 공유 카드를 연다(F8 · 별첨 1 ③-5)', (tester) async {
|
||||
await _pump(tester, repo: _BriefingRepo([_brief('공유할 한 줄')]));
|
||||
final header = find.byWidgetPredicate(
|
||||
(w) => w is HomeSectionHeader && w.title == '아티스트 소식',
|
||||
(w) => w is HomeSectionHeader && w.title == 'AI Daily Briefing',
|
||||
);
|
||||
await tester.scrollUntilVisible(find.text('공유할 한 줄'), 220,
|
||||
scrollable: find.byType(Scrollable).first);
|
||||
@@ -328,7 +328,7 @@ void main() {
|
||||
220,
|
||||
scrollable: find.byType(Scrollable).first,
|
||||
);
|
||||
expect(find.text('아티스트 소식'), findsOneWidget);
|
||||
expect(find.text('AI Daily Briefing'), findsOneWidget);
|
||||
expect(find.text('오늘 게시된 한 줄'), findsOneWidget);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user