-
Notifications
You must be signed in to change notification settings - Fork 103
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
screenshot step cannot cap image #60
Comments
seems like /default/screen.py: if len(scenario.steps) > step_index >= 0: this guard makes screenshot not run? |
cannot repro please share the run log. By the way do you find the msg "[screen_link_to_behave]" in the run log? |
cannot find this message. my test example from ctrip:
And the print log There is nothing captured in the screenshot folder. |
yes, we are used same demo, i cannot repro on windows os. maybe only mac os has this issue, i will try latter. by the way please report the issue also atthed the machine os. |
yes, I am using macOS. Btw sorry I may need more time to setup Python from your screenshot configs as I have no experience doing this. |
tried your suggestion. Please have a look |
if len(scenario.steps) > step_index >= 0: this guard makes screenshot not run? |
yes, the if statement guards the screenshot
|
use the workaround : add background to scenario。 i will try to run it and find the final solution。 |
Thanks @xiaoxiaocaiiao, I have used the workaround already. Look forward to hearing any update. |
|
@xiaoxiaocaiiao thanks for the update. Tested the latest build & confirm it is fixed. |
问题描述 / Describe the bug
screenshot step succeed, but no image can be found. Also the time of screenshot in report shows 00:00:00.000
问题复现步骤 / To Reproduce
预期结果 / Expected behavior
image should be found
截图 / Screenshots
环境信息 / Environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: