-
Notifications
You must be signed in to change notification settings - Fork 672
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
Cannot save screenshots on mobile tests #2878
Comments
Unfortunately I can't reproduce the issue, I've cloned the repository, and TestCafe has taken the screenshot. Could you please specify your OS version and provide me the full test report? |
Hi, I was just able to reproduce the issue with the following procedures:
Here are full logs:
|
Thanks, I thought that the problem was in the BrowserStack configuration. I've reproduced the problem. Unfortunately, you can't use window manipulation functionality ( But TestCafe must emit a warning in this case and terminate gracefully instead of completely crashing the process. So it's a bug, and I need some time to investigate its reason. |
Hi, Thanks for helping out. What do you mean by Best Regards, |
Never mind, I mean I tried to run tests using the BrowserStack configuration, because you've specified iPhone as the target, and configuration's name is Remote browsers are browsers that you connect using the |
Thanks for the clarification Andrey! |
@hex0cter |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests. For TestCafe API, usage and configuration inquiries, we recommend asking them on StackOverflow. |
) (DevExpress#3137) * Fix exceptions when screenshots failed to create (closes DevExpress#2878) * Add tests * Only chrome * Handle error of npm.pack stream
Are you requesting a feature or reporting a bug?
Bug
What is the current behavior?
When testing on iPhone,
.takeElementScreenshot
doesn't not work. Here is the error:What is the expected behavior?
Taking screenshots should work the same way as desktop browsers.
How would you reproduce the current behavior (if this is a bug)?
Run any test on iPhone 7, iOS 12 with mobile safari.
Provide the test code and the tested page URL (if applicable)
Tested page URL:
https://github.com/hex0cter/testcafe-boilerplate
Test code
https://github.com/hex0cter/testcafe-boilerplate/blob/master/tests/test-duckduckgo-search.js
Specify your
iOS 12
0.21.1
v10.8.0
The text was updated successfully, but these errors were encountered: