You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 8, 2019. It is now read-only.
But when I run the tests and those failed, the results folder is empty and all the images are localized on screenshots folder set.
For example I have a wizard test. when it failed the 'test/static/desktop/' folder has:
wizard.png
wizard.fail.png
wizard.diff.png
I expected to have on 'test/static/desktop/' folder just wizard.png and in 'logs/results/desktop/' (result option) wizard.fail.png.
Maybe I am wrong but I want to know if this is the behavior expected.
Thanks!
The text was updated successfully, but these errors were encountered:
// Copy fixtures, diffs, and failure images to the results directory// var allScreenshots = grunt.file.expand(path.join(folderpath + '/' + options.screenshots, '**.png'));varallScreenshots=grunt.file.expand(path.join(options.screenshots,'**.png'));
options.screenshots appears to already include the folderpath, while options.results does not.
Hi,
I configured the task like this:
phantomcss: { desktop: { options: { screenshots: 'test/static/desktop/', results: 'logs/results/desktop/', viewportSize: [1280, 800], rootUrl: 'http://localhost:8080/' // Optional }, src: [ 'test/phantomcss/**.js' ] } },
But when I run the tests and those failed, the results folder is empty and all the images are localized on screenshots folder set.
For example I have a wizard test. when it failed the 'test/static/desktop/' folder has:
I expected to have on 'test/static/desktop/' folder just wizard.png and in 'logs/results/desktop/' (result option) wizard.fail.png.
Maybe I am wrong but I want to know if this is the behavior expected.
Thanks!
The text was updated successfully, but these errors were encountered: