-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Getting "browser.saveScreen is not a function" for ios mobile automation #392
Comments
Can you provide a reproducible example? I'm not having this issue on a clean project. |
@wswebcreation While this setup functions correctly for Android executions, we've encountered an issue specific to iOS. The problem manifests in the inability to save screenshots using the visual-service's save screen function. Despite the identical code and services used across both platforms, this functionality is currently not operational on iOS. |
That's why I'm asking for a clean project as an example, I'm not seeing this behaviour for iOS |
Closing this as not an issue with the module, but a config issue |
I'm debugging this and I'm almost 100% sure this is an Allure issue. From what I can see, Allure doesn't get any context (tests) when the Visual Module registers itself. This is only failing on iOS, not Android (this is the part I need to debug). |
checkScreen works if we disable screenshot reporting in Allure, but then we don't have screenshots attached to the report
|
Environment (please complete the following information):
@wdio/visual-service
version: [e.g. 1.0.0]Config of WebdriverIO +
@wdio/visual-service
Package.json
Describe the bug
While executing ios automation for the visual regression getting this error whereas same works fine for android execution
Log
Additional context
![Screenshot 2024-06-20 at 5 46 05 PM](https://private-user-images.githubusercontent.com/130342284/341406016-28153137-785e-4db1-adfd-7ac8bc6de670.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NDExODYsIm5iZiI6MTczOTQ0MDg4NiwicGF0aCI6Ii8xMzAzNDIyODQvMzQxNDA2MDE2LTI4MTUzMTM3LTc4NWUtNGRiMS1hZGZkLTdhYzhiYzZkZTY3MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QxMDAxMjZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jZWM5YjdjMWJiYzA4MTY2MTdlMTI4ZDVjMDBmODVhODQ3ZDEwZmY1YTA0YTJmNzUzMjNkODhhYjU3YTAzNGQzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.8D1spBDfQwh0GD4z7ByZRgHCaGNK3ZVwPRXlZFRSqE4)
since the old native comparison is deprecated we migrated to this service but blocked on ios automation.
The text was updated successfully, but these errors were encountered: