garris/BackstopJS

feature request: selctor-based link crawling

Open

#94 aperta il 22 set 2015

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (601 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (6510 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

A "crawlSelectors": [] property will be added to each scenario in the backstop.json config file. For each matching crawlSelector, a collection of matching elements will be returned. For each matching element, the original URL will be reloaded and the current element index will receive a click event. The resulting page or state will be loaded and tested inheriting all the test properties (except crawlSelctors) from the parent scenario.

This would enable rudimentary testing of various page links, pop-up and control states.

Guida contributor