알림함 항목 생성 · 알림 이동 · 브리핑 항목 승인·상세 · 푸시 토픽을 가입 팬덤 전체로

This commit is contained in:
Sn-Kinos
2026-10-05 22:48:10 +09:00
parent fbf9a2c3d7
commit cf608a1d99
27 changed files with 714 additions and 69 deletions
+7 -1
View File
@@ -75,6 +75,7 @@ BriefingItem _brief(
sourceUrl: 'https://example.com/a',
articleUrl: 'https://example.com/a',
aiSummary: '요약입니다.',
sourceKind: 'official',
);
/// 브리핑만 갈아 끼운 표본. 「0 건이면 블록 전체 숨김」을 그 한 값으로 본다.
@@ -355,7 +356,7 @@ void main() {
expect(find.text('NEWS'), findsNothing);
});
testWidgets('줄을 누르면 원문보기로 나간다', (tester) async {
testWidgets('줄을 누르면 B-75 5 요소 상세가 뜨고, 원문 보기로 나간다', (tester) async {
final opened = <String>[];
tester.view.physicalSize = const Size(1080, 2400);
tester.view.devicePixelRatio = 2;
@@ -371,6 +372,11 @@ void main() {
));
await tester.tap(find.text('원문이 있는 줄'));
await tester.pumpAndSettle();
expect(opened, isEmpty);
expect(find.text('AI 요약'), findsOneWidget);
expect(find.textContaining('공식 출처 · '), findsOneWidget);
await tester.tap(find.text('원문 보기'));
await tester.pumpAndSettle();
expect(opened, ['https://example.com/a']);
});
}