feat: clarify project agent onboarding

This commit is contained in:
Hamza Ayed
2026-10-04 04:08:57 +03:00
parent b82f73990e
commit e6a2a3b7da
3 changed files with 152 additions and 59 deletions
@@ -169,6 +169,8 @@ void main() {
expect(find.text('مساعدك المحلي'), findsOneWidget);
expect(find.text('مشاريعي'), findsOneWidget);
expect(find.text('جرّب الوكيل على مشروعك'), findsOneWidget);
expect(find.text('اختيار مجلد مشروع موجود'), findsOneWidget);
expect(find.byTooltip('إضافة مشروع موجود إلى القائمة'), findsOneWidget);
expect(
find.byTooltip('تسجيل صوت؛ يُرسل إلى Groq السحابي لتحويله إلى نص'),
@@ -246,7 +248,7 @@ void main() {
);
await tester.pumpAndSettle();
expect(find.text('إضافة مجلد مشروع'), findsOneWidget);
expect(find.text('تسجيل مجلد مشروع موجود'), findsOneWidget);
expect(tester.takeException(), isNull);
await chatCubit.close();
});
@@ -279,6 +281,8 @@ void main() {
await tester.pumpAndSettle();
await chatCubit.selectWorkspace('C:/sample-project');
await tester.pumpAndSettle();
expect(find.text('الوكيل يعمل على: sample-project'), findsOneWidget);
expect(find.textContaining('تشغيل أوامر البناء والاختبار'), findsOneWidget);
await tester.tap(find.byTooltip('اختيار مهارة للوكيل'));
await tester.pumpAndSettle();
expect(find.text('خطة اختبارات'), findsOneWidget);