-
Notifications
You must be signed in to change notification settings - Fork 66
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
问题咨询:使用YAML的方式配置场景,运行的时候提示:require('../dist/lib/index.js'); #202
Comments
关于使用playwright有两个demo 使用npx playwright test ./e2e/ebay-search.spec.ts 去run case的时候 第二个:https://github.com/web-infra-dev/midscene-example/tree/main/playwright-demo |
yaml 的问题,没看到命令行有具体报错? 看起来命令路径是错的,你的脚本是在 ./midscene-scripts\test.yaml ,少了一层目录 |
Playwright 的抛错,想不出是什么原因。 如果用原生的 test 方法替换截图里第二行的代码,能找到测试用例吗?现在
|
根据文档安装了
npm i -g @midscene/cli
将环境变量放置在 .env 文件中
midscene .\test.yaml --keep-window --header 运行测试代码
提示这个
The text was updated successfully, but these errors were encountered: