Mr_Rocky
Mr_Rocky
**hi,Is there any solution to this problem? I also encountered the same error when using pytest7.1.2,Please give me some advice, thank you very much**
@nicoddemus hi,I get the same error, but I don't use teardown_class. I annotate teardown_class in my code, and I get an assert colitem in self.stack error; ``` @allure.feature("vscode") @allure.severity("blocker") class...
@nicoddemus In addition, I have also tried this way of your example, and it is not without practical effect, My main test scenario needs to use multithreading, maybe pytest has...
 I also have the same problem, video_mask directory is empty, when I go to check the log of the console, I do not see the log information related to...
I also encountered the same problem, the video_frame directory has the corresponding frame information, and the video_mask directory is empty, And I don't know how to solve this problem, can...
关于使用playwright有两个demo 第一个:https://midscenejs.com/integrate-with-playwright.html 使用npx playwright test ./e2e/ebay-search.spec.ts 去run case的时候  第二个:https://github.com/web-infra-dev/midscene-example/tree/main/playwright-demo pnpm run e2e 用这个方式运行的话,又不能指定具体执行文件只能以目录执行
> yaml 的问题,没看到命令行有具体报错? > > 看起来命令路径是错的,你的脚本是在 ./midscene-scripts\test.yaml ,少了一层目录 我这边把整个demo下载下来了,当前所处在的目录:PS D:\Midscene_P\midscene-example-main> 使用:midscene .\yaml-scripts-demo\midscene-scripts\test.yaml 还是出现相同的错误,有点郁闷了现在~ 
> Playwright 的抛错,想不出是什么原因。 > > 如果用原生的 test 方法替换截图里第二行的代码,能找到测试用例吗?现在 `No tests found` 看起来很奇怪 > > ``` > import { test } from '@playwright/test'; > ``` 用原生的替换之后,还是提示没有case,有点奇怪。希望能解答这个问题场景 我这边是测试,目前在调研做UI自动化的框架,对于JS这块不是很熟悉,只能照着demo做操作,如果有问的质量很低的问题,请理解,还请多多指教~~谢谢 
> 好奇怪,感觉没思路了。 > > 1. 是不是没有 cd 到 Playwright-demo 这个目录? > 2. 直接用 Playwright 官方的初始化仓库跑一遍呢? 第一点,cd到这个目录下 试了下,问题场景一样的  第二点 我下来需要自己去看看playwright的使用 感谢答复~~
你好,关于yaml的那个问题,你那边本地测试的是 require('../dist/lib/index.js'); 这个'../dist/lib/index.js'目录下的这个文件是什么东西来的呢?