index.ts
619 Bytes
/**
* 测试夹具统一导出入口
*
* 使用方式:
* 1. 普通测试(需要手动设置认证):
* import { test, expect } from '../fixtures';
*
* 2. 已认证测试(自动加载 auth.json):
* import { fullTest as test, expect } from '../fixtures';
*/
// 页面对象夹具
export { test, expect } from './testFixture';
// 认证夹具
export { test as authTest, expect as authExpect, createAuthTest } from './authFixture';
// 完整夹具(包含认证 + 页面对象)
export { fullTest } from './testFixture';
// 类型导出
export type { PageFixtures } from './testFixture';