Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我面临剧作家配置的问题。测试场景放在项目目录下,但在执行期间它显示没有找到测试
您需要将文件名重命名为first.test.js或在配置文件中添加testMatch属性。
first.test.js
testMatch
testMatch- 匹配测试文件的全局模式或正则表达式。
因为默认情况下,Playwright Test 运行.(test|spec)
.(test|spec)