import { FullConfig } from '@playwright/test';

async function globalTeardown(_config: FullConfig) {
  console.log('🧹 Global teardown: Cleaning up test environment');

  // 清理测试环境
  // 例如：删除测试数据库、清理测试文件等

  // 清理环境变量
  delete process.env.E2E_TEST_MODE;

  console.log('✅ Test environment cleaned up successfully');
}

export default globalTeardown;