Closed olegosipenko closed 2 years ago
Hi @olegosipenko could you please try to cone this repository and run the tests you can find in shot-consumer-compose
?
Hi @olegosipenko could you please try to cone this repository and run the tests you can find in
shot-consumer-compose
?
Sure, will update when done
Ok, so running tests from shot-consumer-compose
finishes successfully.
BTW tried to update Shot version in our project to 5.13.0 and still got
> com.fasterxml.jackson.databind.ObjectMapper.readerFor(Ljava/lang/Class;)Lcom/fasterxml/jackson/databind/ObjectReader;
Expected behaviour
debugExecuteScreenshotTests
should record screenshot tests, pull them from device and verify against the reference.Actual behaviour
After upgrading to the latest (5.12.2) version we started to receive the following exception while running screenshot tests:
We had to upgrade the version, because when we tried to migrate our screenshot test suite to use Compose, we started to receive the error mentioned in #244 , which was strange, because we are running this under Mac os, on emulator with SDK v28.
Steps to reproduce
debugExecuteScreenshotTests
Version of the library
5.12.2 Mac OS 11.5.1 Java /Library/Java/JavaVirtualMachines/jdk-11.0.11.jdk/Contents/Home
BTW Previously plugin saved screenshots in the folder
$module/screenshots/$flavor/
now after execution I seescreenshots-default
folder inside previously existing folder. And for my 55 tests were added 705 new files in thisscreenshots-default
folder - one filemetadata.xml_emulator-5554
, 54 JSONs - like thiscom.roadrunner.automationtool.presentation.fragment.automationtool.elements.ButtonTest_testDropdownButtonDisabled_dump.json
, 648 PNGs and onescreenshot_bundle.zip
with all this PNGs and JSONs. Is it ok?