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은 대문자로 표시됨)