- 添加项目配置文件和环境变量设置 - 创建测试用例目录结构和命名规范 - 实现基础测试 fixture 和页面对象模型 - 添加示例测试用例和数据生成器 - 配置 playwright 和 gitignore 文件
12 lines
604 B
TypeScript
12 lines
604 B
TypeScript
import { mergeTests } from '@playwright/test';
|
|
import { test as cashierTest } from '@/fixtures/cashierFixture';
|
|
import { test as appointmentTest } from '@/fixtures/appointmentFixture';
|
|
import { test as inventoryTest } from '@/fixtures/inventoryFixture';
|
|
import { test as staffTest } from '@/fixtures/staffFixture';
|
|
import { test as baseTest } from '@/fixtures/baseFixture';
|
|
import { test as componentsTest } from '@/fixtures/componentsFixture';
|
|
|
|
export const test = mergeTests(cashierTest, appointmentTest, inventoryTest, staffTest, baseTest, componentsTest);
|
|
|
|
export { expect } from '@playwright/test';
|