修正"video"中英问

This commit is contained in:
zhiyong.yue 2023-05-23 18:08:26 +08:00
parent 4470b83c92
commit f9f9c5e03c
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ npx playwright test
1.html-reporter video附件重命名后,无法在video页签下展示,如不重命名,则只能通过观看video内容确定是哪个用户在操作,可修改以下源码解决:
路径:node_modules/playwright-core/lib/webpack/htmlReport
查找内容:
=== "video"
==="video"
将第一个匹配项修改为
contentType.startsWith("video/")