garris/BackstopJS

RFC: add an instantReplay feature (built-in data mocking)

Open

#159 opened on Feb 10, 2016

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (6,510 stars) (601 forks)batch import
enhancementhelp wanted

Description

Sometimes when working with dynamic content, hiding and deleting selectors isn't enough. If we really want to test our CSS changes proper we need to use the same DOM data. Unfortunately -- it's not always easy to mock data -- especially if we are testing a production site...

I would like to propose that the gulp reference flow also capture actual DOM selector data and (as an option) re-injected that data when running gulp test

Comments welcome!

see implementation ideas in the "instantReplay" branch

Contributor guide