garris / BackstopJS

Catch CSS curve balls.
http://backstopjs.org
MIT License
6.69k stars 604 forks source link

fileNameTemplate #1420

Open it-autoset opened 2 years ago

it-autoset commented 2 years ago

The default pattern in README is different, by default files start with id.

fileNameTemplate: '{scenarioIndex}_{scenarioLabel}_{selectorIndex}_{selectorLabel}_{viewportIndex}_{viewportLabel}',

How can I get id for template? For example:

fileNameTemplate: '{id}_{scenarioLabel}_{viewportLabel}',

apgsn commented 1 year ago

Try with {configId}.