wdio-native-app-compare
wdio-native-app-compare copied to clipboard
WIP: Add jest matchers
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.