-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
duplicated screenshots? #126
Comments
Hi @jbures, The problem is that you are trying to name your screenshot image file in a wrong way, instead, you should use Differencify provided options to that for you. Based on testoption you can provide a So I would re-write your script like this:
The reason behind that is, if you try to take randon screenshots, Differencify wouldn't know where to find them to compare against new screenshots. |
Hi @NimaSoroush, i kinda figured out this could be the reason... but it doesn't work for me because i need to document a whole flow in one test and having screenshots with different names makes it easier to know which step we are in... rather than just having 1, 2 ,3 on the name. So anywan, thanks for the help! |
Hi @jbures , Have you tried something like this
|
I'm having the exact use case as @jbures's. if I use the |
Hey there guys, i'm trying to create a POC of a visual diff tool and i'm having an issue where i get duplicated screenshots every time i run my test...
I get what appears to be a default screenshot and the one i named, so for example with this run:
This runs fine, the problem is that i get two screenshots here instead of one...
frontpage_big_spot.jpg
test 1.snap.png
The first one is the intended one as you can see in line
path: './evidence/frontpage_big_spot.jpg'
The second one i have no idea where is it coming from, also it's the wrong format?
How can i avoid this? I can't find any info in other issues or in the docs.
Thanks and regards.
The text was updated successfully, but these errors were encountered: