I've tried to upgrade our current infrastructure which is using wdio-native-app-compare-service to visual-service, but unfortunately the elements are not hidden from the images/screenshots diffs.
Elements blocks to be hidden from diff images/screenshots.
How to reproduce the bug.
Run a visual test on a native app with latest visual-service version and make sure baselines (images/ss are saved).
Run the test again with elements to be hidden mentioned in blockOuts list (you've to make sure that there is indeed a difference for that element, in order for that part of the screen to be marked with green colour in diffs folder).
Relevant log output
Diff is not detected (element is not hidden from the diff picture).
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Have you read the Contributing Guidelines on issues?
WebdriverIO Version
8.39.1
Node.js Version
16.17.1
Mode
Standalone Mode
Which capabilities are you using?
What happened?
I've tried to upgrade our current infrastructure which is using
wdio-native-app-compare-service
tovisual-service
, but unfortunately the elements are not hidden from the images/screenshots diffs.Tried with both below flows:
Infrastructure:
wdio.base.visual.config.ts file contents:
tsconfig.json file contents:
What is your expected behavior?
Elements blocks to be hidden from diff images/screenshots.
How to reproduce the bug.
visual-service
version and make sure baselines (images/ss are saved).elements to be hidden mentioned in blockOuts list
(you've to make sure thatthere is indeed a difference for that element
, in order for that part of the screen to be marked withgreen colour in diffs folder
).Relevant log output
Code of Conduct
Is there an existing issue for this?