feat(e2e): 添加完整的E2E测试框架和测试用例
添加Playwright测试框架配置和基础页面对象 实现冒烟测试用例覆盖首页和联系页面核心功能 更新导航组件以支持滚动高亮功能 添加BackButton组件统一返回按钮行为 配置Woodpecker CI集成和测试报告生成
This commit is contained in:
@@ -11,14 +11,15 @@ export const COMPANY_INFO = {
|
||||
address: '中国四川省成都市龙泉驿区幸福路12号',
|
||||
} as const;
|
||||
|
||||
// Navigation Items - 独立页面导航
|
||||
// Navigation Items - 混合导航(首页滚动,详情页跳转)
|
||||
export const NAVIGATION = [
|
||||
{ id: 'home', label: '首页', href: '/' },
|
||||
{ id: 'services', label: '核心业务', href: '/services' },
|
||||
{ id: 'products', label: '产品服务', href: '/products' },
|
||||
{ id: 'about', label: '关于我们', href: '/about' },
|
||||
{ id: 'news', label: '新闻动态', href: '/news' },
|
||||
{ id: 'contact', label: '联系我们', href: '/contact' },
|
||||
{ id: 'home', label: '首页', href: '/#home' },
|
||||
{ id: 'services', label: '核心业务', href: '/#services' },
|
||||
{ id: 'products', label: '产品服务', href: '/#products' },
|
||||
{ id: 'cases', label: '成功案例', href: '/#cases' },
|
||||
{ id: 'about', label: '关于我们', href: '/#about' },
|
||||
{ id: 'news', label: '新闻动态', href: '/#news' },
|
||||
{ id: 'contact', label: '联系我们', href: '/#contact' },
|
||||
] as const;
|
||||
|
||||
// Stats Data
|
||||
|
||||
Reference in New Issue
Block a user