alibaba / macaca

Automation solution for multi-platform. 多端自动化解决方案
https://macacajs.github.io
MIT License
3.16k stars 418 forks source link

回放Android 测试 生成的截图无法在测试报告中显示出来 #1002

Open stephenwang1011 opened 2 years ago

stephenwang1011 commented 2 years ago

执行安卓自动化测试时候,我看截图已经保存下来了,但是在网页测试报告中 却无法显示出图片。 config.json中已经设置 截图: "screenshots": { "captureAll": true } 但是图片没有显示出来: image

image

macaca-bot commented 2 years ago

This is the translated issue:


Screenshots generated by playing back Android cannot be displayed in the test report.

When I execute Android automation test, I see that the screenshot has been saved, but I can't display pictures in the web test report. Screenshots have been set in Config.json: Screenshots: { "CaptureAll": True } But the picture is not displayed: ! [Image] (https://user-images.githubuserContent.com/3350356/135373756-87f4f537-d1c9-49ca-9dec-c675be056512.png)

! [image] (https://user-images.githubuserContent.com/3350356/135373863-8A950764-139D-4B22-9786-A6A6E87EF250.PNG)

stephenwang1011 commented 2 years ago

@xudafeng 希望大佬能指教一下

macaca-bot commented 2 years ago

This is the translated issue comment: @stephenwang1011


@XUDAFENG hopes that the big 佬 can advice

stephenwang1011 commented 2 years ago

谁能帮忙看下是咋回事呢

macaca-bot commented 2 years ago

This is the translated issue comment: @stephenwang1011


Who can help me look back?

yihuineng commented 2 years ago

@stephenwang1011 你可以提供一下最小复现工程代码吗?

macaca-bot commented 2 years ago

This is the translated issue comment: @yihuineng


@ Stephenwang1011 You can provide the minimum recovery project code?

stephenwang1011 commented 2 years ago

@yihuineng 发现这里 image 没有链接上图片 image

macaca-bot commented 2 years ago

This is the translated issue comment: @stephenwang1011


@Yihuineng found here image no link on the picture ! [image] (https://user-images.githubuserContent.com/3350356/141732359-69bfb3d1-9a55-415a-b46d-4cad22787c7f.png)