You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After the update to 6.2.3, something seems to not working as expected in case of mismatch.
💡Look to be something wrong the output of 'compareResult' (the issue occurs during the processResult step of variable "potentialResult" in or with the parsing of "makeThrowingMatcher".
Expected behavior
A readable message like:
'Expected image to match with given asymmetric matcher but did not pass!\n'
Found the issue, will fix it and release a new version, it will now throw this error
Error: Instance "androidDevice":
Expected image mismatch percentage to be at most 0%, but was 0.238%.
If this is acceptable, you may need to adjust the threshold or update the baseline image if the changes are intentional.
Baseline: /Users/wimselles/Git/wdio/issues/issue-656/myProject/baseline/pixel_8_pro_android_15_api_35/FullScreen-1344x2992-3.png
Actual Screenshot: /Users/wimselles/Git/wdio/issues/issue-656/myProject/output/visual/actual/pixel_8_pro_android_15_api_35/FullScreen-1344x2992-3.png
Difference: /Users/wimselles/Git/wdio/issues/issue-656/myProject/output/visual/diff/pixel_8_pro_android_15_api_35/FullScreen-1344x2992-3.png
For guidance on handling visual discrepancies, refer to: https://webdriver.io/docs/api/visual-regression.html
Environment (please complete the following information):
@wdio/visual-service
version: 6.2.3@wdio/mocha-framework
version: 9.2.8@wdio/local-runner
version: 9.4.1@wdio/globals
version: 9.4.1@wdio/cli
version: 9.4.1Appium
version: 2.11.5tsx
version: 4.19.2Config of WebdriverIO +
@wdio/visual-service
Describe the bug
After the update to 6.2.3, something seems to not working as expected in case of mismatch.
💡Look to be something wrong the output of 'compareResult' (the issue occurs during the processResult step of variable "potentialResult" in or with the parsing of "makeThrowingMatcher".
Expected behavior
A readable message like:
'Expected image to match with given asymmetric matcher but did not pass!\n'
Link:
Detected after #656 (comment)
The text was updated successfully, but these errors were encountered: