Skip to content

使用test.describe运行多个测试用例时,生成缓存文件报错 #273

Open
@lanchuanshuang

Description

代码示例:
test.describe("Promotion tests", () => {
test.describe.configure({ mode:'serial'});
test("create promotion", async ({ page, ai, aiAssert }) => {
await ai("点击Enterprise Portal");
});
test("create promotion2", async ({ page, ai, aiAssert }) => {
await ai("点击Demo-初始化配置3");
});
});
报错内容:
Error: ENOENT: no such file or directory, open 'D:\peblla_ui\midscene_run\cache\todo-ui.spec.ts > Promotion tests(create promotion).json'
Error: ENOENT: no such file or directory, open 'D:\peblla_ui\midscene_run\cache\todo-ui.spec.ts > Promotion tests(create promotion).json'

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions