feat: rename Application Solutions to Agentic Apps in docs, UI, and codebase
This commit is contained in:
@@ -42,12 +42,12 @@ async fn test_complete_provider_dashboards_ux_workflow() {
|
||||
|
||||
// Test users for different provider types
|
||||
let farmer_email = "farmer_dashboard_test@example.com";
|
||||
let app_provider_email = "app_provider_test@example.com";
|
||||
let application_provider_email = "application_provider_test@example.com";
|
||||
let service_provider_email = "service_provider_test@example.com";
|
||||
|
||||
// Clean up any existing test data
|
||||
cleanup_test_user_data(farmer_email);
|
||||
cleanup_test_user_data(app_provider_email);
|
||||
cleanup_test_user_data(application_provider_email);
|
||||
cleanup_test_user_data(service_provider_email);
|
||||
|
||||
// Initialize services
|
||||
@@ -133,8 +133,8 @@ async fn test_complete_provider_dashboards_ux_workflow() {
|
||||
|
||||
println!("✅ Farmer Dashboard: WORKING - Node management, capacity planning, earnings tracking");
|
||||
|
||||
// Step 3: Test Application Provider Dashboard (/dashboard/app-provider)
|
||||
println!("\n🔧 Step 3: Test Application Provider Dashboard (/dashboard/app-provider)");
|
||||
// Step 3: Test Application Provider Dashboard (/dashboard/application-provider)
|
||||
println!("\n🔧 Step 3: Test Application Provider Dashboard (/dashboard/application-provider)");
|
||||
|
||||
// Create test app provider profile
|
||||
let published_apps = vec![
|
||||
@@ -144,7 +144,7 @@ async fn test_complete_provider_dashboards_ux_workflow() {
|
||||
("backup-solution", "Automated Backup Tool", 34, 4.1, "pending"),
|
||||
];
|
||||
|
||||
println!(" 📱 Application Provider: {}", app_provider_email);
|
||||
println!(" 📱 Application Provider: {}", application_provider_email);
|
||||
println!(" 📊 Published Applications:");
|
||||
|
||||
let mut total_installs = 0;
|
||||
@@ -282,7 +282,7 @@ async fn test_complete_provider_dashboards_ux_workflow() {
|
||||
|
||||
// Final cleanup
|
||||
cleanup_test_user_data(farmer_email);
|
||||
cleanup_test_user_data(app_provider_email);
|
||||
cleanup_test_user_data(application_provider_email);
|
||||
cleanup_test_user_data(service_provider_email);
|
||||
|
||||
// Final verification
|
||||
@@ -321,7 +321,7 @@ async fn test_provider_dashboards_performance() {
|
||||
let start_time = std::time::Instant::now();
|
||||
|
||||
// Simulate dashboard data loading
|
||||
let provider_types = vec!["farmer", "app_provider", "service_provider"];
|
||||
let provider_types = vec!["farmer", "application_provider", "service_provider"];
|
||||
|
||||
for provider_type in provider_types {
|
||||
// Simulate dashboard page load
|
||||
|
@@ -165,7 +165,7 @@ impl TestDataManager {
|
||||
/// Create test marketplace data
|
||||
fn create_test_marketplace_data(personas: &HashMap<UserRole, TestPersona>) -> TestMarketplaceData {
|
||||
let farmer_email = personas.get(&UserRole::Farmer).unwrap().email.clone();
|
||||
let app_provider_email = personas.get(&UserRole::AppProvider).unwrap().email.clone();
|
||||
let application_provider_email = personas.get(&UserRole::AppProvider).unwrap().email.clone();
|
||||
let service_provider_email = personas.get(&UserRole::ServiceProvider).unwrap().email.clone();
|
||||
|
||||
TestMarketplaceData {
|
||||
@@ -186,7 +186,7 @@ impl TestDataManager {
|
||||
price: 25.0,
|
||||
currency: "TFC".to_string(),
|
||||
description: "Test application for UX testing".to_string(),
|
||||
provider_email: app_provider_email.clone(),
|
||||
provider_email: application_provider_email.clone(),
|
||||
},
|
||||
],
|
||||
services: vec![
|
||||
|
Reference in New Issue
Block a user