/**
 * 超管端 E2E 测试 - 测试数据和常量
 */

export const ADMIN_CONFIG = {
  account: 'admin',
  password: '123456',
  dashboardPath: '/admin/dashboard',
};

export const TEST_DATA = {
  tenant: {
    name: '测试幼儿园',
    contactPerson: '张老师',
    contactPhone: '13800138000',
    account: `test_school_${Date.now()}`,
    password: '123456',
    packageType: 'standard',
    teacherQuota: 50,
    studentQuota: 500,
  },
  course: {
    name: `测试课程包_${Date.now()}`,
    code: `TEST_COURSE_${Date.now()}`,
    category: '语言',
    ageRange: '3-4 岁',
    goal: '测试课程目标',
    highlights: '测试课程亮点',
    outline: '测试课程大纲',
  },
  package: {
    name: `测试套餐_${Date.now()}`,
    type: 'standard',
    price: 9999,
    teacherQuota: 50,
    studentQuota: 500,
  },
  theme: {
    name: `测试主题_${Date.now()}`,
    description: '这是一个测试主题',
    ageRange: '3-6 岁',
  },
  resource: {
    name: `测试资源_${Date.now()}`,
    type: 'image',
    description: '这是一个测试资源',
  },
};

// 租户套餐类型映射
export const PACKAGE_TYPE_MAP: Record<string, string> = {
  basic: '基础版',
  standard: '标准版',
  premium: '高级版',
};

// 课程包分类映射
export const COURSE_CATEGORY_MAP: Record<string, string> = {
  language: '语言',
  science: '科学',
  art: '艺术',
  health: '健康',
  social: '社会',
};
