Closed nunessf closed 5 years ago
@nunessf actually, it's possible upload images with eyes-images SDK. It's not so handy as through dashboard but it possible. The possible code could be like:
from applitools.images import Eyes, Target
def upload_image_to_eyes(image_or_path, test_name):
eyes = Eyes()
eyes.open("images", test_name)
eyes.check("", Target.image(image_or_path))
eyes.close(False)
Anyway, I've forwarded your feature request.
@nunessf @Infernion refers to the version available in the Python SDK 4 version. Its repo is: https://github.com/applitools/eyes.sdk.python , and the package is available as https://pypi.org/project/eyes-images/
Currently, there's not a direct way to upload a mockup image (from your local files) as a baseline image, which I find it would be a useful feature. Could it be a feature to take into consideration?