From 54a2d128aa674be364d8cd9fd8c9a5758c39e8cc Mon Sep 17 00:00:00 2001 From: JiWoong Sul Date: Wed, 21 Jan 2026 18:43:42 +0900 Subject: [PATCH] =?UTF-8?q?fix(test):=20new=5Fcharacter=5Fscreen=5Ftest=20?= =?UTF-8?q?=EB=B2=84=ED=8A=BC=20=ED=85=8D=EC=8A=A4=ED=8A=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - "UNROLL" → "UNDO" 버튼 텍스트 수정 (l10n.unroll 변경 반영) --- test/features/new_character_screen_test.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/features/new_character_screen_test.dart b/test/features/new_character_screen_test.dart index 15882da..dc8249b 100644 --- a/test/features/new_character_screen_test.dart +++ b/test/features/new_character_screen_test.dart @@ -43,7 +43,7 @@ void main() { expect(find.text('SOLD!'), findsOneWidget); }); - testWidgets('Unroll button exists and can be tapped', (tester) async { + testWidgets('Undo button exists and can be tapped', (tester) async { await tester.pumpWidget( _buildTestApp( NewCharacterScreen(onCharacterCreated: (_, {bool testMode = false}) {}), @@ -51,12 +51,12 @@ void main() { ); await tester.pumpAndSettle(); - // Unroll 버튼 확인 (RetroTextButton이 대문자로 변환) - final unrollButton = find.text('UNROLL'); - expect(unrollButton, findsOneWidget); + // Undo 버튼 확인 (l10n.unroll이 영어에서 "Undo"로 번역되고 대문자로 변환) + final undoButton = find.text('UNDO'); + expect(undoButton, findsOneWidget); - // Unroll 버튼 탭 - await tester.tap(unrollButton); + // Undo 버튼 탭 + await tester.tap(undoButton); await tester.pumpAndSettle(); // Total이 표시되는지 확인 (TOTAL은 대문자로 표시됨)