Open chris-dura opened 9 years ago
This could be a bug.
Could you try setting comparisonResultRoot as well.
screenshotRoot: fs.absolute(fs.workingDirectory + '/screenshots/test3'),
comparisonResultRoot: fs.absolute(fs.workingDirectory + '/screenshots/test3'),
failedComparisonsRoot: fs.absolute(fs.workingDirectory + '/failures/test3'),
Could you try setting comparisonResultRoot as well.
That did it.
I'm trying to organize screenshots into separate sub-directories to make managing them easier. So, I have three simple test files that just open a URL and take a screenshot. The only code differences in the tests is the
url
being opened and thescreenshotRoot
andfailedComparisonsRoot
because I'm trying to organize the screenshots into sub-directories.I would expect running
casperjs test tests
to end up with this screenshots organization...However, I end up with the screenshots taken in the second and third suites duplicated into the test1 directory.