| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- /**
- * @d8d/e2e-test-utils
- *
- * E2E 测试工具集 - 专门用于测试 Radix UI 组件的 Playwright 工具函数
- *
- * @packageDocumentation
- *
- * @module @d8d/e2e-test-utils
- *
- * @description
- * 此包提供了一套强大且易于使用的 E2E 测试工具函数,
- * 专门针对 Radix UI 无障碍组件进行优化。
- *
- * @example
- * ```typescript
- * import { BaseOptions, E2ETestError, DEFAULT_TIMEOUTS } from '@d8d/e2e-test-utils';
- *
- * // 使用类型定义
- * const options: BaseOptions = {
- * timeout: DEFAULT_TIMEOUTS.static
- * };
- *
- * // 使用错误类
- * throw new E2ETestError({
- * operation: 'selectOption',
- * target: 'dropdown',
- * suggestion: '检查选择器是否正确'
- * });
- * ```
- *
- * @see {@link https://github.com/your-org/e2e-test-utils#readme|完整文档}
- *
- * @author 多八多云端开发团队
- * @version 1.0.0
- * @license MIT
- */
- // 导出类型定义
- export * from './types';
- // 导出错误类
- export * from './errors';
- // 导出常量
- export * from './constants';
- // Radix UI Select 工具
- export {
- selectRadixOption,
- selectRadixOptionAsync
- } from './radix-select';
- // 省市区级联选择工具
- export {
- selectCascade,
- selectProvinceCity,
- type CascadeSelectOptions
- } from './cascade-select';
- // 文件上传工具
- export {
- uploadFileToField
- } from './file-upload';
|