diff --git a/mobile/lib/prototype/create_agent_sheet.dart b/mobile/lib/prototype/create_agent_sheet.dart index 3417adb09a..01d9c429f2 100644 --- a/mobile/lib/prototype/create_agent_sheet.dart +++ b/mobile/lib/prototype/create_agent_sheet.dart @@ -167,8 +167,8 @@ class CreatePrototypeAgentSheet extends HookConsumerWidget { textCapitalization: TextCapitalization.sentences, textInputAction: TextInputAction.newline, decoration: fieldDecoration( - 'Instructions (optional)', - hint: 'Describe what this agent should do.', + 'Instructions', + hint: 'Describe what this agent should do (optional).', ), ), if (controller.busy) ...[ diff --git a/mobile/test/prototype/agents_ui_test.dart b/mobile/test/prototype/agents_ui_test.dart index fe1f800ac5..69a6ff8816 100644 --- a/mobile/test/prototype/agents_ui_test.dart +++ b/mobile/test/prototype/agents_ui_test.dart @@ -155,12 +155,9 @@ void main() { await tester.pumpAndSettle(); await tester.tap(find.text('Agents list')); await tester.pumpAndSettle(); + await tester.enterText(find.widgetWithText(TextField, 'Name'), 'Scout'); await tester.enterText( - find.widgetWithText(TextField, 'Display name'), - 'Scout', - ); - await tester.enterText( - find.widgetWithText(TextField, 'Instructions (optional)'), + find.widgetWithText(TextField, 'Instructions'), 'Reply concisely.', ); await tester.pump();