Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lanchuanshuang opened this issue Jan 14, 2025 · 0 comments

Comments

@lanchuanshuang
Copy link

代码示例:
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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant