wdio-native-app-compare icon indicating copy to clipboard operation
wdio-native-app-compare copied to clipboard

WIP: Add jest matchers

Open ablok opened this issue 2 years ago • 0 comments

This adds a Jest matcher that should allow the user to use it in the following way: expect(browser).toMatchAppImageSnapshot("myTag") If a baseline does not exist, it will be created. It does this by retrying the snapshot for a number of retries until the snapshot is the same for a certain amount of time. If a baseline does already exist, it will keep retrying until the snapshot matches the baseline.

It will keep tyring these actions until they succeed or until the timeout is reached. This timeout time is defined by the waitforTimeout in the WebdriverIO config.

ablok avatar Nov 04 '22 08:11 ablok