hookehuyr

docs(e2e): 添加路由配置检查规则到文档

重要规则:在生成路由地址前必须检查 Vue Router 配置
- Hash 模式:/#/路由路径
- History 模式:/路由路径
- 本项目使用 Hash 模式,所有 URL 需要 /#/ 前缀
# E2E 测试快速入门
## ⚠️ 重要:路由配置检查
**在编写任何测试前,必须先检查 Vue Router 的配置模式:**
```bash
# 查看 router 配置
cat src/router/index.js | grep "createWeb"
```
本项目使用 **Hash 模式**
```javascript
history: createWebHashHistory(import.meta.env.VITE_BASE || '/')
```
因此所有路由 URL 必须添加 `/#/` 前缀:
- ✅ 正确:`/#/login`, `/#/profile`, `/#/courses/123`
- ❌ 错误:`/login`, `/profile`, `/courses/123`
## 🚀 快速开始
### 运行测试
......